/* ============================================================
   869 LLC — corporate page (brand.869biz.com/company/)
   Craft × Intelligence — ブランドの墨紺/生成り/金を、より硬質に
   ============================================================ */

:root {
  --ink-900: #0c0f18;
  --ink-800: #11151f;
  --ink-700: #161b29;
  --ink-600: #1d2436;
  --ink-line: rgba(242, 237, 227, 0.14);

  --washi-50: #f4f0e6;
  --washi-100: #ece7db;
  --washi-200: #e2dccc;
  --washi-line: rgba(19, 23, 38, 0.14);

  --gold: #b08d57;
  --gold-soft: #c5a878;
  --silver: #9aa0a8;

  --text-on-ink: #ece8dd;
  --text-on-ink-muted: #9d9a90;
  --text-on-washi: #1d2230;
  --text-on-washi-muted: #5d5a50;

  --serif-ja: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --serif-en: "Cormorant Garamond", Georgia, serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text-on-ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.nowrap { white-space: nowrap; }
sup { font-size: 0.55em; }

::selection { background: var(--gold); color: var(--ink-900); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.btn--gold {
  background: var(--gold);
  color: var(--ink-900);
  border: 1px solid var(--gold);
  font-weight: 500;
}
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--ink-line);
  color: var(--text-on-ink);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  transition: background 0.5s, backdrop-filter 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(12, 15, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--ink-line);
}
.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header__mark { width: 30px; height: auto; }
.header__name {
  font-family: var(--serif-en);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  font-weight: 500;
}
.header__name small {
  font-size: 0.62em;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
}
.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
}
.header__nav a {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.3s, color 0.3s;
}
.header__nav a:hover { opacity: 1; }
.header__brandlink { color: var(--gold-soft); }
.header__cta {
  padding: 9px 22px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  transition: border-color 0.3s, color 0.3s, opacity 0.3s;
}
.header__cta:hover { border-color: var(--gold); color: var(--gold-soft); }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.header__burger span {
  width: 26px; height: 1px;
  background: var(--text-on-ink);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.header__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-content: center;
  gap: 8px;
  background: rgba(12, 15, 24, 0.96);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s, visibility 0.45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--serif-ja);
  font-size: 1.3rem;
  text-decoration: none;
  padding: 10px 24px;
}
.mobile-menu a small {
  font-family: var(--serif-en);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
}

/* ---------- sections common ---------- */
.section--washi {
  background: var(--washi-50);
  color: var(--text-on-washi);
}
.section--ink {
  background: var(--ink-900);
  color: var(--text-on-ink);
}
.section-head { margin-bottom: clamp(36px, 6vw, 64px); }
.section-head__en {
  margin: 0 0 6px;
  font-family: var(--serif-en);
  font-size: 0.85rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-head__ja {
  margin: 0;
  font-family: var(--serif-ja);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.6;
}
.section-head__note {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--text-on-washi-muted);
}
.section-head--light .section-head__note { color: var(--text-on-ink-muted); }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.reveal.d4 { transition-delay: 0.48s; }
.reveal.d5 { transition-delay: 0.6s; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) clamp(20px, 6vw, 80px) 60px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 15, 24, 0.94) 22%, rgba(12, 15, 24, 0.55) 58%, rgba(12, 15, 24, 0.35) 100%),
    linear-gradient(to top, rgba(12, 15, 24, 0.92), transparent 40%);
}
.hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--serif-en);
  font-size: 0.85rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.hero__title {
  margin: 0;
  font-family: var(--serif-ja);
  font-weight: 500;
  font-size: clamp(2rem, 5.6vw, 4rem);
  line-height: 1.5;
  letter-spacing: 0.06em;
}
.hero__title span { display: block; }
.hero__sub {
  margin: 18px 0 0;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(0.95rem, 1.7vw, 1.2rem);
  color: var(--gold-soft);
  letter-spacing: 0.08em;
}
.hero__lead {
  margin: 22px 0 0;
  max-width: 640px;
  font-size: 0.95rem;
  color: var(--text-on-ink-muted);
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero__stats {
  list-style: none;
  margin: clamp(40px, 7vh, 80px) 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--ink-line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--serif-en);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 400;
  color: var(--gold-soft);
  line-height: 1.2;
}
.hero__stats span {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--text-on-ink-muted);
}

/* ---------- about ---------- */
.about { padding: clamp(70px, 11vw, 130px) clamp(20px, 6vw, 80px); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  max-width: 1100px;
}
.about__text p {
  margin: 0 0 1.4em;
  font-size: 0.96rem;
}
.about__text em {
  font-style: normal;
  color: var(--gold);
  font-family: var(--serif-ja);
}
.about__facts {
  margin: 0;
  border-top: 1px solid var(--washi-line);
  font-size: 0.88rem;
  height: fit-content;
}
.about__facts > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--washi-line);
}
.about__facts dt {
  color: var(--text-on-washi-muted);
  letter-spacing: 0.1em;
}
.about__facts dd { margin: 0; }

/* ---------- divisions ---------- */
.divisions { padding: clamp(70px, 11vw, 130px) clamp(20px, 6vw, 80px); }
.division-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 30px);
  max-width: 1240px;
}
.division-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  background: var(--ink-800);
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
}
.division-card:hover {
  transform: translateY(-6px);
  border-color: rgba(176, 141, 87, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.division-card__logo {
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--washi-50);
  display: grid;
  place-items: center;
}
.division-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.division-card__logo--brand { padding: 14px; }
.division-card__logo--brand img { object-fit: contain; }
.division-card__en {
  margin: 0;
  font-family: var(--serif-en);
  font-size: 0.85rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.division-card__ja {
  margin: 4px 0 2px;
  font-family: var(--serif-ja);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.division-card__role {
  margin: 0 0 14px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-on-ink-muted);
}
.division-card__desc {
  margin: 0 0 18px;
  font-size: 0.88rem;
  line-height: 1.95;
  color: var(--text-on-ink-muted);
  flex: 1;
}
.division-card__tags {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.division-card__tags li {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--text-on-ink-muted);
}
.division-card__link {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--gold-soft);
}
.division-card__link:hover { color: var(--gold); }

/* ---------- capabilities ---------- */
.capabilities {
  padding: clamp(70px, 11vw, 130px) clamp(20px, 6vw, 80px);
  background:
    radial-gradient(1100px 520px at 80% -10%, rgba(176, 141, 87, 0.08), transparent 60%),
    var(--ink-900);
}
.cap-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.cap-filter__btn {
  font-family: var(--serif-en);
  font-size: 0.82rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 8px 22px;
  background: none;
  color: var(--text-on-ink-muted);
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.cap-filter__btn:hover { color: var(--text-on-ink); }
.cap-filter__btn.is-active {
  color: var(--ink-900);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 500;
}

.cap-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
  align-items: stretch;
  max-width: 1240px;
}
.cap-map {
  position: relative;
  min-height: 480px;
  background: rgba(17, 21, 31, 0.72);
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  overflow: hidden;
}
.cap-map svg { display: block; width: 100%; height: 100%; }

.cap-map .edge {
  stroke: rgba(176, 141, 87, 0.36);
  stroke-width: 1.2;
  fill: none;
  transition: stroke 0.35s, opacity 0.35s;
}
.cap-map .edge.is-dim { opacity: 0.12; }
.cap-map .packet { fill: var(--gold-soft); opacity: 0.85; }

.cap-map .node { cursor: pointer; transition: opacity 0.35s; outline: none; }
.cap-map .node .hit { fill: transparent; stroke: none; }
.cap-map .node:focus-visible circle { stroke: var(--gold); stroke-width: 2; }
.cap-map .node.is-dim { opacity: 0.16; pointer-events: none; }
.cap-map .node circle {
  fill: var(--ink-600);
  stroke: rgba(176, 141, 87, 0.75);
  stroke-width: 1.3;
  transition: fill 0.3s, stroke 0.3s, r 0.3s;
}
.cap-map .node text {
  fill: var(--text-on-ink);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-anchor: middle;
  pointer-events: none;
}
.cap-map .node .node__en {
  fill: var(--text-on-ink-muted);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cap-map .node:hover circle,
.cap-map .node.is-active circle {
  fill: var(--ink-600);
  stroke: var(--gold);
  stroke-width: 1.6;
}
.cap-map .node--root circle { fill: var(--gold); stroke: var(--gold); }
.cap-map .node--root text { fill: var(--ink-900); font-weight: 700; }
.cap-map .node--division circle { fill: var(--ink-600); }
.cap-map .node--division text { font-weight: 500; }
.cap-map .node--division .ring {
  fill: none;
  stroke: rgba(176, 141, 87, 0.35);
  stroke-width: 1;
  animation: capPulse 3.2s ease-out infinite;
}
@keyframes capPulse {
  0% { transform: scale(0.86); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}
.cap-map .node--division .ring { transform-origin: center; transform-box: fill-box; }

.cap-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--ink-800);
  border: 1px solid var(--ink-line);
  border-radius: 6px;
}
.cap-panel__logo { width: 84px; min-height: 0; margin-bottom: 16px; }
.cap-panel__logo img {
  width: 84px; height: 84px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--washi-50);
}
.cap-panel__logo img.is-contain { object-fit: contain; padding: 10px; }
.cap-panel__division {
  margin: 0;
  font-family: var(--serif-en);
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.cap-panel__title {
  margin: 6px 0 0;
  font-family: var(--serif-ja);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.cap-panel__en {
  margin: 2px 0 14px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-on-ink-muted);
}
.cap-panel__desc {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.95;
  color: var(--text-on-ink-muted);
  flex: 1;
}
.cap-panel__tags {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cap-panel__tags li {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 3px 11px;
  border: 1px solid rgba(176, 141, 87, 0.4);
  border-radius: 999px;
  color: var(--gold-soft);
}

.cap-services { margin-top: clamp(30px, 4vw, 48px); max-width: 1240px; }
.cap-services__head {
  margin: 0 0 18px;
  font-family: var(--serif-en);
  font-size: 0.78rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--text-on-ink-muted);
}
.cap-services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.cap-services__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 20px 14px;
  background: var(--ink-800);
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.cap-services__list li:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 141, 87, 0.55);
}
.cap-services__list img {
  width: 86px; height: 86px;
  border-radius: 4px;
  object-fit: cover;
  margin-bottom: 8px;
}
.cap-services__list span {
  font-family: var(--serif-en);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}
.cap-services__list small {
  font-size: 0.72rem;
  color: var(--text-on-ink-muted);
  letter-spacing: 0.08em;
}

/* ---------- organization ---------- */
.organization { padding: clamp(70px, 11vw, 130px) clamp(20px, 6vw, 80px); }
.org { max-width: 1180px; }
.org__root {
  display: flex;
  justify-content: center;
  position: relative;
  padding-bottom: 38px;
}
.org__root::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 38px;
  background: var(--washi-line);
}
.org-node {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--washi-line);
  border-radius: 6px;
  padding: 16px 26px;
  box-shadow: 0 10px 28px rgba(19, 23, 38, 0.07);
}
.org-node strong {
  display: block;
  font-family: var(--serif-ja);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.org-node small {
  display: block;
  font-family: var(--serif-en);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-on-washi-muted);
}
.org-node--root { border-top: 3px solid var(--gold); }
.org__tier {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  padding-top: 38px;
}
.org__tier::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--washi-line);
}
.org__branch { position: relative; }
.org__branch::before {
  content: "";
  position: absolute;
  top: -38px;
  left: 50%;
  width: 1px;
  height: 38px;
  background: var(--washi-line);
}
.org-node--division {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border-top: 3px solid var(--gold);
}
.org__branch[data-division="atelier"] .org-node--division { border-top-color: var(--ink-800); }
.org__branch[data-division="bridge"] .org-node--division { border-top-color: var(--silver); }
.org__leaves {
  list-style: none;
  margin: 0;
  padding: 18px 0 0 22px;
  border-left: 1px solid var(--washi-line);
}
.org__leaves li {
  position: relative;
  font-size: 0.85rem;
  padding: 7px 0 7px 18px;
  color: var(--text-on-washi-muted);
}
.org__leaves li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--washi-line);
}
.org__leaves li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--gold);
}

/* ---------- CSR ---------- */
.csr {
  position: relative;
  padding: clamp(90px, 13vw, 160px) clamp(20px, 6vw, 80px);
  overflow: hidden;
}
.csr__bg { position: absolute; inset: 0; }
.csr__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.csr__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(12, 15, 24, 0.92) 30%, rgba(12, 15, 24, 0.6) 65%, rgba(12, 15, 24, 0.42) 100%);
}
.csr__content { position: relative; max-width: 860px; }
.csr__lead {
  margin: 0;
  font-family: var(--serif-ja);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 2.3;
  letter-spacing: 0.06em;
}
.csr__points {
  list-style: none;
  margin: clamp(34px, 5vw, 54px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.csr__points li {
  padding: 22px 24px;
  background: rgba(17, 21, 31, 0.78);
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.csr__points strong {
  display: block;
  font-family: var(--serif-ja);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--gold-soft);
}
.csr__points p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.95;
  color: var(--text-on-ink-muted);
}

/* ---------- contact ---------- */
.contact {
  padding: clamp(70px, 11vw, 130px) clamp(20px, 6vw, 80px);
  text-align: center;
}
.contact .section-head { text-align: center; }
.contact__inner { max-width: 640px; margin: 0 auto; }
.contact__note {
  margin: 0 0 30px;
  font-size: 0.94rem;
}
.contact__note strong { color: var(--gold); font-weight: 600; }
.contact__mail {
  display: inline-block;
  font-family: var(--serif-en);
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 14px 38px;
  border: 1px solid var(--text-on-washi);
  border-radius: 999px;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.contact__mail:hover {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--washi-50);
}
.contact__sub {
  margin: 22px 0 0;
  font-size: 0.78rem;
  color: var(--text-on-washi-muted);
}

/* ---------- footer ---------- */
.footer {
  padding: clamp(56px, 8vw, 90px) clamp(20px, 6vw, 80px) 40px;
  text-align: center;
  border-top: 1px solid var(--ink-line);
}
.footer__mark { margin: 0 auto 14px; opacity: 0.9; }
.footer__brand {
  margin: 0;
  font-family: var(--serif-en);
  font-size: 1.15rem;
  letter-spacing: 0.3em;
}
.footer__tagline {
  margin: 6px 0 26px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-on-ink-muted);
}
.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 26px;
}
.footer__nav a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.footer__nav a:hover { opacity: 1; }
.footer__legal {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-on-ink-muted);
  letter-spacing: 0.1em;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cap-layout { grid-template-columns: 1fr; }
  .cap-map { min-height: 420px; }
  .division-cards { grid-template-columns: 1fr; max-width: 560px; }
  .about__grid { grid-template-columns: 1fr; }
  .org__tier { grid-template-columns: 1fr; }
  .org__tier::before { display: none; }
  .org__branch::before { display: none; }
  .org__root { justify-content: flex-start; }
  .org__root::after { left: 40px; }
  .csr__points { grid-template-columns: 1fr; }
  .cap-services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-map { min-height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; }
  .cap-map .node--division .ring { animation: none; opacity: 0; }
}
