/*
Theme Name: KOTONOHA Plus
Theme URI: https://kotonoha-plus.com
Author: 織瀬ゆり
Author URI: https://kotonoha-plus.com
Description: BtoBコンテンツ制作チーム 言の葉＋ 公式サイトテーマ
Version: 1.0.0
License: Private
Text Domain: kotonoha-plus
*/
/* ============================================================
   KOTONOHA v3 — BtoB Content Team
   Design: Dusty Blue × Navy × Organic Leaf Motif
   ============================================================ */

/* --- Variables --- */
:root {
  /* ── Design system (新デザインガイドライン) ── */
  --bg-base:       #FFFFFF;
  --bg-soft:       #F9F7F4;
  --text-main:     #333333;
  --border-fine:   #E0DCD6;
  --space-section: 120px;
  --ls-heading:    0.15em;
  --lh-body:       1.8;

  /* ── カラーパレット ── */
  --navy:        #1D2E4A;
  --navy-700:    #2D4060;
  --navy-500:    #4A6080;
  --dusty:       #D5E0EB;
  --dusty-light: #EBF2F7;
  --dusty-mid:   #C0D0DF;
  --dusty-pale:  #F0F6FA;
  --sage:        #BFCBBC;
  --sage-light:  #EEF3EC;
  --moss:        #6F806A;
  --off-white:   #F3F7FB;
  --cream:       #F7F9FB;
  --white:       #FFFFFF;
  --text:        var(--text-main);
  --text-mid:    #5A7090;
  --text-light:  #8AA0B8;
  --border:      var(--border-fine);

  /* ── フォント ── */
  --serif:   'Noto Serif JP', Georgia, 'Times New Roman', serif;
  --sans:    'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Cormorant Garamond', Georgia, serif;

  /* ── レイアウト ── */
  --nav-h:  72px;
  --max-w: 1080px;
  --r-leaf: 63% 37% 54% 46% / 55% 48% 52% 45%;
  --r-blob: 70% 30% 60% 40% / 40% 60% 40% 60%;

  /* ── Motion ── */
  --ease-out-soft: cubic-bezier(.22, 1, .36, 1);
  --ease-smooth:   cubic-bezier(.16, 1, .3, 1);
  --duration-fast: .28s;
  --duration-mid:  .55s;
  --duration-slow: 1.1s;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: var(--lh-body);
  color: var(--text-main);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* --- Container --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ============================================================
   FLOATING LEAF DECORATIONS
   ============================================================ */
.leaf-float {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.10;
  filter: blur(.1px);
}
.leaf-float--sway { animation: leafSway 9s ease-in-out infinite; }
.leaf-float--drift { animation: leafDrift 12s ease-in-out infinite; }
.leaf-float--slow { animation: leafFloat 14s ease-in-out infinite; }

@keyframes leafFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  40%       { transform: translateY(-18px) rotate(5deg); }
  70%       { transform: translateY(-8px) rotate(-3deg); }
}
@keyframes leafSway {
  0%, 100% { transform: translateY(0) rotate(-8deg) scale(1); }
  30%       { transform: translateY(-12px) rotate(2deg) scale(1.03); }
  65%       { transform: translateY(-22px) rotate(-4deg) scale(0.98); }
}
@keyframes leafDrift {
  0%, 100% { transform: translateY(0) translateX(0) rotate(15deg); }
  25%       { transform: translateY(-16px) translateX(6px) rotate(20deg); }
  60%       { transform: translateY(-28px) translateX(-4px) rotate(10deg); }
  80%       { transform: translateY(-10px) translateX(8px) rotate(18deg); }
}
@media (max-width: 768px) {
  .leaf-float { opacity: 0.06; }
  .section .leaf-float:nth-of-type(n+2) { display: none; }
}

.leaf-float path { fill: var(--sage); }
.section--dark .leaf-float path { fill: white; }

/* ============================================================
   WAVE DIVIDERS
   ============================================================ */
.wave-divider {
  position: relative;
  overflow: hidden;
}
.wave-divider::after {
  content: '';
  display: block;
  height: 60px;
  background: inherit;
  clip-path: ellipse(55% 100% at 50% 0%);
  position: relative;
  z-index: 2;
  margin-top: -1px;
}
.wave-top {
  position: relative;
}
.wave-top::before {
  content: '';
  display: block;
  position: absolute;
  top: -40px;
  left: 0; right: 0;
  height: 80px;
  background: var(--off-white);
  clip-path: ellipse(52% 100% at 50% 100%);
  z-index: 1;
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(243,247,251,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 24px rgba(29,46,74,0.08); }

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo__icon { width: 28px; flex-shrink: 0; }
.nav-logo__text { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.nav-logo__ja {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--navy);
}
.nav-logo__en {
  font-family: var(--display);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--text-light);
}
.nav-logo__plus {
  color: #C8A96B;
  font-size: 0.7em;
  vertical-align: 0.18em;
  letter-spacing: 0;
  margin-left: 0.06em;
}
.nav-logo__plus--en {
  font-size: 0.88em;
  vertical-align: 0.05em;
  font-weight: 300;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--navy-500);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: var(--navy);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover        { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active       { color: var(--navy); font-weight: 500; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active::after{ width: 100%; }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 40px;
  font-size: 0.7rem !important;
  letter-spacing: 0.08em !important;
  text-transform: none !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--navy-700) !important; }
.nav-cta::after { display: none !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HOME HERO
   ============================================================ */
.hero-home {
  min-height: calc(100vh - var(--nav-h));
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 7rem 0;
  min-height: 620px;
}
.hero-home::before {
  display: none;
  content: '';
  position: absolute;
  bottom: -10%; right: -5%;
  width: 55%;
  height: 110%;
  background: var(--dusty-light);
  border-radius: 55% 0 0 45%;
  z-index: 0;
  opacity: 0.6;
}

.hero-home__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-home__content {
  position: relative;
  z-index: 3;
  max-width: 520px;
  min-width: 420px;
  background: linear-gradient(
    to right,
    rgba(249,247,244,1.0) 0%,
    rgba(249,247,244,0.95) 80%,
    rgba(249,247,244,0) 100%
  );
  padding-right: 2rem;
}
.hero-home__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 2.25rem;
}
.hero-home__label-dot {
  width: 6px; height: 6px;
  background: var(--dusty-mid);
  border-radius: 50%;
}

.hero-home__h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 1rem;
}
.hero-home__h1 em {
  font-style: normal;
  position: relative;
  display: inline;
}
.hero-home__h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0;
  width: 100%; height: 12px;
  background: var(--dusty);
  opacity: 0.5;
  z-index: -1;
  border-radius: 6px;
}
.hero-home__sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--navy-500);
  margin-bottom: 2.5rem;
  line-height: 2;
}
.hero-home__desc {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 2.2;
  margin-bottom: 3rem;
  max-width: 440px;
}
.hero-home__btns {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero illustration side */
.hero-home__visual {
  position: absolute;
  top: -25%;
  bottom: -10%;
  right: calc(-1 * (100vw - 100%) / 2);
  width: 70%;
  height: auto;
  border-radius: 55% 0 0 45%;
  overflow: hidden;
  z-index: 1;
}
.hero-stationery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  display: block;
}
.hero-iso-svg {
  width: 100%;
  max-width: 340px;
  animation: leafFloat 12s ease-in-out infinite;
}
/* Legacy leaf classes kept for other pages */
.hero-leaf-svg { width: 100%; max-width: 340px; }
.hero-leaf-small { position: absolute; animation: leafDrift 6s ease-in-out infinite; }
.hero-leaf-small--1 { top: 8%; left: -8%; width: 56px; animation-delay: -2s; opacity: 0.55; }
.hero-leaf-small--2 { bottom: 12%; right: 2%; width: 40px; animation-delay: -4.5s; opacity: 0.4; }
.hero-leaf-small--3 { top: 50%; left: -12%; width: 28px; animation-delay: -1s; opacity: 0.3; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.hero-page {
  background: var(--bg-soft);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero-page::after {
  content: '';
  position: absolute;
  bottom: -40px; right: 3%;
  width: 240px; height: 240px;
  background: var(--dusty);
  border-radius: var(--r-leaf);
  opacity: 0.22;
  z-index: 0;
}
.hero-page::before {
  content: '';
  position: absolute;
  top: -20px; left: 8%;
  width: 140px; height: 140px;
  background: var(--dusty-mid);
  border-radius: var(--r-blob);
  opacity: 0.12;
  z-index: 0;
}
.hero-page .container { position: relative; z-index: 1; }
.hero-page__label {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  display: block;
}
.hero-page__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: var(--ls-heading);
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 1.25rem;
}
.hero-page__sub {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-mid);
  max-width: 540px;
  line-height: 2.1;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section         { padding: var(--space-section) 0; position: relative; overflow: hidden; background: var(--bg-base); }
.section--sm     { padding: calc(var(--space-section) * 0.5) 0; }
.section--dark   { background: var(--navy); color: var(--white); }
.section--reasons { background: #eef2f6; color: var(--navy); }
.section--reasons h2,
.section--reasons .section__title   { color: var(--navy); }
.section--reasons .reason-item__num   { color: rgba(29,46,74,0.2); }
.section--reasons .reason-item__title { color: var(--navy); }
.section--reasons .reason-item__text  { color: var(--text); }
.section--dark.section--reasons {
  color: var(--navy);
}
.section--dark.section--reasons .section__title,
.section--dark.section--reasons .section__eyebrow {
  color: var(--navy);
}
.section--dark.section--reasons .reason-item__num {
  color: rgba(29,46,74,0.2);
}
.section--dark.section--reasons .reason-item__title {
  color: var(--navy);
}
.section--dark.section--reasons .reason-item__text {
  color: var(--text);
}
.section--dark.section--reasons .leaf-float path {
  fill: rgba(29,46,74,0.15);
}
.section--sage   { background: linear-gradient(135deg, #F7F9FB 0%, #EEF3EC 100%); }
.section--blue   { background: var(--bg-soft); }
.section--gray   { background: var(--bg-soft); }
.section--dusty  { background: var(--bg-soft); }
.section--pale   { background: var(--bg-soft); }

/* h2 グローバル設定 */
h2 {
  font-weight: 300;
  letter-spacing: var(--ls-heading);
}

.section__eyebrow {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.48em;
  display: inline-block;
  position: relative;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.section__eyebrow::before,
.section__eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
}
.section__eyebrow::before { right: calc(100% + 0.65rem); }
.section__eyebrow::after  { left: calc(100% + 0.65rem); }
.section--dark .section__eyebrow { color: rgba(255,255,255,0.4); }
.section--dark .section__eyebrow::before,
.section--dark .section__eyebrow::after { opacity: 0.16; }

.section__title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 300;
  letter-spacing: var(--ls-heading);
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.section--dark .section__title { color: var(--white); }

.section__lead {
  font-family: var(--serif);
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 2.2;
  max-width: 560px;
}
.section--dark .section__lead { color: rgba(255,255,255,0.65); }

.section-header {
  margin-bottom: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 0;
  border-bottom: none;
}

/* Section leaf decorations */
.section-leaf-bg {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
}
.section > .container { position: relative; z-index: 1; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: color 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  line-height: 1;
  position: relative;
}
.btn--primary {
  background: var(--navy);
  color: var(--white);
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(29,46,74,0.14);
  transform: translateY(0);
  transition:
    transform var(--duration-fast) var(--ease-out-soft),
    box-shadow var(--duration-fast) var(--ease-out-soft),
    background var(--duration-fast);
}
.btn--primary:hover {
  background: #263B5C;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(29,46,74,0.18);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.24), transparent);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out-soft);
}
.btn--primary:hover::after {
  transform: translateX(120%);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 1rem 2.25rem;
  border-radius: 50px;
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,46,74,0.10);
}

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 1rem 2.25rem;
  border-radius: 50px;
}
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn--link {
  color: var(--navy);
  padding: 0;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.btn--link::after {
  content: '→';
  display: inline-block;
  margin-left: 0.45em;
  transition: transform 0.28s var(--ease-out-soft);
}
.btn--link:hover { color: var(--navy-700); }
.btn--link:hover::after { transform: translateX(4px); }

.btn--link-white { color: rgba(255,255,255,0.8); }
.btn--link-white:hover { color: var(--white); }

/* ============================================================
   PAIN POINTS (HOME)
   ============================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2.25rem 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: box-shadow 0.28s, transform 0.28s;
}
.pain-item:hover { box-shadow: 0 6px 28px rgba(29,46,74,0.09); transform: translateY(-2px); }
.pain-item__icon {
  width: 48px; height: 48px;
  background: var(--dusty-light);
  border-radius: var(--r-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pain-item__icon svg { width: 22px; height: 22px; }
.pain-item__text {
  font-family: var(--serif);
  font-size: 0.93rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.9;
}
.pain-item__text strong {
  font-weight: 500;
  color: var(--navy);
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

/* ============================================================
   REASONS / USP
   ============================================================ */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}
.reason-item {
  padding: 3rem 2.5rem;
  background: #ffffff;
  border: 1px solid rgba(154,181,200,0.3);
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(29,46,74,0.06);
  position: relative;
  overflow: hidden;
}
.reason-item::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 90px; height: 90px;
  background: rgba(213,224,235,0.15);
  border-radius: var(--r-leaf);
}
.reason-item__num {
  font-family: var(--display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--dusty-mid);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.reason-item__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.85rem;
  letter-spacing: 0.06em;
}
.reason-item__text {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text);
  line-height: 2;
}

/* ============================================================
   TEAM PREVIEW (HOME) / MEMBER CARDS (ABOUT)
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}
.member-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  transition: transform 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.member-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 110px; height: 110px;
  background: var(--dusty-light);
  border-radius: var(--r-leaf);
  z-index: 0;
}
.member-card::after {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px;
  width: 70px; height: 70px;
  background: var(--dusty-pale);
  border-radius: var(--r-blob);
  z-index: 0;
}
.member-card:hover { transform: translateY(-8px); box-shadow: 0 16px 44px rgba(29,46,74,0.12); }

.member-photo {
  width: 140px; height: 168px;
  border-radius: var(--r-leaf);
  margin: 0 auto 1.75rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: var(--dusty);
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-photo__initial {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--navy);
  opacity: 0.5;
}
.member-photo--1 { background: linear-gradient(135deg, #D5E0EB 0%, #C0CCD8 100%); }
.member-photo--2 { background: linear-gradient(135deg, #E0EBD5 0%, #CCd8C0 100%); }
.member-photo--3 { background: linear-gradient(135deg, #EBD5E0 0%, #D8C0CC 100%); }

.member-card__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 0.35rem;
  position: relative; z-index: 1;
}
.member-card__role {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
.member-card__quals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
.qual-tag {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--navy-500);
  background: var(--dusty-light);
  border: 1px solid var(--dusty);
  padding: 0.25rem 0.75rem;
  border-radius: 40px;
  letter-spacing: 0.04em;
}
.member-card__bio {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 2;
  text-align: left;
  position: relative; z-index: 1;
}

/* ABOUT page extra */
.member-card--lg {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  text-align: left;
  padding: 3.5rem;
  margin-bottom: 2.5rem;
}
.member-card--lg .member-photo {
  width: 180px; height: 215px;
  margin: 0;
}
.member-detail__specialties {
  margin-top: 1.75rem;
}
.member-detail__specialties-title {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.85rem;
}
.specialty-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.specialty-list li {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.75;
}
.specialty-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 9px;
  background: var(--dusty-mid);
  border-radius: 0 60% 0 60%;
  transform: rotate(-15deg);
}

/* ============================================================
   CLIENT LOGOS
   ============================================================ */
.clients-section {
  padding: 4rem 0;
  background: var(--bg-soft);
}
.clients-label {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 2.25rem;
  display: block;
}
.clients-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.25rem;
  flex-wrap: wrap;
}
.client-logo {
  padding: 0.8rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-500);
  letter-spacing: 0.06em;
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.client-logo:hover { border-color: var(--dusty); color: var(--navy); box-shadow: 0 4px 16px rgba(29,46,74,0.07); }

/* ============================================================
   SERVICES
   ============================================================ */

/* Serviceセクション 文具パターン背景 */
.section--service {
  position: relative;
  padding-top: 32px;
}
.section--service::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/stationery-pattern.png');
  background-repeat: repeat;
  background-size: 600px auto;
  opacity: 0.05;
  filter: saturate(0.3);
  pointer-events: none;
  z-index: 0;
}
.section--service > * {
  position: relative;
  z-index: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  padding: 2.75rem 2.25rem;
  background: var(--white);
  border-radius: 24px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 34px rgba(29,46,74,0.09); }
.service-card::after {
  content: '';
  position: absolute;
  bottom: -18px; right: -18px;
  width: 72px; height: 72px;
  background: var(--dusty-light);
  border-radius: var(--r-leaf);
  z-index: 0;
  transition: transform 0.35s;
}
.service-card:hover::after { transform: scale(1.25); }

.service-card__icon {
  width: 58px; height: 58px;
  background: var(--dusty-light);
  border-radius: var(--r-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
.service-card__icon svg { width: 32px; height: 32px; }
.service-card__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 0.85rem;
  position: relative; z-index: 1;
}
.service-card__text {
  font-family: var(--sans);
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 2;
  position: relative; z-index: 1;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
  position: relative; z-index: 1;
}

/* SERVICE page detail */
.service-detail-list { display: flex; flex-direction: column; gap: 0; }
.service-detail-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 2.75rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.service-detail-item__num {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.service-detail-item__icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
}
.service-detail-item__numtext {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--dusty-mid);
  line-height: 1;
}
.service-detail-item__subtitle {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.65rem;
}
.service-detail-item__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin-bottom: 1.35rem;
}
.service-detail-item__text {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 2.1;
  margin-bottom: 1.1rem;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.s-tag {
  font-family: var(--sans);
  font-size: 0.62rem;
  color: var(--navy-500);
  background: var(--dusty-light);
  border: 1px solid var(--dusty);
  padding: 0.22rem 0.75rem;
  border-radius: 40px;
}

/* Process steps */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-flow::before {
  content: '';
  position: absolute;
  top: 30px; left: 12%;
  width: 76%;
  height: 2px;
  background: linear-gradient(90deg, var(--dusty) 0%, var(--dusty-mid) 100%);
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 1rem;
  position: relative; z-index: 1;
}
.process-step__circle {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--dusty);
  border: 3px solid var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  box-shadow: 0 0 0 2px var(--dusty);
}
.process-step__num {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
}
.process-step__title {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.55rem;
  letter-spacing: 0.06em;
}
.process-step__text {
  font-family: var(--sans);
  font-size: 0.77rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ============================================================
   WORKS
   ============================================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}
.work-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition:
    opacity .35s var(--ease-out-soft),
    transform .35s var(--ease-out-soft),
    box-shadow .45s var(--ease-out-soft);
}
.work-card.is-hidden {
  opacity: 0;
  transform: translateY(8px) scale(.98);
  pointer-events: none;
}
.work-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(29,46,74,0.11); }

/* ── カードhover 統一 ── */
.work-card,
.service-card,
.topic-card,
.value-item,
.featured-post {
  transition:
    transform .45s var(--ease-out-soft),
    box-shadow .45s var(--ease-out-soft),
    border-color .45s var(--ease-out-soft),
    background-color .45s var(--ease-out-soft);
}
.work-card:hover,
.service-card:hover,
.topic-card:hover,
.value-item:hover,
.featured-post:hover {
  transform: translateY(-6px) scale(1.008);
  box-shadow: 0 20px 50px rgba(29,46,74,0.11);
  border-color: rgba(154,181,200,0.65);
}
.work-card__img {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-card:hover .work-card__img { transform: scale(1.03); }

/* Unified dusty blue palette for all work cards */
.wc-1 { background: linear-gradient(135deg, #D5E0EB 0%, #BFD0DF 100%); color: var(--navy-500); }
.wc-2 { background: linear-gradient(135deg, #C8D8E8 0%, #B5C8D8 100%); color: var(--navy-500); }
.wc-3 { background: linear-gradient(135deg, #E2EBF3 0%, #CDD9E5 100%); color: var(--navy-500); }
.wc-4 { background: linear-gradient(135deg, #EBF2F7 0%, #D5E0EB 100%); color: var(--navy-500); }
.wc-5 { background: linear-gradient(135deg, #BAC9D8 0%, #A8B8C8 100%); color: var(--navy); }
.wc-6 { background: linear-gradient(135deg, #D0DCE8 0%, #C0CEDA 100%); color: var(--navy); }

.work-card__body { padding: 2rem 2rem; }
.work-card__client {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.65rem;
}
.work-card__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}
.work-card__text {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.95;
}
.work-card__foot {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.work-card__cat {
  font-family: var(--sans);
  font-size: 0.62rem;
  color: var(--navy-500);
  background: var(--dusty-light);
  padding: 0.22rem 0.75rem;
  border-radius: 40px;
}
.work-card__year {
  font-family: var(--display);
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ============================================================
   TOPICS / BLOG
   ============================================================ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}
.topic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s, box-shadow 0.28s;
}
.topic-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(29,46,74,0.09); }
.topic-card__img {
  aspect-ratio: 16/9;
  background: var(--dusty-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--dusty-mid);
}
.topic-card__body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.topic-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.topic-card__cat {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-500);
  background: var(--dusty-light);
  padding: 0.22rem 0.75rem;
  border-radius: 40px;
}
.topic-card__date {
  font-family: var(--display);
  font-size: 0.8rem;
  color: var(--text-light);
}
.topic-card__title {
  font-family: var(--serif);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.7;
  flex: 1;
}
.topic-card__excerpt {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 2;
  margin-top: 0.85rem;
}

/* TOPICS list page */
.topic-list { display: flex; flex-direction: column; gap: 0; }
.topic-list-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.75rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.topic-list-item__img {
  border-radius: 14px;
  aspect-ratio: 16/9;
  background: var(--dusty-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--dusty-mid);
  overflow: hidden;
}
.topic-list-item__body {}
.topic-list-item:hover .topic-list-item__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.topic-list-item__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 0.65rem;
}
.topic-list-item__excerpt {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 2;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.75fr;
  gap: 5.5rem;
  align-items: start;
}
.contact-info__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.06em;
  margin-bottom: 1.4rem;
}
.contact-info__text {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 2.1;
  margin-bottom: 2.25rem;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.4rem;
}
.contact-detail__label {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
}
.contact-detail__value {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--navy-500);
}

.form-group { margin-bottom: 2rem; }
.form-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-500);
  margin-bottom: 0.65rem;
}
.form-label .req { color: #E05B6A; margin-left: 3px; }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem 1.25rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--dusty-mid);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(213,224,235,0.35);
}
.form-textarea { resize: vertical; min-height: 190px; line-height: 1.9; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 7rem 0;
  text-align: center;
}
.cta-section .container { position: relative; }
.cta-deco-leaf {
  position: absolute;
  opacity: 0.14;
  pointer-events: none;
  animation: leafSway 10s ease-in-out infinite;
}
.cta-deco-leaf--l { left: -2%; top: 50%; transform: translateY(-50%); width: 130px; }
.cta-deco-leaf--r { right: -2%; top: 50%; transform: translateY(-50%) scaleX(-1); width: 130px; animation-delay: -4s; }

.cta-section__eyebrow {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
  display: block;
}
.cta-section__title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.cta-section__text {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.75rem;
  font-weight: 300;
  line-height: 2.1;
}
.cta-section__btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ── ダーク背景内のbtn--primaryをアウトラインに統一 ── */
.section--dark .btn--primary,
.final-cta .btn--primary {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.75);
  color: var(--white);
  box-shadow: none;
}
.section--dark .btn--primary:hover,
.final-cta .btn--primary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ── final-cta (強化版CTA) ── */
.final-cta__label {
  font-size: .75rem;
  letter-spacing: .2em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.final-cta__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.final-cta__text {
  font-size: .95rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.4rem;
  letter-spacing: .02em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 6rem 0 2.75rem;
  position: relative;
  overflow: hidden;
}

/* Footer leaf decorations */
.footer-leaf {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
}
.footer-leaf--1 {
  top: -40px; right: 5%;
  width: 180px;
  animation: leafFloat 12s ease-in-out infinite;
}
.footer-leaf--2 {
  bottom: 40px; left: 2%;
  width: 120px;
  animation: leafSway 15s ease-in-out infinite;
  animation-delay: -5s;
}
.footer-leaf--3 {
  top: 30%; right: 15%;
  width: 80px;
  animation: leafDrift 18s ease-in-out infinite;
  animation-delay: -8s;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 1;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1.4rem; }
.footer-logo__icon { width: 30px; }
.footer-logo__ja {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.2em;
}
.footer-logo__en {
  font-family: var(--display);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
  display: block;
}
.footer-tagline {
  font-family: var(--sans);
  font-size: 0.77rem;
  font-weight: 300;
  color: rgba(255,255,255,0.42);
  line-height: 2;
}
.footer-col__title {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 1.4rem;
}
.footer-col__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-col__list a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-col__list a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative; z-index: 1;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.06em;
}

/* ============================================================
   UTILITIES & REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* Stagger helpers — JS clears these after first reveal */
.reveal-delay-1 { transition-delay: 0.07s; }
.reveal-delay-2 { transition-delay: 0.14s; }
.reveal-delay-3 { transition-delay: 0.21s; }
.reveal-delay-4 { transition-delay: 0.28s; }
.reveal-delay-5 { transition-delay: 0.35s; }
.reveal-delay-6 { transition-delay: 0.42s; }

.text-center { text-align: center; }
.text-center .section__lead { margin: 0 auto; }
.mb-0 { margin-bottom: 0 !important; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }
.mb-lg { margin-bottom: 3.5rem; }
.mt-lg { margin-top: 3.5rem; }

/* ============================================================
   BRAND MESSAGE
   ============================================================ */
.section--message {
  background: var(--bg-soft);
  padding: 8rem 0;
}
.brand-message {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.brand-message__rule {
  display: block;
  width: 1px;
  height: 44px;
  background: var(--border);
  margin: 0 auto 3.5rem;
}
.brand-message__lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 300;
  line-height: 2.2;
  letter-spacing: 0.14em;
  color: var(--navy);
  margin-bottom: 2.75rem;
}
.brand-message__body {
  font-family: var(--serif);
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 2.6;
  letter-spacing: 0.07em;
  color: var(--navy-500);
}

/* ============================================================
   SERVICE CATEGORY LABEL
   ============================================================ */
.service-card__category {
  display: block;
  font-family: var(--display);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.55rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   WORK SCOPE TAGS
   ============================================================ */
.work-card__scope {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1rem;
  margin-bottom: 0.2rem;
}
.scope-tag {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 400;
  color: var(--navy-500);
  border: 1px solid var(--dusty-mid);
  padding: 0.18rem 0.65rem;
  border-radius: 3px;
  letter-spacing: 0.06em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-home__inner   { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-home__visual  { display: none; }
  .hero-home__desc    { max-width: 100%; }
  .team-grid          { grid-template-columns: 1fr 1fr; }
  .service-grid       { grid-template-columns: 1fr 1fr; }
  .works-grid         { grid-template-columns: 1fr 1fr; }
  .topics-grid        { grid-template-columns: 1fr 1fr; }
  .reason-grid        { grid-template-columns: 1fr; }
  .contact-layout     { grid-template-columns: 1fr; gap: 3.5rem; }
  .footer-inner       { grid-template-columns: 1fr 1fr; }
  .process-flow       { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-flow::before { display: none; }
  .member-card--lg    { grid-template-columns: 1fr; gap: 1.75rem; }
  .member-card--lg .member-photo { margin: 0 auto; }
  .member-card--lg    { text-align: center; }
  .section            { padding: 80px 0; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .container { padding: 0 1.35rem; }
  .section    { padding: 80px 0; }
  .section--sm { padding: 48px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-soft);
    padding: 2.25rem 1.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(29,46,74,0.09);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-toggle     { display: flex; }

  .team-grid         { grid-template-columns: 1fr; }
  .service-grid      { grid-template-columns: 1fr; }
  .works-grid        { grid-template-columns: 1fr; }
  .topics-grid       { grid-template-columns: 1fr; }
  .hero-home__h1     { font-size: clamp(2.5rem, 12.5vw, 4rem); }
  .pain-grid         { grid-template-columns: 1fr; }
  .footer-inner      { grid-template-columns: 1fr; gap: 2.25rem; }
  .process-flow      { grid-template-columns: 1fr; }
  .service-detail-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .topic-list-item   { grid-template-columns: 1fr; gap: 1.25rem; }
  .clients-logos     { gap: 0.85rem; }
  .filter-tabs       { overflow-x: auto; }
}

/* ============================================================
   PAPER GRAIN TEXTURE — global, ultra-subtle
   feTurbulence fractal noise at 3% opacity simulates
   the texture of high-quality uncoated stock
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="grain"><feTurbulence type="fractalNoise" baseFrequency="0.75" numOctaves="4" stitchTiles="stitch"/></filter><rect width="200" height="200" filter="url(%23grain)"/></svg>');
  background-size: 200px 200px;
  background-repeat: repeat;
}

/* ============================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================================================ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-home__label { animation: heroFadeUp 0.65s ease both 0.10s; }
.hero-home__h1    { animation: heroFadeUp 0.75s ease both 0.26s; }
.hero-home__sub   { animation: heroFadeUp 0.65s ease both 0.44s; }
.hero-home__desc  { animation: heroFadeUp 0.65s ease both 0.58s; }
.hero-home__btns  { animation: heroFadeUp 0.65s ease both 0.72s; }

@keyframes heroImgFloat {
  0%   { transform: scale(1); }
  100% { transform: scale(1.04); }
}
.hero-home__visual {
  transform-origin: right center;
  animation: heroImgFloat 24s ease-in-out infinite alternate;
}

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

/* ============================================================
   SUPPLEMENTARY — page-specific styles missing from original
   ============================================================ */

/* About: Intro layout */
.about-intro-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.story-visual { position: relative; }
.pen-ink-img { width: 100%; max-width: 340px; border-radius: 4px; }
.story-text p { margin-bottom: 1.4rem; font-family: var(--sans); font-size: 0.95rem; color: var(--text-mid); line-height: 2.1; }
.about-copy {}
.about-heading { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 2rem; }
.about-heading em { font-style: normal; position: relative; }
.about-heading em::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0;
  width: 100%; height: 10px;
  background: var(--dusty);
  opacity: 0.5;
  z-index: -1;
  border-radius: 6px;
}

/* About: Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.value-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.value-item__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-item__icon img { width: 100%; height: 100%; object-fit: contain; }
.value-item__num {
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.value-item__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.value-item__text {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 2;
}

/* About: Strengths layout */
.strengths-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.strength-item {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(154,181,200,0.3);
  border-radius: 12px;
  padding: 2rem 2rem;
}
.strength-item__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
}
.strength-item__text {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 2;
}

/* Works: Filter tabs */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-tab {
  background: none;
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 0.45rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.result-count {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}
.result-count strong { color: var(--navy); }

/* Works: Testimonials */
.section--testimonial { background: var(--cream); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--display);
  font-size: 5rem;
  line-height: 1;
  color: var(--dusty);
  position: absolute;
  top: 1rem;
  left: 2rem;
}
.testimonial-card__text {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--text);
  line-height: 2;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}
.testimonial-card__meta { display: flex; align-items: center; gap: 1rem; }
.testimonial-card__client {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.testimonial-card__role {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Topics: Layout */
.topics-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  margin-top: 4rem;
}
.featured-post {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 4rem;
  text-decoration: none;
  color: inherit;
}
.featured-post__img {
  background: var(--dusty-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  min-height: 220px;
}
.featured-post__body { padding: 2.5rem 2.5rem 2.5rem 0; }
.featured-badge {
  display: inline-block;
  background: var(--navy);
  color: white;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 40px;
  margin-bottom: 1rem;
}
.featured-post__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.featured-post__excerpt {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

/* Topics: Sidebar */
.topics-sidebar {}
.sidebar-widget {
  background: var(--cream);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}
.sidebar-widget__title {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.sidebar-cat-list { list-style: none; }
.sidebar-cat-list li {
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list a {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text-mid);
  transition: color 0.2s;
}
.sidebar-cat-list a:hover { color: var(--navy); }

/* Contact: Note & Form */
.contact-note {
  background: var(--dusty-pale);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.contact-note p {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.9;
}
.form-textarea {
  min-height: 160px;
  resize: vertical;
}

/* Contact: FAQ block */
.faq-block { margin-top: 3rem; }
.faq-block__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.faq-mini {}
.faq-mini-item {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-mini-item:last-child { border-bottom: 1px solid var(--border); }
.faq-mini-item__q {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}
.faq-mini-item__q::before {
  content: 'Q. ';
  color: var(--text-light);
  font-weight: 400;
}
.faq-mini-item__a {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.9;
  padding-left: 1.5rem;
}

/* Leaf accent (contact page) */
.leaf-accent {
  width: 42px;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

/* Decorative page deco images */
.page-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   RESPONSIVE — supplementary
   ============================================================ */
@media (max-width: 960px) {
  .values-grid           { grid-template-columns: repeat(2, 1fr); }
  .about-intro-layout    { grid-template-columns: 1fr; gap: 3rem; }
  .story-visual          { display: none; }
  .testimonial-grid      { grid-template-columns: 1fr; }
  .topics-layout         { grid-template-columns: 1fr; }
  .featured-post         { grid-template-columns: 1fr; }
  .featured-post__img    { min-height: 160px; }
  .featured-post__body   { padding: 1.75rem; }
}
@media (max-width: 640px) {
  .values-grid           { grid-template-columns: 1fr; }
  .strengths-layout      { grid-template-columns: 1fr; }
  .value-item__icon      { width: 72px; height: 72px; }
}

/* ============================================================
   PRICE TABLE
   ============================================================ */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
}
.price-table thead tr {
  border-bottom: 2px solid var(--navy);
}
.price-table th {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--navy);
  padding: 0.85rem 1.25rem;
  text-align: left;
}
.price-table tbody tr {
  border-bottom: 1px solid var(--border);
}
.price-table tbody tr:last-child {
  border-bottom: 2px solid var(--navy);
}
.price-table td {
  font-size: 0.9rem;
  color: var(--text);
  padding: 1rem 1.25rem;
  line-height: 1.6;
}
.price-table td:last-child {
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
}
.price-note {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 2;
  margin-top: 1.5rem;
}

/* ============================================================
   MOBILE FIX — comprehensive 400px optimizations
   ============================================================ */
@media (max-width: 480px) {
  /* Hero */
  .hero-home { padding: 3.5rem 0 3rem; min-height: auto; }
  .hero-home__content { min-width: 0; padding-right: 0; background: none; }
  .hero-home__h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero-home__sub { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .hero-home__desc { font-size: 0.85rem; margin-bottom: 2rem; }
  .hero-home__btns { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-home__btns .btn { width: 100%; text-align: center; justify-content: center; }

  /* Section spacing */
  .section { padding: 56px 0; }
  .section--sm { padding: 36px 0; }
  --space-section: 56px;

  /* Pain points */
  .pain-item {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
  }
  .pain-item__icon {
    width: 40px; height: 40px;
    flex-shrink: 0;
  }

  /* Section titles */
  .section__title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .hero-page__title { font-size: clamp(1.6rem, 7vw, 2.4rem); }

  /* Brand message */
  .brand-message__lead { font-size: clamp(1.2rem, 5.5vw, 1.6rem); }

  /* Reason grid */
  .reason-item { padding: 2rem 1.5rem; }
  .reason-item__num { font-size: 2.5rem; }

  /* Team */
  .member-photo { width: 100px; height: 120px; }
  .member-photo__initial { font-size: 2.2rem; }
  .member-card { padding: 2rem 1.5rem; }

  /* Clients */
  .clients-logos { flex-wrap: wrap; gap: 0.65rem; }
  .client-logo { font-size: 0.78rem; padding: 0.35rem 0.85rem; }

  /* Service cards */
  .service-card { padding: 1.75rem 1.5rem; }
  .service-card__icon { width: 44px; height: 44px; margin-bottom: 1rem; }

  /* Work cards */
  .work-card__body { padding: 1.5rem; }

  /* Topics */
  .topic-card__img { font-size: 1.6rem; width: 52px; height: 52px; }

  /* CTA section */
  .final-cta__title { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }
  .cta-section { padding: 4rem 0; }
  .cta-deco-leaf--l,
  .cta-deco-leaf--r { display: none; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer { padding: 4rem 0 2.5rem; }

  /* Buttons */
  .btn { padding: 0.7rem 1.4rem; font-size: 0.8rem; }
  .btn--primary { padding: 0.8rem 1.6rem; }

  /* Values grid (about) */
  .values-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .value-item { padding: 1.75rem 1.5rem; }
  .value-item__icon { width: 72px; height: 72px; }

  /* Strengths (service) */
  .strengths-layout { grid-template-columns: 1fr; }

  /* Process steps */
  .process-flow { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-step__circle { width: 52px; height: 52px; }

  /* Price table */
  .price-table { font-size: 0.82rem; }
  .price-table th, .price-table td { padding: 0.75rem 0.85rem; }

  /* Works filter */
  .filter-tabs { gap: 0.4rem; }
  .filter-tab { padding: 0.35rem 0.85rem; font-size: 0.72rem; }

  /* Testimonials */
  .testimonial-grid { grid-template-columns: 1fr; }

  /* Topics featured */
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__img { min-height: 120px; font-size: 3rem; }
  .featured-post__body { padding: 1.5rem; }
  .topics-layout { grid-template-columns: 1fr; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }

  /* About intro */
  .about-intro-layout { grid-template-columns: 1fr; }
  .story-visual { display: none; }
}
