*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #faf8f3;
  --bg-2: #f4f0e6;
  --bg-3: #ebe5d6;
  --ink: #1a2942;
  --ink-2: #2d3e57;
  --muted: #6b7785;
  --muted-2: #9ba5b0;
  --primary: #426c8c;
  --primary-light: #5a89ab;
  --primary-soft: #e3ebf2;
  --accent: #c89b6b;
  --line: #e8e1d3;
  --serif: 'Noto Serif JP', serif;
  --sans: 'DM Sans', 'Noto Serif JP', sans-serif;
  --mono: 'DM Mono', monospace;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
.disabled-link {
  color: var(--muted-2);
  cursor: default;
  pointer-events: none;
}

/* ─── CURSOR ─── */
#cursor-dot {
  position: fixed; top:0; left:0; z-index:9999;
  width:6px; height:6px; border-radius:50%;
  background: var(--ink);
  pointer-events:none; transform:translate(-50%,-50%);
  transition: background .2s, transform .15s, width .2s, height .2s;
}
#cursor-ring {
  position: fixed; top:0; left:0; z-index:9998;
  width:36px; height:36px; border-radius:50%;
  border:1px solid rgba(66,108,140,.5);
  pointer-events:none; transform:translate(-50%,-50%);
  transition: width .3s, height .3s, border-color .3s, background .3s;
  mix-blend-mode: multiply;
}
#cursor-ring.hover {
  width:60px; height:60px;
  border-color: var(--primary);
  background: rgba(66,108,140,.06);
}

/* ─── SPLASH ─── */
#splash {
  position:fixed; inset:0; z-index:9000;
  background: var(--bg);
  transition: opacity .8s ease;
}
#splash.fade-out { opacity:0; pointer-events:none; }
.splash-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(66,108,140,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66,108,140,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.splash-canvas { position:absolute; inset:0; }

/* ── Phase 1: Reticle logo ── */
#splash-phase-1 {
  position:absolute; inset:0; z-index:2;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  transition: opacity .5s ease, transform .5s ease;
}
#splash-phase-1.spl-out {
  opacity:0; transform:scale(1.08); pointer-events:none;
}

.spl-reticle { position:relative; width:240px; height:240px; }
.spl-svg { position:absolute; inset:0; width:100%; height:100%; }

.spl-ring-outer {
  stroke:var(--primary); stroke-width:1; fill:none;
  stroke-dasharray:654; stroke-dashoffset:654;
  animation: drawRing 1.3s cubic-bezier(.4,0,.2,1) .15s forwards;
}
.spl-ring-inner {
  stroke:var(--primary); stroke-width:.5; fill:none; opacity:.5;
  stroke-dasharray:503; stroke-dashoffset:503;
  animation: drawRing 1.1s cubic-bezier(.4,0,.2,1) .35s forwards;
}
@keyframes drawRing { to { stroke-dashoffset:0; } }

.spl-corner {
  stroke:var(--primary); stroke-width:1.5; fill:none; stroke-linecap:square;
  stroke-dasharray:90; stroke-dashoffset:90;
  animation: drawCorner .6s ease .6s forwards;
}
.spl-c2 { animation-delay:.68s; }
.spl-c3 { animation-delay:.76s; }
.spl-c4 { animation-delay:.84s; }
@keyframes drawCorner { to { stroke-dashoffset:0; } }

.spl-tick {
  stroke:var(--primary); stroke-width:1; fill:none; stroke-linecap:square; opacity:.6;
  stroke-dasharray:24; stroke-dashoffset:24;
  animation: drawTick .28s ease .96s forwards;
}
.spl-t2 { animation-delay:1.0s; }
.spl-t3 { animation-delay:1.04s; }
.spl-t4 { animation-delay:1.08s; }
@keyframes drawTick { to { stroke-dashoffset:0; } }

.spl-hline, .spl-vline {
  stroke:var(--primary); stroke-width:.5; fill:none; opacity:.18;
  stroke-dasharray:208; stroke-dashoffset:208;
  animation: drawLine .88s ease .45s forwards;
}
.spl-vline { animation-delay:.52s; }
@keyframes drawLine { to { stroke-dashoffset:0; } }

.spl-scan-wrap {
  position:absolute; inset:0; overflow:hidden;
  border-radius:50%; opacity:0;
  animation: fadeIn .1s ease .82s forwards;
}
.spl-scan {
  position:absolute; left:0; right:0; height:1px;
  background:linear-gradient(90deg,transparent,rgba(66,108,140,.55),transparent);
  animation: scanLine 1.8s cubic-bezier(.4,0,.6,1) .82s infinite;
}
@keyframes scanLine { 0%{top:0%;opacity:1;} 100%{top:100%;opacity:0;} }
@keyframes fadeIn { to { opacity:1; } }

.spl-center {
  position:absolute; inset:0;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:6px;
}
.spl-letters { display:flex; gap:1px; }
.spl-letters span {
  font-family:var(--serif); font-size:52px; font-weight:500;
  color:var(--ink); letter-spacing:.04em;
  opacity:0; display:inline-block;
  animation: glitchIn .75s ease forwards;
}
.spl-l { animation-delay:1.05s; }
.spl-r { animation-delay:1.2s; }
.spl-b { animation-delay:1.35s; }
@keyframes glitchIn {
  0%   { opacity:0; transform:translateY(-10px) scaleY(1.3); filter:blur(5px); }
  35%  { opacity:1; transform:translateY(3px) scaleY(.93); filter:blur(0); }
  60%  { transform:translateY(-1px) scaleY(1.02); }
  100% { opacity:1; transform:translateY(0) scaleY(1); filter:blur(0); }
}

.spl-tagline {
  font-family:var(--mono); font-size:10px; letter-spacing:.4em;
  color:var(--primary); white-space:nowrap;
  clip-path:inset(0 100% 0 0);
  animation: typeTag .6s steps(7,end) 1.6s forwards;
}
@keyframes typeTag { to { clip-path:inset(0 0% 0 0); } }

.spl-status {
  margin-top:28px;
  display:flex; align-items:center; gap:8px;
  font-family:var(--mono); font-size:10px; letter-spacing:.16em;
  color:var(--muted); opacity:0;
  animation: splFadeUp .4s ease .68s forwards;
}
.spl-status-dot {
  width:6px; height:6px; border-radius:50%;
  background:var(--primary);
  animation: splBlink 1s ease-in-out 1.1s infinite;
}
.spl-status.spl-ready .spl-status-text { color:var(--primary); }
@keyframes splBlink { 0%,100%{opacity:1;} 50%{opacity:.15;} }
@keyframes splFadeUp { from{opacity:0;transform:translateY(6px);} to{opacity:1;transform:translateY(0);} }

/* ── Phase 2: Terminal ── */
#splash-phase-2 {
  position:absolute; inset:0; z-index:2;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  opacity:0; transform:translateY(14px); pointer-events:none;
  transition: opacity .5s ease .1s, transform .5s ease .1s;
}
#splash-phase-2.spl-in {
  opacity:1; transform:translateY(0); pointer-events:auto;
}
#splash-terminal {
  position:relative; z-index:2;
  font-family:var(--mono); font-size:12px;
  color:var(--muted); line-height:1.9;
  width:440px; max-width:90vw;
  min-height:180px;
}
#splash-terminal .log-line { opacity:0; animation:logIn .04s forwards; }
#splash-terminal .ok { color:var(--primary); }
#splash-terminal .warn { color:var(--accent); }
@keyframes logIn { to { opacity:1; } }

.splash-logo-wrap {
  position:relative; z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:12px;
  opacity:0; transform:translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}
.splash-logo-wrap.reveal { opacity:1; transform:translateY(0); }
.splash-logo-circle {
  width:120px; height:120px; border-radius:50%;
  border:1.5px solid var(--primary);
  display:flex; align-items:center; justify-content:center;
  flex-direction:column; position:relative;
}
.splash-logo-circle::before {
  content:''; position:absolute; inset:-8px;
  border-radius:50%; border:1px solid var(--line);
  animation: ringPulse 2s ease-in-out infinite;
}
@keyframes ringPulse { 0%,100%{transform:scale(1);opacity:.8;} 50%{transform:scale(1.08);opacity:.3;} }
.splash-logo-circle .lc-1 {
  font-family:var(--serif); font-size:30px; font-weight:500;
  color:var(--ink); letter-spacing:.05em;
}
.splash-logo-circle .lc-2 {
  font-family:var(--mono); font-size:9px; letter-spacing:.3em;
  color:var(--primary); margin-top:2px;
}

/* ─── NAVBAR ─── */
#navbar {
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding: 0 48px;
  height: 72px;
  display:flex; align-items:center; justify-content:space-between;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s, height .3s;
}
#navbar.scrolled {
  background: rgba(250,248,243,.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-color: var(--line);
  height: 60px;
}
.nav-logo {
  display:inline-flex; align-items:center;
  line-height:0;
}
.nav-logo::before {
  content:none;
}
.nav-logo img {
  width: 158px;
  height: auto;
  display:block;
}
.nav-links {
  display:flex; gap:36px; list-style:none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
}
.nav-links a {
  position:relative;
  transition: color .2s;
  padding: 8px 0;
}
.nav-links a::after {
  content:''; position:absolute; left:0; bottom:0;
  width:0; height:1px; background: var(--primary);
  transition: width .3s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width:100%; }
.nav-cta {
  font-family: var(--sans); font-size: 13px;
  font-weight:500;
  padding: 11px 24px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 100px;
  transition: background .2s, transform .2s;
  display:flex; align-items:center; gap:8px;
}
.nav-cta::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(1px);
  transition: transform .2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--primary); }
.nav-cta:hover::after { transform: rotate(45deg) translate(2px, -1px); }

/* NAV DROPDOWN */
.nav-has-drop { position: relative; }
.nav-drop-arrow {
  display: inline-block;
  font-size: 9px;
  margin-left: 3px;
  transition: transform .2s ease;
  vertical-align: middle;
  line-height: 1;
}
.nav-has-drop:hover .nav-drop-arrow { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 210px;
  list-style: none;
  background: rgba(250,248,243,.98);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(26,41,66,.13);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.nav-has-drop:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li { border: none; }
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  white-space: nowrap;
  border-radius: 8px;
  transition: background .15s, color .2s;
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: var(--line); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  padding: 120px 80px 80px;
}
.hero-canvas {
  position:absolute; inset:0; z-index:0;
  display:block;
  width:100%;
  height:100%;
}
.hero-grid-overlay {
  position:absolute; inset:0; z-index:1;
  background-image:
    linear-gradient(rgba(66,108,140,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66,108,140,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.7) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.7) 0%, transparent 70%);
}

.hero-meta-corner {
  position:absolute; z-index:3;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing:.1em;
  display:flex; align-items:center; gap:8px;
}
.hero-meta-corner .dot {
  width:6px; height:6px; border-radius:50%;
  background: var(--primary);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .3; } }
.hero-meta-tl { top:96px; left:80px; opacity:0; animation: metaTLIn .7s 1.5s cubic-bezier(.16,1,.3,1) forwards; }
.hero-meta-tr { top:96px; right:80px; opacity:0; animation: metaTRIn .7s 1.58s cubic-bezier(.16,1,.3,1) forwards; }
.hero-meta-bl { bottom:40px; left:80px; opacity:0; animation: metaBLIn .7s 1.66s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes metaTLIn { from { opacity:0; transform:translate(-12px,-6px); } to { opacity:1; transform:translate(0,0); } }
@keyframes metaTRIn { from { opacity:0; transform:translate(12px,-6px); } to { opacity:1; transform:translate(0,0); } }
@keyframes metaBLIn { from { opacity:0; transform:translate(-12px,6px); } to { opacity:1; transform:translate(0,0); } }

.hero-content {
  position:relative; z-index:3;
  display:grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-right: 40px;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing:.10em;
  color: var(--primary);
  text-transform: uppercase;
  display:flex; align-items:center; gap:14px;
}
.hero-eyebrow span {
  display:inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: eyebrowReveal .8s 1.85s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes eyebrowReveal { to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow::before {
  content:''; width:32px; height:1px; background: var(--primary);
  transform: scaleX(0); transform-origin:left;
  animation: lineGrow .6s 1.7s forwards;
}
@keyframes lineGrow { to { transform: scaleX(1); } }

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing:-0.02em;
  color: var(--ink);
}
.hero-h1 .line { overflow:hidden; }
.hero-h1 .line span {
  display:block;
  transform: translateY(115%);
  animation: lineUp 1s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-h1 .line:nth-child(1) span { animation-delay: 1.85s; }
.hero-h1 .line:nth-child(2) span { animation-delay: 2s; }
.hero-h1 .line:nth-child(3) span { animation-delay: 2.15s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero-h1 .accent { color: var(--primary); font-weight: 500; font-style: italic; }
.hero-h1 .marker { 
  position: relative; display:inline-block;
}
.hero-h1 .marker::after {
  content:''; position:absolute; left:-4px; right:-4px; bottom:6%;
  height:18%; background: rgba(200,155,107,.35); z-index:-1;
  transform: scaleX(0); transform-origin:left;
  animation: markerGrow .8s 2.7s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes markerGrow { to { transform: scaleX(1); } }

.hero-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 560px;
  opacity:0; transform: translateY(16px);
  animation: fadeUp .8s 2.4s forwards;
}
@keyframes fadeUp { to { opacity:1; transform: translateY(0); } }

.hero-actions {
  display:flex; gap:24px; align-items:center; flex-wrap:wrap;
  opacity:0; animation: fadeUp .8s 2.6s forwards;
}
.btn-primary {
  font-family: var(--sans); font-size: 14px;
  font-weight: 500;
  padding: 16px 32px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 100px;
  border:none; cursor:none;
  display:inline-flex; align-items:center; gap:10px;
  transition: background .3s, transform .3s, box-shadow .3s;
  box-shadow: 0 6px 20px rgba(26,41,66,.12);
}
.btn-primary:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(66,108,140,.25);
}
.btn-primary .arrow { transition: transform .3s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  font-family: var(--sans); font-size: 14px;
  font-weight:500; color: var(--ink-2);
  padding: 16px 12px;
  display:inline-flex; align-items:center; gap:10px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); }

/* hero photo cluster on right */
.hero-photo-cluster {
  position: relative;
  width: 100%;
  height: 520px;
  z-index: 2;
  perspective: 1200px;
}
.hero-photo {
  position:absolute;
  border-radius: 4px;
  overflow:hidden;
  box-shadow: 0 20px 60px rgba(26,41,66,.18);
  background: var(--bg-2);
}
.hero-photo img {
  width:100%; height:100%; object-fit: cover;
  filter: saturate(.95);
}
.hero-photo-1 {
  width: 240px; height: 320px;
  top: 0; right: 60px;
  transform: rotate(-3deg) translateZ(20px);
  opacity:0; animation: photo1In 1.2s 2.5s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-photo-2 {
  width: 200px; height: 240px;
  bottom: 0; right: 0;
  transform: rotate(4deg) translateZ(-30px);
  opacity:0; animation: photo2In 1.2s 2.78s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-photo-3 {
  width: 140px; height: 180px;
  top: 40px; left: 0;
  transform: rotate(-6deg) translateZ(40px);
  opacity:0; animation: photo3In 1.2s 3.05s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes photo1In {
  from { opacity:0; transform: translateX(55px) translateY(20px) rotate(3deg) scale(.88); }
  to   { opacity:1; }
}
@keyframes photo2In {
  from { opacity:0; transform: translateY(65px) rotate(-1deg) scale(.86); }
  to   { opacity:1; }
}
@keyframes photo3In {
  from { opacity:0; transform: translateX(-50px) translateY(20px) rotate(2deg) scale(.9); }
  to   { opacity:1; }
}
.hero-photo-tag {
  position:absolute;
  font-family: var(--mono); font-size:10px;
  letter-spacing:.1em; color: var(--primary);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--line);
  white-space: nowrap;
  opacity:0;
}
.hpt-1 { top: 24px; left: 12px; animation: tagFromLeft .65s 3.4s cubic-bezier(.16,1,.3,1) forwards; }
.hpt-2 { bottom: 60px; right: 12px; animation: tagFromRight .65s 3.65s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes tagFromLeft  { from { opacity:0; transform:translateX(-18px); } to { opacity:1; transform:translateX(0); } }
@keyframes tagFromRight { from { opacity:0; transform:translateX(18px); } to { opacity:1; transform:translateX(0); } }

/* ─── SECTION COMMONS ─── */
section { position: relative; scroll-margin-top: 72px; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 80px; }

.section-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing:.3em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 18px;
  display:flex; align-items:center; gap:14px;
}
.section-label::before {
  content:''; width:32px; height:1px; background: var(--primary);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 56px);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing:-0.01em;
  color: var(--ink);
}
.section-title .accent { color: var(--primary); font-style: italic; font-weight: 500; }

.reveal { opacity:0; transform: translateY(44px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity:1; transform: translateY(0); }

.reveal-left { opacity:0; transform: translateX(-60px); transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1); }
.reveal-left.visible { opacity:1; transform: translateX(0); }

.reveal-right { opacity:0; transform: translateX(60px); transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1); }
.reveal-right.visible { opacity:1; transform: translateX(0); }

.reveal-scale { opacity:0; transform: scale(0.82) translateY(24px); transition: opacity 0.85s cubic-bezier(.16,1,.3,1), transform 0.85s cubic-bezier(.16,1,.3,1); }
.reveal-scale.visible { opacity:1; transform: scale(1) translateY(0); }

.reveal-rotate { opacity:0; transform: translateY(28px) rotate(-6deg) scale(0.92); transform-origin: left bottom; transition: opacity 0.95s cubic-bezier(.16,1,.3,1), transform 0.95s cubic-bezier(.16,1,.3,1); }
.reveal-rotate.visible { opacity:1; transform: translateY(0) rotate(0deg) scale(1); }

.reveal-clip { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.16,1,.3,1); }
.reveal-clip.visible { clip-path: inset(0 0% 0 0); }

.reveal-delay-1 { transition-delay:.12s; }
.reveal-delay-2 { transition-delay:.24s; }
.reveal-delay-3 { transition-delay:.36s; }
.reveal-delay-4 { transition-delay:.48s; }
.reveal-delay-5 { transition-delay:.60s; }
.reveal-delay-6 { transition-delay:.72s; }

/* ─── TICKER ─── */
.ticker-wrap {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
  position:relative;
}
.ticker-wrap::before, .ticker-wrap::after {
  content:''; position:absolute; top:0; bottom:0; width:120px; z-index:2;
  pointer-events:none;
}
.ticker-wrap::before { left:0; background: linear-gradient(to right, var(--bg), transparent); }
.ticker-wrap::after { right:0; background: linear-gradient(to left, var(--bg), transparent); }
.ticker-track {
  display:flex; gap:0;
  animation: ticker 12s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-2);
  padding: 0 32px;
  flex-shrink:0;
  display:flex; align-items:center; gap:16px;
}
.ticker-item::after {
  content:''; width:6px; height:6px; border-radius:50%;
  background: var(--primary);
  margin-left:24px;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── ABOUT ─── */
#about {
  padding: 140px 0;
  background: var(--bg);
  position:relative;
}
.about-grid {
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items:center;
}
.about-text-col {}
.about-lead {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 2;
  color: var(--ink);
  margin: 28px 0 32px;
}
.about-lead em { font-style: italic; color: var(--primary); }
.about-body {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-2);
  margin-bottom: 36px;
}
.about-quote-card {
  padding: 28px 32px;
  background: var(--bg-2);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  margin-bottom: 28px;
}
.about-quote-card p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
  font-style: italic;
}
.about-quote-card .author {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing:.15em;
  color: var(--muted);
  font-style: normal;
}

.about-photo-collage {
  position:relative;
  aspect-ratio: 1.1/1;
}
.ap {
  position:absolute;
  border-radius: 6px; overflow:hidden;
  box-shadow: 0 18px 50px rgba(26,41,66,.15);
}
.ap img { width:100%; height:100%; object-fit: cover; }
.ap-1 {
  width: 60%; height: 75%;
  top: 0; left: 0;
}
.ap-2 {
  width: 50%; height: 55%;
  bottom: 0; right: 0;
  z-index: 2;
}
.ap-3 {
  width: 30%; height: 30%;
  top: 0; right: 0;
  z-index: 1;
}
.about-stats-strip {
  position:absolute;
  bottom: -40px; left: 50%; transform: translateX(-50%);
  display:flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 14px 8px;
  box-shadow: 0 12px 40px rgba(26,41,66,.08);
  z-index: 3;
}
.about-mini-stat {
  padding: 4px 24px;
  border-right: 1px solid var(--line);
  display:flex; flex-direction:column; align-items:center;
}
.about-mini-stat:last-child { border-right:none; }
.ams-num {
  font-family: var(--serif); font-size: 22px;
  font-weight: 500; color: var(--ink); line-height:1;
}
.ams-num .unit { color: var(--primary); font-size: 13px; margin-left:2px; }
.ams-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing:.1em; color: var(--muted);
  margin-top: 4px;
}

/* ─── STATS BIG ─── */
#stats {
  padding: 80px 0 100px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position:relative;
  overflow:hidden;
}
.stats-canvas { position:absolute; inset:0; display:block; width:100%; height:100%; opacity:.6; }
.stats-grid {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  position:relative; z-index:2;
}
.stat-cell {
  background: var(--bg-2);
  padding: 40px 32px;
  text-align:center;
  transition: background .3s;
}
.stat-cell:hover { background: var(--bg); }
.stat-num-big {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  color: var(--ink); line-height: 1;
  letter-spacing:-.02em;
}
.stat-num-big .unit {
  font-size: 22px; color: var(--primary);
  margin-left: 4px;
}
.stat-label-big {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing:.15em;
  color: var(--muted);
  margin-top: 12px;
}
.stat-jp {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 6px;
}

/* ─── WORKS ─── */
#works {
  padding: 140px 0;
  background: var(--bg);
}
.works-header {
  display:flex; justify-content:space-between; align-items:flex-end;
  margin-bottom: 64px;
  gap: 40px;
}
.works-all-link {
  font-family: var(--sans); font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  display:flex; align-items:center; gap: 8px;
  transition: gap .2s;
}
.works-all-link::after { content:'→'; transition: transform .2s; }
.works-all-link:hover { gap: 14px; }

.works-grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.work-item {
  display: block;
  cursor: none;
  position:relative;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
  color: inherit;
}
.work-item:hover { transform: translateY(-8px); }
.work-thumb {
  display: block;
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow:hidden;
  position:relative;
  background: var(--bg-2);
  margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(26,41,66,.08);
}
.work-thumb img {
  width:100%; height:100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.work-item:hover .work-thumb img { transform: scale(1.06); }

.work-thumb-overlay {
  position:absolute; top: 16px; left:16px;
  background: var(--bg);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing:.1em;
  color: var(--primary);
  text-transform: uppercase;
}
.work-info {}
.work-cat {
  font-family: var(--mono); font-size: 10px;
  letter-spacing:.15em; color: var(--muted);
  margin-bottom: 8px; text-transform: uppercase;
}
.work-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 10px;
}
.work-title a {
  color: inherit;
  text-decoration: none;
}
.work-title a:hover { color: var(--primary); }
.work-meta {
  font-family: var(--sans); font-size: 13px;
  color: var(--muted);
}

/* ─── SERVICES ─── */
#services {
  padding: 140px 0;
  background: var(--bg-2);
  position:relative;
  overflow:hidden;
}
.services-bg-canvas { position:absolute; inset:0; display:block; width:100%; height:100%; opacity:.4; }
.services-header {
  text-align:center;
  max-width: 720px; margin: 0 auto 64px;
  position:relative; z-index:2;
}
.services-header .section-label { justify-content:center; }
.services-header p {
  margin-top: 20px;
  font-size: 15px; line-height:1.9;
  color: var(--ink-2);
}

.services-grid {
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position:relative; z-index:2;
}
.services-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
.service-card {
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  position:relative;
  cursor: none;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .4s, border-color .3s;
  overflow:hidden;
}
.service-card::before {
  content:''; position:absolute; right:-60px; top:-60px;
  width:160px; height:160px; border-radius:50%;
  background: radial-gradient(circle, rgba(66,108,140,.1) 0%, transparent 70%);
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26,41,66,.12);
  border-color: var(--primary);
}
.service-card:hover::before { transform: scale(1.5); }

.service-card-top {
  display:flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 28px;
}
.service-index {
  font-family: var(--mono); font-size: 11px;
  letter-spacing:.2em; color: var(--muted);
}
.service-photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow:hidden;
  border: 2px solid var(--bg);
  box-shadow: 0 4px 14px rgba(26,41,66,.15);
}
.service-photo img { width:100%; height:100%; object-fit: cover; }

.service-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--primary-soft);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 24px;
}
.service-icon-wrap svg {
  width: 24px; height: 24px;
  stroke: var(--primary); fill:none; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.service-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.4;
}
.service-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.service-tags {
  display:flex; flex-wrap:wrap; gap: 8px;
  margin-bottom: 24px;
}
.service-tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing:.08em;
  padding: 5px 12px;
  background: var(--bg-2);
  border-radius: 100px;
  color: var(--ink-2);
}
.service-link {
  font-family: var(--sans); font-size: 13px;
  font-weight: 500; color: var(--primary);
  display:inline-flex; align-items:center; gap: 6px;
  transition: gap .2s;
}
.service-link::after { content:'→'; }
.service-card:hover .service-link { gap: 12px; }

/* ─── PROCESS ─── */
#process {
  padding: 140px 0;
  background: var(--bg);
}
.process-header { text-align:center; margin-bottom: 64px; max-width:720px; margin-left:auto; margin-right:auto; }
.process-header .section-label { justify-content:center; }
.process-grid {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position:relative;
}
.process-grid::before {
  content:''; position:absolute;
  top: 40px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line) 10%, var(--line) 90%, transparent);
  z-index:1;
}
.process-step {
  text-align:center;
  padding: 0 20px;
  position:relative; z-index:2;
}
.process-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 24px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  position:relative;
  transition: background .3s, color .3s, border-color .3s;
}
.process-step:hover .process-num {
  background: var(--primary); color: var(--bg);
  border-color: var(--primary);
}
.process-num::before {
  content:''; position:absolute; inset:-8px;
  border-radius: 50%;
  border: 1px dashed var(--line);
  opacity: 0; transition: opacity .3s;
}
.process-step:hover .process-num::before { opacity: 1; }
.process-step h4 {
  font-family: var(--serif); font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}
.process-step p {
  font-size: 13px; line-height: 1.9;
  color: var(--muted);
}

/* ─── PRICING ─── */
#pricing {
  padding: 140px 0;
  background: var(--bg-2);
}
.pricing-header { text-align:center; margin-bottom: 60px; }
.pricing-header .section-label { justify-content:center; }
.pricing-header p {
  margin-top: 20px;
  font-size: 14px; color: var(--muted);
}
.pricing-grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  padding: 44px 36px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  position:relative;
  transition: transform .4s, box-shadow .4s, border-color .3s;
  display:flex; flex-direction:column;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,41,66,.1);
}
.pricing-card.featured {
  background: var(--ink);
  border-color: var(--ink);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-card.featured .pricing-plan-name { color: var(--primary-light); }
.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-features li,
.pricing-card.featured .pricing-period-jp { color: var(--bg); }
.pricing-card.featured .pricing-period { color: var(--muted-2); }
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,.12); }
.pricing-card.featured .pricing-features li { border-color: rgba(255,255,255,.08); }
.pricing-badge {
  position:absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .15em;
  padding: 6px 16px;
  background: var(--accent); color: var(--bg);
  border-radius: 100px;
}
.pricing-plan-name {
  font-family: var(--mono); font-size: 11px;
  letter-spacing:.2em; color: var(--primary);
  margin-bottom: 16px;
}
.pricing-price {
  font-family: var(--serif); font-size: 42px;
  font-weight: 500; color: var(--ink);
  line-height: 1;
  display:flex; align-items: baseline; gap: 4px;
}
.pricing-price .yen { font-size: 22px; }
.pricing-period {
  font-family: var(--sans); font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.pricing-period-jp {
  font-family: var(--serif); font-size: 14px;
  color: var(--ink-2);
  margin-top: 4px;
}
.pricing-divider { height: 1px; background: var(--line); margin: 28px 0; }
.pricing-features { list-style:none; flex-grow: 1; }
.pricing-features li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display:flex; align-items: center; gap: 10px;
  line-height: 1.5;
}
.pricing-features li svg {
  width: 16px; height: 16px;
  stroke: var(--primary); fill: none;
  stroke-width: 2; flex-shrink:0;
}
.pricing-cta {
  font-family: var(--sans); font-size: 13px;
  font-weight: 500;
  width: 100%; padding: 14px;
  border: 1px solid var(--ink);
  color: var(--ink); background: transparent;
  border-radius: 100px;
  cursor: none; text-align:center;
  margin-top: 28px;
  transition: background .2s, color .2s;
  display:block;
}
.pricing-cta:hover {
  background: var(--ink); color: var(--bg);
}
.pricing-card.featured .pricing-cta {
  background: var(--bg); color: var(--ink);
  border-color: var(--bg);
}
.pricing-card.featured .pricing-cta:hover {
  background: var(--primary); color: var(--bg);
  border-color: var(--primary);
}

/* ─── TESTIMONIAL ─── */
#testimonial {
  padding: 100px 0;
  background: var(--bg);
  position:relative;
}
.testi-grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  padding: 32px;
  background: var(--bg-2);
  border-radius: 8px;
  position:relative;
}
.testi-quote-mark {
  font-family: var(--serif); font-size: 64px;
  color: var(--primary);
  line-height: 1;
  position:absolute; top: 20px; right: 28px;
  opacity: .3;
}
.testi-card p {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2;
  color: var(--ink);
  margin-bottom: 24px;
  position:relative; z-index:2;
}
.testi-author {
  display:flex; align-items:center; gap: 14px;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow:hidden;
  background: var(--bg-3);
}
.testi-avatar img { width:100%; height:100%; object-fit:cover; }
.testi-meta .name {
  font-size: 13px; font-weight: 500;
  color: var(--ink);
}
.testi-meta .role {
  font-family: var(--mono); font-size: 10px;
  letter-spacing:.1em; color: var(--muted);
  margin-top: 2px;
}

/* ─── FAQ ─── */
#faq {
  padding: 140px 0;
  background: var(--bg-2);
}
.faq-grid {
  display:grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
.faq-left {}
.faq-helper {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-2);
  margin-top: 24px;
}
.faq-helper a {
  color: var(--primary); border-bottom: 1px solid var(--primary);
}
.faq-list { margin-top: 4px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  overflow:hidden;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  width:100%; background:none; border:none;
  padding: 24px 0;
  display:flex; justify-content:space-between; align-items:center;
  cursor: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  text-align:left;
  gap: 16px;
  transition: color .2s;
}
.faq-question:hover { color: var(--primary); }
.faq-toggle {
  width: 32px; height: 32px; flex-shrink:0;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  transition: background .3s, transform .4s, border-color .3s;
  font-family: var(--mono); font-size: 16px;
  color: var(--primary);
}
.faq-item.open .faq-toggle {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0; overflow:hidden;
  transition: max-height .5s cubic-bezier(.16,1,.3,1);
}
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer-inner {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-2);
  padding-bottom: 24px;
  padding-right: 48px;
}

/* ─── BLOG ─── */
#blog {
  padding: 140px 0;
  background: var(--bg);
  position: relative;
}
.blog-header {
  display:flex; justify-content:space-between; align-items:flex-end;
  margin-bottom: 60px; gap: 40px;
}
.blog-grid {
  display:grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}
.blog-card {
  cursor: none;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.blog-card:hover { transform: translateY(-6px); }
.blog-card.reveal-scale {
  opacity: 0;
  transform: none;
  transition: opacity 0.85s cubic-bezier(.16,1,.3,1);
}
.blog-card.reveal-scale.visible {
  opacity: 1;
}
.blog-thumb {
  display: block;
  aspect-ratio: 16/10;
  border-radius: 6px;
  overflow:hidden;
  margin-bottom: 18px;
  background: var(--bg-2);
  box-shadow: 0 10px 30px rgba(26,41,66,.08);
}
.blog-thumb img {
  width:100%; height:100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-meta-row {
  display:flex; align-items:center; gap: 14px;
  margin-bottom: 12px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing:.15em; color: var(--muted);
}
.blog-cat {
  padding: 4px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 100px;
}
.blog-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 12px;
}
.blog-card:first-child .blog-title { font-size: 26px; }
.blog-excerpt {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.blog-card:first-child .blog-excerpt { font-size: 14px; }

/* ─── CTA STRIP ─── */
#cta-strip {
  padding: 100px 0;
  background: var(--ink);
  position:relative;
  overflow:hidden;
}
.cta-strip-canvas { position:absolute; inset:0; display:block; width:100%; height:100%; opacity:.6; }
.cta-strip-content {
  position:relative; z-index:2;
  text-align:center;
  max-width: 720px; margin: 0 auto;
}
.cta-strip-content .section-label {
  color: var(--primary-light);
  justify-content:center;
}
.cta-strip-content .section-label::before { background: var(--primary-light); }
.cta-strip-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--bg);
  margin: 18px 0 32px;
}
.cta-strip-title .accent { color: var(--primary-light); font-style: italic; }
.cta-strip-content .btn-primary {
  background: var(--bg); color: var(--ink);
}
.cta-strip-content .btn-primary:hover {
  background: var(--primary-light); color: var(--bg);
}

/* ─── CONTACT ─── */
#contact {
  padding: 140px 0;
  background: var(--bg-2);
}
.contact-grid {
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-tagline {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  margin: 20px 0 32px;
}
.contact-tagline .accent { color: var(--primary); font-style: italic; }
.contact-info { display:flex; flex-direction:column; gap: 18px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact-info-item {
  display:flex; gap: 20px; align-items: flex-start;
}
.ci-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.ci-icon svg {
  width: 18px; height: 18px;
  stroke: var(--primary); fill:none; stroke-width: 1.5;
}
.ci-meta .ci-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing:.15em; color: var(--muted);
  margin-bottom: 4px;
}
.ci-meta .ci-value {
  font-family: var(--sans); font-size: 14px;
  color: var(--ink); line-height: 1.7;
}

.contact-form {
  background: var(--bg);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display:flex; flex-direction:column; gap: 18px;
}
.form-group { display:flex; flex-direction:column; gap: 8px; }
.form-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing:.15em; color: var(--muted);
  text-transform: uppercase;
}
.form-label .req { color: var(--accent); }
.form-input, .form-textarea, .form-select {
  background: var(--bg-2);
  border: 1px solid transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  padding: 14px 16px;
  outline: none;
  border-radius: 6px;
  transition: border-color .2s, background .2s;
  width:100%;
  cursor: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  background: var(--bg);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-select { appearance:none; cursor: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236b7785' d='M6 8L0 0h12z'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  font-family: var(--sans); font-size: 14px;
  font-weight: 500;
  padding: 16px 32px;
  background: var(--ink); color: var(--bg);
  border: none; cursor: none;
  border-radius: 100px;
  transition: background .2s;
  display:inline-flex; align-items:center; justify-content:center;
  gap: 10px;
  margin-top: 8px;
}
.form-submit:hover { background: var(--primary); }

/* ─── FOOTER ─── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 60px 80px 40px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo img { width: 178px; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--mono); font-size: 10px;
  letter-spacing:.2em; color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap: 10px; }
.footer-col li a {
  font-size: 13px;
  color: var(--ink-2);
  transition: color .2s;
}
.footer-col li a:hover { color: var(--primary); }
.footer-col li a.disabled-link,
.footer-col li a.disabled-link:hover {
  color: var(--muted-2);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display:flex; justify-content:space-between; align-items:center;
  font-family: var(--mono); font-size: 11px;
  color: var(--muted);
  letter-spacing:.05em;
}

/* ─── NEWS SINGLE ─── */
.article-header {
  padding: 180px 0 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.article-breadcrumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-2);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.article-breadcrumb a { color: var(--ink-2); }
.article-breadcrumb a:hover { color: var(--primary); }
.article-breadcrumb span { opacity: .4; }
.article-cats { margin-bottom: 16px; }
.article-h1 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px;
}
.article-meta-row {
  display: flex;
  gap: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--ink-2);
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  padding: 64px 0 80px;
  align-items: start;
}
.article-eyecatch {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16 / 8;
}
.article-eyecatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-content {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 2;
  color: var(--ink);
}
.article-content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 48px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
  line-height: 1.6;
}
.article-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 32px 0 12px;
}
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
.article-content li { margin-bottom: 8px; }
.article-highlight-box {
  background: color-mix(in srgb, var(--primary) 6%, transparent);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.article-highlight-box p { margin: 0; }
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.article-tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.article-tag:hover { border-color: var(--primary); color: var(--primary); }
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
  margin-top: 48px;
}
.article-nav-link {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s;
  display: block;
  min-width: 0;
  overflow: hidden;
}
.article-nav-link:hover { border-color: var(--primary); }
.article-nav-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--ink-2);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.article-nav-title {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-nav-link--next { text-align: right; }

/* Sidebar */
.article-aside { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 88px; }
.aside-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.aside-card-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.related-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.related-item:last-child { border-bottom: none; }
.related-thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-info { flex: 1; min-width: 0; }
.related-cat { font-family: var(--mono); font-size: 10px; color: var(--primary); letter-spacing: .04em; }
.related-title { font-size: 13px; line-height: 1.5; color: var(--ink); margin-top: 4px; }
.cat-link-list { display: flex; flex-direction: column; gap: 0; }
.cat-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
  transition: color .2s;
}
.cat-link-item:last-child { border-bottom: none; }
.cat-link-item:hover { color: var(--primary); }
.cat-link-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
}

/* ─── WORKS SINGLE ─── */
.works-single-hero {
  position: relative;
  height: 540px;
  overflow: hidden;
  margin-top: 72px;
}
.works-single-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.works-single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,41,66,.88) 0%, rgba(26,41,66,.15) 55%);
}
.works-single-hero-inner {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 80px;
}
.works-single-back {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 32px 80px;
}
.works-single-back-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.works-single-back-link:hover { color: #fff; }
.works-single-cat {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.works-single-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.3;
}
.works-single-subtitle { font-size: 1rem; color: rgba(255,255,255,.7); margin-top: 10px; }

.works-overview-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
  padding: 80px 0;
}
.works-overview-text h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 20px;
  line-height: 1.4;
}
.works-overview-text p { font-size: 1rem; line-height: 1.9; color: var(--ink); margin-bottom: 16px; }
.works-detail-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: var(--bg);
}
.works-detail-card dl { display: grid; grid-template-columns: auto 1fr; gap: 16px 24px; }
.works-detail-card dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-2);
  padding-top: 2px;
  white-space: nowrap;
}
.works-detail-card dd { font-size: 14px; color: var(--ink); line-height: 1.5; }
.works-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.works-point {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.works-point-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.works-point h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.works-point p { font-size: 13px; line-height: 1.7; color: var(--ink-2); margin: 0; }
.works-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.works-gallery-img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.works-gallery-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.works-gallery-img--wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.works-result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.works-result-stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}
.works-result-num {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 300;
  color: var(--primary);
  line-height: 1;
}
.works-result-label { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.works-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.works-more-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s;
}
.works-more-item:hover { border-color: var(--primary); }
.works-more-thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.works-more-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.works-more-item:hover .works-more-thumb img { transform: scale(1.04); }
.works-more-info { padding: 16px; }
.works-more-cat { font-family: var(--mono); font-size: 10px; color: var(--primary); letter-spacing: .04em; }
.works-more-title { font-size: 14px; color: var(--ink); margin-top: 4px; font-weight: 500; }

/* ─── 404 ─── */
.error-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 0 80px;
}
.error-num {
  font-family: var(--mono);
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 300;
  color: var(--line);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 24px;
}
.error-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--ink);
  margin-bottom: 16px;
}
.error-lead { color: var(--ink-2); font-size: 1rem; margin-bottom: 48px; }
.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.btn-outline {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  color: var(--ink);
  transition: border-color .2s, color .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.error-links-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-2);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.error-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.error-link-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  display: block;
  transition: border-color .2s;
}
.error-link-item:hover { border-color: var(--primary); }
.error-link-label { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 4px; }
.error-link-title { font-size: 13px; color: var(--ink); }

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

/* ─── RESPONSIVE NAV & LAYOUT POLISH ─── */
.nav-toggle,
.nav-mobile-only {
  display: none;
}
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(250,248,243,.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  position: relative;
  z-index: 130;
}
.nav-toggle span {
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
body.nav-open {
  overflow: hidden;
}
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
body.nav-open nav {
  background: rgba(250,248,243,.96);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

@media (max-width: 1100px) {
  #navbar {
    padding: 0 32px;
  }
  .nav-links {
    gap: 22px;
    font-size: 13px;
  }
  #hero {
    padding-left: 48px;
    padding-right: 48px;
    grid-template-columns: 1fr;
  }
  .section-inner {
    padding: 0 48px;
  }
  .about-grid,
  .contact-grid {
    gap: 56px;
  }
  .services-grid,
  .works-grid,
  .pricing-grid,
  .testi-grid {
    gap: 20px;
  }
  .services-grid--3col { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card:first-child { grid-column: span 2; }
  .hero-content { padding-right: 0; }
  .hero-photo-cluster { height: 320px; max-width: 600px; margin: 0 auto; }
}

@media (max-width: 900px) {
  /* layout: stack grids to single column */
  .about-grid, .faq-grid, .contact-grid, .works-grid, .services-grid, .services-grid--3col, .pricing-grid, .testi-grid, .blog-grid { grid-template-columns: 1fr; }
  .stats-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .blog-card:first-child { grid-column: auto; }
  .pricing-card.featured { transform: none; }
  .hero-meta-tr, .hero-meta-bl { display: none; }
  #navbar {
    height: 68px;
    padding: 0 24px;
  }
  #navbar.scrolled {
    height: 62px;
  }
  .nav-logo img {
    width: 138px;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-mobile-only {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    background: rgba(250,248,243,.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(26,41,66,.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(.98);
    transform-origin: top center;
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  }
  body.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .nav-links li {
    border-bottom: 1px solid var(--line);
  }
  .nav-links li:last-child {
    border-bottom: 0;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 6px;
    font-size: 15px;
    color: var(--ink);
  }
  .nav-links a::after {
    content: '→';
    position: static;
    width: auto;
    height: auto;
    background: none;
    color: var(--primary);
    font-family: var(--mono);
    transform: none;
    flex-shrink: 0;
  }
  .nav-links a:hover::after { width: auto; }
  .nav-drop-arrow { display: none; }
  .nav-has-drop:hover .nav-dropdown {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-has-drop:hover .nav-drop-arrow { transform: none; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 0;
    min-width: 0;
  }
  .nav-dropdown li {
    border-bottom: 1px solid var(--line);
  }
  .nav-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px 0 22px;
    font-size: 14px;
    min-height: 46px;
    color: var(--ink-2);
    border-radius: 0;
    white-space: normal;
  }
  .nav-dropdown a::after {
    display: block;
    content: '→';
    position: static;
    width: auto;
    height: auto;
    background: none;
    color: var(--primary);
    font-family: var(--mono);
    font-size: 13px;
  }
  .nav-dropdown a:hover { background: none; }
  #hero {
    min-height: auto;
    padding: 112px 24px 72px;
    align-items: flex-start;
  }
  .hero-content {
    max-width: 680px;
    gap: 24px;
  }
  .hero-meta-tl {
    top: 82px;
    left: 24px;
    max-width: calc(100vw - 48px);
    font-size: 9px;
  }
  .hero-desc {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.9;
  }
  .hero-desc br {
    display: none;
  }
  .hero-actions {
    gap: 12px;
  }
  .btn-primary,
  .btn-ghost {
    min-height: 48px;
  }
  #about,
  #works,
  #services,
  #process,
  #pricing,
  #faq,
  #blog,
  #contact {
    padding: 96px 0;
  }
  #testimonial,
  #cta-strip {
    padding: 80px 0;
  }
  .section-inner {
    padding: 0 24px;
  }
  .works-header,
  .blog-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 40px;
  }
  .services-header,
  .process-header,
  .pricing-header {
    margin-bottom: 42px;
  }
  .service-card,
  .pricing-card,
  .testi-card,
  .contact-form {
    border-radius: 10px;
  }
  .service-card,
  .pricing-card,
  .contact-form {
    padding: 28px;
  }
  .process-grid::before {
    display: none;
  }
  .process-step {
    padding: 0 8px 28px;
  }
  .about-photo-collage {
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: auto;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .ap {
    position: relative;
    width: auto;
    height: 160px;
    top: auto; left: auto; bottom: auto; right: auto;
  }
  .ap-1 {
    grid-column: 1 / -1;
    height: 200px;
  }
  .ap-2 {
    bottom: auto;
    top: auto;
    z-index: auto;
  }
  .ap-3 {
    z-index: auto;
  }
  .about-stats-strip {
    grid-column: 1 / -1;
    position: static;
    transform: none;
    bottom: auto;
    left: auto;
    margin-top: 0;
    width: 100%;
    justify-content: space-around;
    border-radius: 14px;
    flex-wrap: nowrap;
    padding: 12px 4px;
  }
  .about-mini-stat {
    flex: 1;
    min-width: 0;
    padding: 6px 10px;
  }
  .faq-answer-inner {
    padding-right: 0;
  }
  footer {
    padding: 56px 24px 32px;
  }
  /* news/works single – 900px */
  .article-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .article-header { padding-top: 156px; padding-left: 24px; padding-right: 24px; }
  .article-aside { position: static; }
  .article-nav { grid-template-columns: 1fr; }
  .works-single-hero { height: 400px; }
  .works-single-hero-inner,
  .works-single-back { padding-left: 32px; padding-right: 32px; }
  .works-overview-grid { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .works-points { grid-template-columns: 1fr 1fr; }
  .works-result-stats { grid-template-columns: 1fr 1fr; }
  .works-more-grid { grid-template-columns: 1fr 1fr; }
  .error-links-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  #navbar {
    padding: 0 18px;
  }
  .nav-links {
    left: 12px;
    right: 12px;
    top: 72px;
    border-radius: 12px;
  }
  .nav-logo img {
    width: 126px;
  }
  #hero {
    padding: 108px 18px 60px;
  }
  .hero-meta-tl {
    display: none;
  }
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: .16em;
  }
  .hero-h1 {
    font-size: clamp(34px, 11vw, 52px);
    line-height: 1.24;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary,
  .btn-ghost,
  .pricing-cta,
  .form-submit {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  #about,
  #works,
  #services,
  #process,
  #pricing,
  #faq,
  #blog,
  #contact {
    padding: 76px 0;
  }
  .section-inner {
    padding: 0 18px;
  }
  .section-title {
    font-size: clamp(28px, 9vw, 40px);
  }
  .about-grid,
  .faq-grid,
  .contact-grid {
    gap: 40px;
  }
  .stats-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .stat-cell {
    padding: 32px 20px;
  }
  .works-grid,
  .services-grid,
  .pricing-grid,
  .testi-grid,
  .blog-grid {
    gap: 28px;
  }
  .service-card,
  .pricing-card,
  .testi-card,
  .contact-form {
    padding: 24px;
  }
  .service-card-top {
    gap: 16px;
  }
  .service-title {
    font-size: 21px;
  }
  .pricing-price {
    font-size: 38px;
  }
  .faq-question {
    font-size: 15px;
    line-height: 1.6;
  }
  .blog-meta-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .blog-card:first-child .blog-title {
    font-size: 22px;
  }
  .contact-info-item {
    gap: 14px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
  }
}

@media (max-width: 420px) {
  .about-stats-strip {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .about-mini-stat {
    min-width: 50%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .about-mini-stat:last-child {
    border-bottom: 0;
  }
  .ticker-item {
    font-size: 15px;
    padding: 0 22px;
  }
}

@media (pointer: coarse) {
  body, a, button, input, select, textarea, .form-submit, .form-input, .form-textarea, .form-select, .nav-toggle {
    cursor: auto;
  }
  #cursor-dot, #cursor-ring { display: none; }
}

/* ─── HERO VIEWPORT FIT ─── */
#hero {
  min-height: 100svh;
  padding-top: clamp(92px, 12vh, 116px);
  padding-bottom: clamp(36px, 7vh, 64px);
}
.hero-content {
  gap: clamp(20px, 3.2vh, 32px);
}
.hero-photo-cluster {
  height: clamp(440px, 48vw, 560px);
}
.hero-photo-1 {
  width: 63%;
  height: 66%;
}
.hero-photo-2 {
  width: 53%;
  height: 50%;
}
.hero-photo-3 {
  width: 37%;
  height: 38%;
}

@media (max-width: 900px) {
  #hero {
    min-height: 100svh;
    padding-top: 92px;
    padding-bottom: 48px;
  }
  .hero-content {
    gap: 20px;
  }
  .hero-photo-cluster {
    height: 280px;
  }
  .hero-h1 {
    font-size: clamp(32px, 7.5vw, 52px);
    line-height: 1.22;
  }
  .hero-desc {
    font-size: 14px;
    line-height: 1.8;
    max-width: 100%;
  }
  .hero-actions {
    gap: 12px;
  }
  .btn-primary,
  .btn-ghost {
    padding-top: 13px;
    padding-bottom: 13px;
  }
}

@media (max-width: 640px) {
  .hero-canvas {
    opacity: 0.25;
  }
  #hero {
    padding-top: 86px;
    padding-bottom: 36px;
  }
  .hero-content {
    gap: 16px;
  }
  .hero-photo-cluster {
    height: 240px;
  }
  .hero-photo-1 {
    right: 30px;
  }
  .hero-eyebrow {
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: .08em;
    white-space: normal;
  }
  .hero-h1 {
    font-size: clamp(28px, 8.4vw, 42px);
    line-height: 1.26;
  }
  .hero-desc {
    font-size: 13.5px;
    line-height: 1.75;
  }
  .btn-primary,
  .btn-ghost {
    min-height: 46px;
    padding: 12px 22px;
  }
  /* news/works single – 640px */
  .works-single-hero { height: 300px; }
  .works-single-hero-inner,
  .works-single-back { padding-left: 20px; padding-right: 20px; }
  .works-gallery { grid-template-columns: 1fr; }
  .works-gallery-img--wide { aspect-ratio: 16 / 10; }
  .works-points { grid-template-columns: 1fr; }
  .works-result-stats { grid-template-columns: 1fr; }
  .works-more-grid { grid-template-columns: 1fr; }
  .error-links-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .hero-h1 {
    font-size: clamp(25px, 7.5vw, 32px);
  }
}

@media (max-height: 720px) and (max-width: 900px) {
  #hero {
    align-items: flex-start;
    padding-top: 82px;
    padding-bottom: 24px;
  }
  .hero-content {
    gap: 13px;
  }
  .hero-eyebrow {
    font-size: 9px;
  }
  .hero-h1 {
    font-size: clamp(27px, 7.6vw, 40px);
  }
  .hero-desc {
    font-size: 13px;
    line-height: 1.65;
  }
  .hero-actions {
    gap: 8px;
  }
}

/* ─── CONTACT TEASER (index.html) ─── */
#contact {
  padding: 100px 0;
  background: var(--bg-2);
}
.contact-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-teaser-left .contact-tagline {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin: 16px 0 20px;
}
.contact-teaser-left .contact-tagline .accent { color: var(--primary); font-style: italic; font-weight: 500; }
.contact-teaser-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
  max-width: 460px;
  margin-bottom: 32px;
}
.contact-teaser-actions {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}

.contact-teaser-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-teaser-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color .25s, box-shadow .25s, transform .25s cubic-bezier(.16,1,.3,1);
}
a.contact-teaser-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(66,108,140,.12);
  transform: translateY(-2px);
}
.contact-teaser-card--accent {
  background: var(--ink);
  border-color: var(--ink);
}
.contact-teaser-card--accent .ctc-label,
.contact-teaser-card--accent .ctc-value,
.contact-teaser-card--accent .ctc-arrow,
.contact-teaser-card--accent .ctc-icon svg {
  color: var(--bg);
  stroke: var(--bg);
}
.contact-teaser-card--accent:hover {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 8px 28px rgba(66,108,140,.25);
}
.ctc-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ctc-icon svg { width: 22px; height: 22px; stroke: var(--primary); }
.ctc-body { flex: 1; }
.ctc-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .15em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 4px;
}
.ctc-value {
  font-size: 14px; font-weight: 500;
  color: var(--ink); line-height: 1.5;
}
.ctc-value small { font-weight: 400; color: var(--muted); font-size: 12px; }
.ctc-arrow {
  font-family: var(--mono); font-size: 16px;
  color: var(--primary); flex-shrink: 0;
  transition: transform .2s;
}
a.contact-teaser-card:hover .ctc-arrow { transform: translateX(4px); }
@media (max-width: 900px) {
  .contact-teaser { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .contact-teaser-actions { flex-direction: column; align-items: stretch; }
  .contact-teaser-actions .btn-primary,
  .contact-teaser-actions .btn-ghost { justify-content: center; }
  .contact-teaser-card { padding: 18px 20px; }
}

/* ─── INNER PAGE HERO ─── */
.page-hero {
  min-height: 56vh;
  min-height: 56svh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
  padding: clamp(100px, 14vh, 140px) 80px clamp(48px, 7vh, 80px);
  background: var(--bg);
}
.page-hero canvas {
  position: absolute; inset: 0; z-index: 0;
  display: block; width: 100%; height: 100%;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(66,108,140,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66,108,140,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 30% 50%, rgba(0,0,0,.6) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, rgba(0,0,0,.6) 0%, transparent 70%);
}
.page-hero-inner {
  position: relative; z-index: 3;
  max-width: none;
}
.page-hero-eyecatch {
  position: relative; z-index: 3;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-height: 420px;
  box-shadow:
    0 24px 64px rgba(26,41,66,.13),
    0 4px 16px rgba(26,41,66,.06);
}
.page-hero-eyecatch img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.page-hero-eyecatch:hover img { transform: scale(1.03); }
.page-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; color: var(--muted);
  margin-bottom: 28px;
  transition: color .2s;
}
.page-back-link:hover { color: var(--primary); }
.page-back-link::before { content: '←'; }
.page-hero-eyebrow {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .10em; color: var(--primary);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.page-hero-eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--primary);
}
.page-hero-h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 400; line-height: 1.25;
  letter-spacing: -.02em; color: var(--ink);
  margin-bottom: 20px;
}
.page-hero-h1 .accent { color: var(--primary); font-style: italic; font-weight: 500; }
.page-hero-lead {
  font-size: 15px; line-height: 1.9;
  color: var(--ink-2); max-width: 600px;
  margin-bottom: 32px;
}
.page-hero-actions {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
@media (max-width: 900px) {
  .page-hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 24px;
    padding-right: 24px;
  }
  .page-hero-eyecatch {
    max-height: 280px;
    border-radius: 12px;
    margin-top: 36px;
  }
}
@media (max-width: 640px) {
  .page-hero { min-height: auto; padding-top: 88px; padding-bottom: 40px; }
  .page-hero canvas { opacity: 0.25; }
  .page-hero-h1 { font-size: clamp(28px, 8vw, 40px); }
  .page-hero-actions { flex-direction: column; align-items: stretch; }
  .page-hero-actions .btn-primary,
  .page-hero-actions .btn-ghost { justify-content: center; }
  .page-hero-eyecatch { max-height: 200px; border-radius: 8px; }
  .article-header { padding-top: 120px; }
  .article-breadcrumb { flex-wrap: nowrap; overflow: hidden; gap: 8px; }
}

/* ─── NEWS LIST (archive) ─── */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.news-item:first-child { border-top: 1px solid var(--line); }
.news-item:hover { transform: translateX(4px); }
.news-item-thumb {
  display: block;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-2);
}
.news-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.news-item:hover .news-item-thumb img { transform: scale(1.04); }
.news-item-body { padding: 4px 0; }
.news-item-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.news-item-meta time { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.news-item-title {
  font-size: 18px; font-weight: 500; color: var(--ink);
  line-height: 1.55; margin-bottom: 10px;
}
.news-item-title a { color: inherit; text-decoration: none; }
.news-item-title a:hover { color: var(--primary); }
.news-item-excerpt { font-size: 13px; line-height: 1.9; color: var(--muted); margin-bottom: 14px; }
.news-item-more { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--primary); }
@media (max-width: 768px) {
  .news-item { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .news-item-thumb { aspect-ratio: 16/9; }
  .news-item-title { font-size: 16px; }
}
@media (max-width: 480px) {
  .news-item { padding: 22px 0; }
  .news-item-title { font-size: 15px; }
}

/* ─── LEGAL / DOCUMENT PAGES ─── */
.doc-body {
  padding: 80px 0 120px;
  background: var(--bg);
}
.doc-content {
  max-width: 820px;
  margin: 0 auto;
}
.doc-updated {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .10em;
  color: var(--muted);
  margin-bottom: 52px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.doc-section {
  margin-bottom: 52px;
}
.doc-section-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--primary);
  margin-bottom: 8px;
}
.doc-h2 {
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.doc-p {
  font-size: 14px;
  line-height: 2.1;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.doc-p:last-child { margin-bottom: 0; }
.doc-list {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-2);
  padding-left: 20px;
  margin-bottom: 14px;
}
.doc-list li { margin-bottom: 4px; }
.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.9;
}
.doc-table th,
.doc-table td {
  padding: 14px 20px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.doc-table th {
  width: 200px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  font-weight: 400;
  color: var(--muted);
  background: var(--bg-2);
  white-space: nowrap;
}
.doc-table td { color: var(--ink-2); }
.doc-contact-box {
  margin-top: 52px;
  padding: 32px 40px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.doc-contact-box .section-label { margin-bottom: 16px; }
.doc-contact-box p {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.doc-contact-box a { color: var(--primary); }
@media (max-width: 640px) {
  .doc-body { padding: 48px 0 80px; }
  .doc-contact-box { padding: 24px 20px; }
  .doc-table,
  .doc-table tbody,
  .doc-table tr,
  .doc-table th,
  .doc-table td {
    display: block;
    width: 100%;
  }
  .doc-table th {
    white-space: normal;
    border-bottom: none;
    padding-bottom: 6px;
  }
  .doc-table td {
    border-top: none;
    padding-top: 6px;
    padding-bottom: 14px;
  }
  .doc-table tr + tr th { border-top: 1px solid var(--line); }
}

/* ─── SPLASH REVISIT SKIP ─── */
html.splash-seen #splash {
  display: none;
}
html.splash-seen .hero-eyebrow span,
html.splash-seen .hero-eyebrow::before,
html.splash-seen .hero-h1 .line span,
html.splash-seen .hero-h1 .marker::after,
html.splash-seen .hero-desc,
html.splash-seen .hero-actions,
html.splash-seen .hero-photo,
html.splash-seen .hero-photo-tag,
html.splash-seen .hero-meta-tl,
html.splash-seen .hero-meta-tr,
html.splash-seen .hero-meta-bl {
  animation-delay: 0s !important;
}

/* ─── JINZAI PAGE HERO ─── */
#jinzai-hero {
  min-height: 60vh;
  min-height: 60svh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
  padding: clamp(100px, 14vh, 140px) 80px clamp(48px, 7vh, 80px);
  background: var(--bg);
}
.jinzai-hero-inner { position: relative; z-index: 3; max-width: none; }
.jinzai-hero-eyecatch {
  position: relative; z-index: 3;
  border-radius: 20px; overflow: hidden;
  aspect-ratio: 4 / 3; max-height: 420px;
  box-shadow: 0 24px 64px rgba(26,41,66,.13), 0 4px 16px rgba(26,41,66,.06);
}
.jinzai-hero-eyecatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jinzai-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--muted); margin-bottom: 32px; transition: color .2s;
}
.jinzai-back-link:hover { color: var(--primary); }
.jinzai-back-link::before { content: '←'; }
.jinzai-hero-inner .hero-eyebrow { margin-bottom: 20px; }
.jinzai-hero-inner .hero-eyebrow span { opacity: 1; transform: none; animation: none; }
.jinzai-hero-inner .hero-eyebrow::before { transform: scaleX(1); animation: none; }
.jinzai-h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 400; line-height: 1.25; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 24px;
}
.jinzai-h1 .accent { color: var(--primary); font-style: italic; font-weight: 500; }
.jinzai-lead { font-size: 15px; line-height: 1.9; color: var(--ink-2); max-width: 600px; margin-bottom: 32px; }
.jinzai-hero-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
@media (max-width: 900px) {
  #jinzai-hero { grid-template-columns: 1fr; gap: 0; padding-left: 24px; padding-right: 24px; }
  .jinzai-hero-eyecatch { max-height: 280px; border-radius: 12px; margin-top: 36px; }
}
@media (max-width: 640px) {
  #jinzai-hero { min-height: auto; padding-top: 88px; }
  #jinzai-hero canvas { opacity: 0.25; }
  .jinzai-h1 { font-size: clamp(28px, 8vw, 40px); }
  .jinzai-hero-eyecatch { max-height: 200px; border-radius: 8px; }
  .jinzai-hero-actions { flex-direction: column; align-items: stretch; }
  .jinzai-hero-actions .btn-primary,
  .jinzai-hero-actions .btn-ghost { justify-content: center; }
}

/* ─── WORDPRESS-SPECIFIC ADDITIONS ─── */

/* Page hero short variant (404, privacy, tokushoho) */
.page-hero--short { min-height: 40vh; min-height: 40svh; grid-template-columns: 1fr; }
.page-hero--short .page-hero-inner { max-width: 860px; }

/* Default page content */
.page-content-section { padding: 80px 0; background: var(--bg); }
.prose-content {
  max-width: 760px; margin: 0 auto;
  font-size: 16px; line-height: 1.9; color: var(--ink-2);
}
.prose-content h2 { font-family: var(--serif); font-size: clamp(1.3rem,2.5vw,1.7rem); font-weight: 400; color: var(--ink); margin: 48px 0 16px; }
.prose-content h3 { font-family: var(--serif); font-size: clamp(1.1rem,2vw,1.3rem); font-weight: 500; color: var(--ink); margin: 32px 0 12px; }
.prose-content p { margin-bottom: 20px; }
.prose-content a { color: var(--primary); text-decoration: underline; }
.prose-content ul, .prose-content ol { margin: 0 0 20px 1.5em; }
.prose-content li { margin-bottom: 8px; }

/* Tokushoho table */
.tokushoho-table { width: 100%; border-collapse: collapse; margin-top: 32px; }
.tokushoho-table th, .tokushoho-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tokushoho-table th { width: 200px; font-weight: 500; color: var(--ink); background: var(--bg-2); white-space: nowrap; }
.tokushoho-table td { color: var(--ink-2); }
.tokushoho-table a { color: var(--primary); }
@media (max-width: 640px) {
  .tokushoho-table, .tokushoho-table tbody, .tokushoho-table tr, .tokushoho-table th, .tokushoho-table td { display: block; width: 100%; }
  .tokushoho-table th { background: none; padding-bottom: 4px; border-bottom: none; }
}

/* Pagination */
/* screen-reader-text: visually hidden but accessible */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.pagination-wrap { margin-top: 60px; display: flex; justify-content: center; }
.pagination-wrap .nav-links {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  top: auto !important; left: auto !important; right: auto !important;
}
.pagination-wrap .page-numbers {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 13px; color: var(--ink-2);
  border-radius: 6px; transition: all .2s;
}
.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.pagination-wrap .prev, .pagination-wrap .next { width: auto; padding: 0 16px; }
/* reset nav mobile styles that bleed into pagination */
.pagination-wrap .nav-links a,
.pagination-wrap .nav-links a::after {
  all: unset;
}
.pagination-wrap .nav-links a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 13px; color: var(--ink-2);
  border-radius: 6px; transition: all .2s; cursor: pointer;
}
.pagination-wrap .nav-links a.prev,
.pagination-wrap .nav-links a.next { width: auto; padding: 0 16px; }
.pagination-wrap .nav-links a:hover { border-color: var(--primary); color: var(--primary); }

/* Single article layout */
.article-body-section { background: var(--bg); }
.article-main { min-width: 0; }
.article-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 88px; }
.sidebar-widget { background: var(--bg-2); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.sidebar-widget-title { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; }
.sidebar-recent-list { list-style: none; }
.sidebar-recent-list li { border-bottom: 1px solid var(--line); padding: 12px 0; }
.sidebar-recent-list a { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.sidebar-recent-list a:hover { color: var(--primary); }
.sidebar-thumb img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.sidebar-title { font-size: 13px; line-height: 1.5; }
.sidebar-cat-list { list-style: none; }
.sidebar-cat-list li { border-bottom: 1px solid var(--line); }
.sidebar-cat-list a { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; color: var(--ink-2); transition: color .2s; }
.sidebar-cat-list a:hover { color: var(--primary); }
.sidebar-cta-box { background: var(--primary); border-radius: 12px; padding: 24px; text-align: center; }
.sidebar-cta-box p { color: #fff; font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.sidebar-cta-box .btn-primary { background: #fff; color: var(--primary); }
.btn-sm { font-size: 13px; padding: 10px 20px; }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

/* Article nav — below the 2-col layout, full width */
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.article-nav-link { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-2); transition: border-color .2s; }
.article-nav-link:hover { border-color: var(--primary); }
.article-nav-dir { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.article-nav-title { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.article-nav-index { grid-column: 1 / -1; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--primary); }
.article-nav-next { text-align: right; }
@media (max-width: 640px) { .article-nav { grid-template-columns: 1fr; } }

/* ─── SINGLE POST: navbar light override (dark header) ─── */
body.single:not(.nav-open) #navbar:not(.scrolled) .nav-links,
body.single:not(.nav-open) #navbar:not(.scrolled) .nav-links > li > a { color: rgba(255,255,255,.8); }
body.single:not(.nav-open) #navbar:not(.scrolled) .nav-links > li > a:hover { color: #fff; }
body.single:not(.nav-open) #navbar:not(.scrolled) .nav-dropdown a { color: var(--ink-2); }
body.single:not(.nav-open) #navbar:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }
body.single:not(.nav-open) #navbar:not(.scrolled) .nav-cta {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45);
}
body.single:not(.nav-open) #navbar:not(.scrolled) .nav-toggle span { background: #fff; }

/* ─── SINGLE POST (sngl-*) ─── */
.sngl-header {
  position: relative;
  padding: 160px 0 64px;
  background: linear-gradient(150deg, var(--ink) 0%, #1e3455 100%);
  overflow: hidden;
}
.sngl-header::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0, transparent 24px,
    rgba(255,255,255,.035) 24px, rgba(255,255,255,.035) 25px
  );
  pointer-events: none;
}
.sngl-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 60%, transparent 100%);
}
.sngl-header .section-inner { position: relative; z-index: 1; }
.sngl-header-inner { max-width: 860px; }
.sngl-header-meta {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
  color: rgba(255,255,255,.5);
}
.sngl-header-meta .blog-cat {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
}
.sngl-header-meta time { color: rgba(255,255,255,.45); }
.sngl-header-h1 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 400; line-height: 1.55;
  color: #fff;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

.sngl-body-section { padding: 72px 0 96px; background: var(--bg); }
.sngl-eyecatch {
  border-radius: 16px; overflow: hidden;
  aspect-ratio: 16 / 7; margin-bottom: 64px;
}
.sngl-eyecatch img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sngl-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}
.sngl-content { min-width: 0; }
.sngl-sidebar {
  display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: 88px;
}

.sngl-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.sngl-nav-link {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; border: 1px solid var(--line);
  border-radius: 12px; color: var(--ink-2);
  transition: border-color .2s;
}
.sngl-nav-link:hover { border-color: var(--primary); }
.sngl-nav-next { text-align: right; }
.sngl-nav-dir { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.sngl-nav-title {
  font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sngl-nav-back {
  grid-column: 1 / -1; text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  color: var(--primary); padding: 16px;
  transition: opacity .2s;
}
.sngl-nav-back:hover { opacity: .7; }

@media (max-width: 900px) {
  .sngl-layout { grid-template-columns: 1fr; }
  .sngl-sidebar { position: static; }
}
@media (max-width: 640px) {
  .sngl-header { padding: 120px 0 48px; }
  .sngl-nav { grid-template-columns: 1fr; }
  .sngl-nav-back { grid-column: 1; }
  .sngl-eyecatch { margin-bottom: 40px; }
}

/* ─── ABOUT PAGE: COMPANY / HISTORY / ACCESS ─── */
.company-section { padding: 96px 0; background: var(--bg-2); }
.company-header { margin-bottom: 48px; }

.history-section { padding: 96px 0; background: var(--bg); }
.history-timeline { max-width: 760px; }
.history-item {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.history-item:first-child { border-top: 1px solid var(--line); }
.history-year {
  font-family: var(--mono); font-size: 13px;
  letter-spacing: .04em; color: var(--primary);
  font-weight: 500; padding-top: 2px;
}
.history-events p { font-size: 15px; color: var(--ink-2); line-height: 1.7; margin: 0 0 6px; }
.history-events p:last-child { margin-bottom: 0; }

.access-section { padding: 96px 0; background: var(--bg-2); }
.access-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.access-address { font-size: 15px; line-height: 2; color: var(--ink); margin-bottom: 28px; }
.access-dl { display: grid; grid-template-columns: 80px 1fr; gap: 8px 16px; font-size: 14px; }
.access-dl dt { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; align-self: center; }
.access-dl dd { color: var(--ink-2); margin: 0; }
.access-dl a { color: var(--primary); }
.access-map { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 24px rgba(26,41,66,.08); }
.access-map iframe { display: block; width: 100%; }

@media (max-width: 900px) {
  .history-item { grid-template-columns: 1fr; gap: 8px; }
  .access-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .company-section, .history-section, .access-section { padding: 64px 0; }
  .history-year { font-size: 12px; }
}
