/* ============================================================
   COMPANY HOMEPAGE — style.css  (Light / Watercolor Edition)
   ============================================================ */

/* ── 1. CSS Custom Properties ─────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:           #fbfbf9;   /* off-white base */
  --bg-alt:       #f4f5f3;   /* soft gray section */
  --bg-card:      #ffffff;
  --line:         #e7e9e7;   /* hairline borders */
  --line-strong:  #d5d8d5;

  /* Ink (text) */
  --ink:          #23272d;   /* near-black */
  --ink-soft:     #555c66;
  --ink-muted:    #8b929c;
  --ink-faint:    #b4bac2;

  /* Watercolor accents — muted, paint-in-water tones */
  --accent:       #4f6f9e;   /* deep dusty blue */
  --accent-soft:  #7c97bd;
  --accent-wash:  rgba(94, 130, 178, 0.10);
  --green:        #6f9e8c;   /* sea green */
  --green-wash:   rgba(111, 158, 140, 0.10);
  --aqua:         #6fa3b0;
  --lilac:        #9a8cb8;   /* dusty lilac */
  --lilac-wash:   rgba(154, 140, 184, 0.10);
  --gold:         #b89a64;   /* muted gold */
  --gold-wash:    rgba(184, 154, 100, 0.10);

  /* Footer */
  --navy:         #252e3d;   /* deep ink navy */
  --navy-soft:    #9aa4b4;
  --navy-line:    #353f50;

  --nav-height:   72px;

  --ff-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-card: 0 1px 2px rgba(35, 39, 45, 0.04), 0 8px 28px rgba(35, 39, 45, 0.05);
  --shadow-hover: 0 2px 6px rgba(35, 39, 45, 0.05), 0 18px 48px rgba(35, 39, 45, 0.10);

  /* Legacy aliases (kept so older inline styles never break) */
  --white:        #ffffff;
  --black:        var(--ink);
  --dark-card:    var(--bg-card);
  --dark-border:  var(--line);
  --gray-700:     var(--line-strong);
  --gray-500:     var(--ink-muted);
  --gray-400:     var(--ink-soft);
  --gray-300:     var(--ink-soft);
  --gray-200:     var(--ink);
  --gray-100:     var(--bg-alt);
  --accent-light: var(--accent);
  --gold-light:   #c8ad7e;
}

/* ── 2. Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-base);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 3. Custom Cursor & Paint Canvas (desktop only) ──────── */
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor input,
  html.has-custom-cursor textarea {
    cursor: none;
  }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: rgba(79, 111, 158, 0.85);
  transition: opacity 0.25s;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(79, 111, 158, 0.35);
  background: rgba(255, 255, 255, 0.04);
  transition: opacity 0.25s, width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}

.cursor-dot.active,
.cursor-ring.active {
  opacity: 1;
}

.cursor-ring.hovering {
  width: 52px;
  height: 52px;
  border-color: rgba(79, 111, 158, 0.55);
}

.paint-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9990;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* ── 4. Typography ────────────────────────────────────────── */
.text-display {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.text-h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.text-h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.text-h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.text-body {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.85;
  color: var(--ink-soft);
}

.text-small {
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}

.text-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}

/* ── 5. Layout Utilities ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

@media (min-width: 1280px) {
  .container { padding: 0 48px; }
}

.section {
  padding: 88px 0;
}

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

/* Section tints — class names kept from the previous build */
.section--dark  { background: var(--bg-alt); }
.section--black { background: var(--bg); }
.section--light { background: var(--bg-card); }

.section-header {
  margin-bottom: 56px;
}

@media (min-width: 768px) {
  .section-header { margin-bottom: 80px; }
}

.section-header__label {
  display: inline-block;
  margin-bottom: 16px;
}

.section-header__title {
  margin-bottom: 20px;
  color: var(--ink);
}

.section-header__desc {
  max-width: 600px;
}

.divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-soft), var(--green));
  margin: 24px 0;
  border-radius: 2px;
}

/* ── 6. Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(251, 251, 249, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 var(--line), 0 4px 24px rgba(35, 39, 45, 0.04);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

/* Logo image + company name shown side by side.
   The image is ALWAYS visible; only a load error hides it
   (handled by inline onerror + main.js), leaving the text. */
.nav__logo-img-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  min-width: 0;
}

.nav__logo-img-wrap img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav__logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 380px) {
  .nav__logo-img-wrap img { height: 32px; max-width: 110px; }
  .nav__logo-text { font-size: 0.9rem; }
}

.nav__links {
  display: none;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent-soft), var(--green));
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover,
.nav__link.active {
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  display: none;
}

@media (min-width: 768px) {
  .nav__cta { display: inline-flex; }
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

@media (min-width: 768px) {
  .nav__hamburger { display: none; }
}

.nav__hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-in-out), opacity 0.3s;
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(251, 251, 249, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.nav__mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile-link {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out), color 0.2s;
}

.nav__mobile-menu.open .nav__mobile-link {
  transform: translateY(0);
  opacity: 1;
}

.nav__mobile-menu.open .nav__mobile-link:nth-child(1) { transition-delay: 0.05s; }
.nav__mobile-menu.open .nav__mobile-link:nth-child(2) { transition-delay: 0.10s; }
.nav__mobile-menu.open .nav__mobile-link:nth-child(3) { transition-delay: 0.15s; }
.nav__mobile-menu.open .nav__mobile-link:nth-child(4) { transition-delay: 0.20s; }
.nav__mobile-menu.open .nav__mobile-link:nth-child(5) { transition-delay: 0.25s; }

.nav__mobile-link:hover {
  color: var(--accent);
}

/* ── 7. Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

/* Watercolor washes — soft pigment bleeding into a white canvas */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 16% 24%, rgba(108, 142, 191, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 50% 42% at 84% 30%, rgba(111, 158, 140, 0.13) 0%, transparent 62%),
    radial-gradient(ellipse 48% 40% at 70% 80%, rgba(154, 140, 184, 0.11) 0%, transparent 60%),
    radial-gradient(ellipse 40% 34% at 28% 78%, rgba(184, 154, 100, 0.08) 0%, transparent 58%),
    var(--bg);
  pointer-events: none;
}

/* Slow drifting pigment blobs */
.hero__bg::before,
.hero__bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.hero__bg::before {
  width: 46vw;
  height: 46vw;
  max-width: 560px;
  max-height: 560px;
  left: -8%;
  top: 6%;
  background: radial-gradient(circle, rgba(108, 142, 191, 0.22), rgba(111, 158, 140, 0.10) 60%, transparent 75%);
  animation: blobDrift 22s ease-in-out infinite alternate;
}

.hero__bg::after {
  width: 40vw;
  height: 40vw;
  max-width: 480px;
  max-height: 480px;
  right: -6%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(154, 140, 184, 0.18), rgba(111, 163, 176, 0.10) 55%, transparent 75%);
  animation: blobDrift 26s ease-in-out infinite alternate-reverse;
}

@keyframes blobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(4vw, -3vh) scale(1.08); }
  100% { transform: translate(-3vw, 4vh) scale(0.96); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mobile: gently moving pastel gradient instead of canvas */
@media (max-width: 767px) {
  .hero__bg {
    background: linear-gradient(
      -45deg,
      #fbfbf9,
      #eef3f8,
      #eef5f1,
      #f2eff7,
      #fbfbf9
    );
    background-size: 400% 400%;
    animation: gradientShift 14s ease infinite;
  }
  .hero__bg::before,
  .hero__bg::after {
    filter: blur(50px);
    opacity: 0.4;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}

.hero__label {
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero__title {
  color: var(--ink);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, #5b80b3 0%, #6fa3b0 38%, #6f9e8c 70%, #9a8cb8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.5s forwards;
}

.hero__scroll-hint span {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ink-muted), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── 8. Page Header ───────────────────────────────────────── */
.page-header {
  position: relative;
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  background:
    radial-gradient(ellipse 50% 70% at 12% 20%, rgba(108, 142, 191, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 45% 60% at 88% 70%, rgba(111, 158, 140, 0.10) 0%, transparent 58%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-header {
    padding-top: calc(var(--nav-height) + 120px);
    padding-bottom: 100px;
  }
}

.page-header__en {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}

.page-header__title {
  color: var(--ink);
  margin-bottom: 16px;
}

.page-header__desc {
  color: var(--ink-soft);
  font-size: clamp(0.9rem, 2vw, 1rem);
  max-width: 560px;
}

/* ── 9. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 32px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
}

.btn--primary:hover {
  background: #5d7fae;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(79, 111, 158, 0.28);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(35, 39, 45, 0.08);
}

.btn--gold {
  background: var(--gold);
  color: #ffffff;
}

.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 154, 100, 0.3);
}

.btn--sm {
  height: 40px;
  padding: 0 20px;
  font-size: 0.8125rem;
}

.btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* ── 10. Cards ────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 44px 36px 40px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
  overflow: hidden;
}

/* Watercolor accent line along the top of each card */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-soft), var(--aqua), var(--green));
  opacity: 0.65;
}

/* Alternate pigments per card */
.cards-grid .card:nth-child(2)::before { background: linear-gradient(90deg, var(--green), var(--aqua), var(--accent-soft)); }
.cards-grid .card:nth-child(3)::before { background: linear-gradient(90deg, var(--aqua), var(--lilac), var(--accent-soft)); }
.cards-grid .card:nth-child(4)::before { background: linear-gradient(90deg, var(--lilac), var(--accent-soft), var(--green)); }
.cards-grid .card:nth-child(5)::before { background: linear-gradient(90deg, var(--gold), var(--green), var(--aqua)); }

.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-wash);
  border: 1px solid rgba(94, 130, 178, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.cards-grid .card:nth-child(2) .card__icon { background: var(--green-wash); border-color: rgba(111, 158, 140, 0.2); }
.cards-grid .card:nth-child(3) .card__icon { background: rgba(111, 163, 176, 0.1); border-color: rgba(111, 163, 176, 0.2); }
.cards-grid .card:nth-child(4) .card__icon { background: var(--lilac-wash); border-color: rgba(154, 140, 184, 0.2); }
.cards-grid .card:nth-child(5) .card__icon { background: var(--gold-wash); border-color: rgba(184, 154, 100, 0.22); }

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cards-grid .card:nth-child(2) .card__icon svg { stroke: var(--green); }
.cards-grid .card:nth-child(3) .card__icon svg { stroke: var(--aqua); }
.cards-grid .card:nth-child(4) .card__icon svg { stroke: var(--lilac); }
.cards-grid .card:nth-child(5) .card__icon svg { stroke: var(--gold); }

.card__tag {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.card__body {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

/* ── 11. About Section (index) ────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.about__stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.about__stat {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}

.about__stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.about__stat-num span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
}

.about__stat-label {
  font-size: 0.75rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}

.about__visual {
  position: relative;
}

.about__visual-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* Soft pigment pooling in the corner of the panel */
.about__visual-box::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 142, 191, 0.14), rgba(111, 158, 140, 0.08) 55%, transparent 72%);
  filter: blur(8px);
}

.about__visual-box::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  left: -100px;
  bottom: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 140, 184, 0.12), transparent 70%);
  filter: blur(8px);
}

.about__visual-tagline {
  position: relative;
  z-index: 1;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.about__visual-tagline em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about__visual-sub {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* ── 12. Company Table ────────────────────────────────────── */
.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--line);
}

.company-table tr:first-child {
  border-top: 1px solid var(--line);
}

.company-table th,
.company-table td {
  padding: 24px 0;
  text-align: left;
  font-size: 0.9375rem;
  vertical-align: top;
}

.company-table th {
  width: 160px;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.875rem;
  padding-right: 24px;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .company-table th,
  .company-table td {
    display: block;
    padding: 12px 0;
  }
  .company-table th {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--accent);
    padding-bottom: 4px;
  }
  .company-table tr {
    padding: 16px 0;
    display: block;
  }
}

.company-table td {
  color: var(--ink);
  line-height: 1.8;
}

.company-table td.placeholder {
  color: var(--ink-faint);
  font-style: italic;
}

/* ── 13. Contact ──────────────────────────────────────────── */
.contact-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .contact-block { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.contact-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.contact-item:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-wash);
  border: 1px solid rgba(94, 130, 178, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-item__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-item__value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}

.contact-item__note {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 8px;
}

/* ── 14. CTA Banner ───────────────────────────────────────── */
.cta-banner {
  position: relative;
  background:
    radial-gradient(ellipse 55% 80% at 20% 30%, rgba(108, 142, 191, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 75% at 80% 70%, rgba(111, 158, 140, 0.10) 0%, transparent 58%),
    radial-gradient(ellipse 40% 60% at 60% 20%, rgba(154, 140, 184, 0.08) 0%, transparent 55%),
    var(--bg-card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 88px 0;
  text-align: center;
  overflow: hidden;
}

.cta-banner__title {
  color: var(--ink);
  margin-bottom: 24px;
}

.cta-banner__desc {
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 40px;
}

/* ── 15. Footer ───────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 64px 0 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

/* Navy footer: pale chip behind the logo keeps dark logos legible */
.footer__logo img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  padding: 3px 6px;
  border-radius: 6px;
}

.footer__logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--navy-soft);
  line-height: 1.9;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}

@media (min-width: 768px) {
  .footer__nav {
    flex-direction: column;
    gap: 16px;
    text-align: right;
  }
}

.footer__link {
  font-size: 0.8125rem;
  color: var(--navy-soft);
  transition: color 0.2s;
}

.footer__link:hover {
  color: #ffffff;
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--navy-line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: 0.75rem;
  color: #6f7a8c;
}

/* ── 16. Privacy Policy ───────────────────────────────────── */
.privacy-content h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 16px;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-content ul li {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ── 17. Animations ───────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ── 18. Services Preview (index) ─────────────────────────── */
.services-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

@media (min-width: 640px) {
  .services-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-preview-grid { grid-template-columns: repeat(5, 1fr); }
}

.services-preview-item {
  background: var(--bg-card);
  padding: 32px 24px;
  transition: background 0.3s;
  cursor: default;
}

.services-preview-item:hover {
  background: #f7f9fb;
}

.services-preview-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.services-preview-item:nth-child(2) .services-preview-item__icon { background: var(--green-wash); }
.services-preview-item:nth-child(3) .services-preview-item__icon { background: rgba(111, 163, 176, 0.1); }
.services-preview-item:nth-child(4) .services-preview-item__icon { background: var(--lilac-wash); }
.services-preview-item:nth-child(5) .services-preview-item__icon { background: var(--gold-wash); }

.services-preview-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-preview-item:nth-child(2) .services-preview-item__icon svg { stroke: var(--green); }
.services-preview-item:nth-child(3) .services-preview-item__icon svg { stroke: var(--aqua); }
.services-preview-item:nth-child(4) .services-preview-item__icon svg { stroke: var(--lilac); }
.services-preview-item:nth-child(5) .services-preview-item__icon svg { stroke: var(--gold); }

.services-preview-item__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

/* ── 19. Accent line ──────────────────────────────────────── */
.accent-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s var(--ease-out);
}

.accent-line:hover {
  gap: 18px;
}

.accent-line::after {
  content: '→';
}

/* ── 20. Utility classes ──────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-white  { color: #ffffff; }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--ink-muted); }
.mt-4  { margin-top: 1rem; }
.mt-8  { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-8  { margin-bottom: 2rem; }

/* Visually hidden (for accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Reduced motion: calm everything down */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg::before,
  .hero__bg::after,
  .hero__scroll-line {
    animation: none;
  }
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
