:root {
  --navy: #062b53;
  --navy-2: #183e62;
  --ink: #23313d;
  --muted: #65747c;
  --paper: #fbf6ef;
  --paper-2: #f3ece4;
  --white: #ffffff;
  --line: rgba(8, 45, 85, 0.14);
  --coral: #e0836d;
  --sage: #93aaa1;
  --lavender: #b8aed8;
  --gold: #e3ad61;
  --mist: #edf2f0;
  --shadow: 0 22px 54px rgba(8, 45, 85, 0.11);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 18%, rgba(224, 131, 109, 0.14), transparent 12rem),
    radial-gradient(circle at 92% 10%, rgba(184, 174, 216, 0.18), transparent 14rem),
    linear-gradient(rgba(8, 45, 85, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 45, 85, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 34px 34px, 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 62%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(251, 247, 241, 0.86);
  border-bottom: 1px solid rgba(8, 45, 85, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-symbol {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(6, 43, 83, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, rgba(224, 131, 109, 0.18), transparent 44%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(8, 45, 85, 0.08);
}

.brand-symbol img {
  width: 26px;
  height: 24px;
  object-fit: contain;
}

.brand-wordmark {
  width: 164px;
  height: auto;
}

.brand-name {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(8, 45, 85, 0.07);
  outline: none;
}

.site-nav .nav-button {
  min-width: 154px;
  color: var(--white);
  background: var(--navy);
}

.nav-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero {
  min-height: 78svh;
  display: grid;
  align-content: center;
  padding: 112px max(28px, calc((100vw - var(--max)) / 2)) 76px;
  background:
    linear-gradient(90deg, rgba(251, 247, 241, 0.98) 0%, rgba(251, 247, 241, 0.9) 35%, rgba(251, 247, 241, 0.22) 72%, rgba(251, 247, 241, 0.08) 100%),
    url("assets/hero-nekomaru-editorial.png") center right / cover no-repeat;
  border-bottom: 10px solid var(--white);
  border-radius: 0 0 22px 22px;
}

.hero-copy {
  width: min(100%, 690px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.28;
  letter-spacing: 0;
}

h1 {
  max-width: 12em;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 3.9rem;
  font-weight: 700;
}

h2 {
  max-width: 820px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 2.15rem;
  font-weight: 700;
}

h3 {
  font-size: 1.12rem;
}

.hero-lead {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--navy-2);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 2;
}

.hero-statement {
  max-width: 12em;
  margin: 12px 0 0;
  color: var(--navy);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex: 0 0 auto;
}

.button.primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 26px rgba(8, 45, 85, 0.18);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.68);
}

.button.light {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(8, 45, 85, 0.16);
  outline: none;
}

.hero-metrics {
  display: flex;
  max-width: 700px;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 58px;
}

.hero-metrics span {
  padding: 7px 13px;
  border: 1px solid rgba(8, 45, 85, 0.13);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 800;
}

.section {
  position: relative;
  padding: 88px max(28px, calc((100vw - var(--max)) / 2));
}

.section::before {
  content: "";
  position: absolute;
  top: 30px;
  left: max(28px, calc((100vw - var(--max)) / 2));
  width: 40px;
  height: 37px;
  background: url("assets/mark-nekomaru-black.png") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 42px;
}

.section-heading.split {
  grid-template-columns: minmax(0, 0.68fr) minmax(260px, 0.32fr);
  align-items: end;
  gap: 38px;
}

.section-heading > p,
.section-heading.split > p {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.9;
}

.about {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--white), #fffbf6);
}

.about::after {
  content: "";
  position: absolute;
  right: max(28px, calc((100vw - var(--max)) / 2));
  top: 120px;
  width: min(32vw, 380px);
  height: min(32vw, 380px);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(147, 170, 161, 0.18), transparent 63%),
    radial-gradient(circle at 74% 24%, rgba(224, 131, 109, 0.16), transparent 28%);
  pointer-events: none;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.48fr);
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-copy p {
  max-width: 700px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

.about-copy .about-lead {
  max-width: 720px;
  color: var(--navy-2);
  font-size: 1.15rem;
  font-weight: 800;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(6, 43, 83, 0.13);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
}

.about-tags span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 9px 0 0 var(--sage);
}

.about-summary {
  position: relative;
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(6, 43, 83, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224, 131, 109, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 246, 239, 0.84));
  box-shadow: 0 16px 36px rgba(8, 45, 85, 0.08);
}

.about-summary::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -16px;
  width: 132px;
  height: 122px;
  background: url("assets/mark-nekomaru-black.png") center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
}

.about-summary-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.about-symbol {
  width: 64px;
  height: 58px;
  object-fit: contain;
  padding: 12px;
  border: 1px solid rgba(6, 43, 83, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 20%, rgba(184, 174, 216, 0.22), transparent 48%),
    rgba(255, 255, 255, 0.76);
}

.about-summary .case-label {
  margin: 0 0 6px;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-summary h3 {
  font-size: 1rem;
}

.about-mini-image {
  min-height: 150px;
  border: 1px solid rgba(6, 43, 83, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(6, 43, 83, 0.24)),
    url("assets/work-localization.jpg") center / cover no-repeat;
}

.about-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.about-panel div {
  padding: 14px;
  border: 1px solid rgba(6, 43, 83, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(147, 170, 161, 0.12), transparent 56%),
    rgba(255, 255, 255, 0.68);
}

.about-panel strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.1;
}

.about-panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.business {
  background:
    linear-gradient(180deg, #fffbf6, var(--mist));
}

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

.business-card {
  overflow: hidden;
  border: 1px solid rgba(6, 43, 83, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(8, 45, 85, 0.08);
}

.business-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 230px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(6, 43, 83, 0.1);
}

.business-card div {
  padding: 24px;
}

.business-card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.business-card .case-label {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.services {
  background:
    linear-gradient(180deg, var(--paper), #fffaf5 70%, var(--paper-2));
}

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

.service-card {
  position: relative;
  min-height: 286px;
  padding: 26px 24px;
  overflow: hidden;
  border: 1px solid rgba(6, 43, 83, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76)),
    radial-gradient(circle at 92% 10%, rgba(184, 174, 216, 0.18), transparent 8rem);
  box-shadow: 0 12px 30px rgba(8, 45, 85, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -28px;
  width: 98px;
  height: 90px;
  background: url("assets/mark-nekomaru-black.png") center / contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(8, 45, 85, 0.12);
}

.service-card h3 {
  margin-top: 22px;
}

.service-card p,
.strength-list p,
.work-card span,
.contact-copy p {
  margin: 12px 0 0;
  color: var(--muted);
}

.service-icon {
  --icon-base: #93a0cf;
  --icon-deep: #7583ba;
  --icon-accent: #e0836d;
  position: relative;
  display: inline-grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 22px 22px 16px 22px;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.45), transparent 22px),
    linear-gradient(135deg, var(--icon-base), var(--icon-deep));
  color: var(--white);
  box-shadow: 0 12px 26px rgba(8, 45, 85, 0.14);
}

.service-icon::before {
  content: "";
  position: absolute;
  right: -6px;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--icon-accent);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.68);
}

.service-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -7px;
  width: 34px;
  height: 17px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.72);
  border-left: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 0 0 0 18px;
  transform: rotate(-8deg);
}

.service-icon svg {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.translate { --icon-base: #9aa6d7; --icon-deep: #7482bd; --icon-accent: #e0836d; }
.sns { --icon-base: #e58c75; --icon-deep: #ca715d; --icon-accent: #b8aed8; }
.audio { --icon-base: #94aaa1; --icon-deep: #758f85; --icon-accent: #e3ad61; }
.comic { --icon-base: #e3ad61; --icon-deep: #cf9244; --icon-accent: #93aaa1; }
.goods { --icon-base: #8da3d8; --icon-deep: #6f87bd; --icon-accent: #e0836d; }
.event { --icon-base: #a486b2; --icon-deep: #886a98; --icon-accent: #e3ad61; }
.drama { --icon-base: #73a0ad; --icon-deep: #5a8795; --icon-accent: #b8aed8; }
.strategy { --icon-base: #6685a2; --icon-deep: #4e6f8d; --icon-accent: #93aaa1; }

.strengths {
  background: var(--white);
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.strength-list article {
  min-height: 282px;
  padding: 24px;
  background: var(--paper);
}

.strength-list span {
  display: inline-grid;
  min-width: 42px;
  height: 32px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
}

.works {
  background:
    linear-gradient(180deg, #fffaf5, rgba(237, 242, 240, 0.92));
}

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

.work-card {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 43, 83, 0.04), rgba(6, 43, 83, 0.82)),
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.28), transparent 8rem);
  z-index: 1;
}

.work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.work-card p {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card h3 {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.work-card span {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.flow {
  background:
    linear-gradient(180deg, var(--white), #fffaf5);
}

.flow-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 34px;
}

.flow-heading p:last-child {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.9;
}

.flow-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(6, 43, 83, 0.12);
  border-radius: 8px;
  margin: 0;
  padding: 0;
  background: rgba(6, 43, 83, 0.12);
  box-shadow: 0 16px 36px rgba(8, 45, 85, 0.07);
}

.flow-list li {
  position: relative;
  min-height: 210px;
  padding: 24px;
  background:
    radial-gradient(circle at 92% 12%, rgba(184, 174, 216, 0.12), transparent 5rem),
    rgba(251, 246, 239, 0.94);
}

.flow-list li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--sage), var(--lavender));
}

.flow-list li:last-child::after {
  display: block;
}

.flow-list span,
.tone-board span {
  display: inline-grid;
  min-width: 42px;
  height: 32px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
}

.flow-list p,
.tone p {
  color: var(--muted);
  margin: 12px 0 0;
}

.tone {
  background:
    linear-gradient(135deg, rgba(224, 131, 109, 0.12), transparent 36%),
    linear-gradient(180deg, var(--paper-2), #fffaf5);
  border-top: 1px solid rgba(224, 131, 109, 0.18);
  border-bottom: 1px solid rgba(224, 131, 109, 0.18);
}

.tone-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.54fr);
  gap: 42px;
  align-items: center;
}

.tone-copy p {
  max-width: 760px;
}

.tone-board {
  display: grid;
  gap: 12px;
}

.tone-board div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 2px 16px;
  padding: 20px;
  border: 1px solid rgba(6, 43, 83, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(251, 246, 239, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(147, 170, 161, 0.12), transparent 7rem);
  box-shadow: 0 10px 26px rgba(8, 45, 85, 0.06);
}

.tone-board span {
  grid-row: span 2;
  margin-bottom: 0;
  background: var(--sage);
}

.tone-board strong {
  color: var(--navy);
}

.tone-board p {
  margin: 0;
}

.company {
  background: var(--paper);
}

.company-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-table div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--navy);
  font-weight: 900;
}

.company-table dd {
  margin: 0;
  color: var(--muted);
}

.company-table a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.56fr);
  gap: 42px;
  padding: 86px max(28px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 45, 85, 0.98), rgba(8, 45, 85, 0.86)),
    url("assets/hero-nekomaru-editorial.png") center / cover no-repeat;
}

.contact h2,
.contact-copy p {
  color: var(--white);
}

.contact .eyebrow {
  color: var(--gold);
}

.contact-copy p {
  max-width: 680px;
  opacity: 0.82;
  margin-bottom: 28px;
}

.contact-placeholder {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.contact-placeholder label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-placeholder input,
.contact-placeholder textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.12);
}

.contact-placeholder textarea {
  min-height: 116px;
  resize: vertical;
}

.contact-placeholder button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  color: rgba(8, 45, 85, 0.72);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px max(28px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: #061f3b;
}

.footer-main {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.footer-main img {
  width: 136px;
  height: auto;
}

.footer-main .footer-mark {
  width: 42px;
  height: 38px;
  object-fit: contain;
  opacity: 0.86;
}

.footer-main p {
  margin: 0;
  font-size: 0.86rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  font-weight: 800;
}

.site-footer a {
  color: var(--white);
}

.legal-page {
  min-height: 100svh;
  background: var(--paper);
}

.legal-hero {
  padding: 96px max(28px, calc((100vw - 880px) / 2)) 42px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.legal-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 54px 28px 82px;
}

.legal-content section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  font-size: 1.45rem;
}

.legal-content p,
.legal-content li,
.legal-content dd {
  color: var(--muted);
}

.legal-content dl {
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
}

.legal-content dl div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content dt {
  color: var(--navy);
  font-weight: 900;
}

.legal-content dd {
  margin: 0;
}

.back-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1060px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 72svh;
    background:
      linear-gradient(180deg, rgba(251, 247, 241, 0.98) 0%, rgba(251, 247, 241, 0.94) 52%, rgba(251, 247, 241, 0.48) 100%),
      url("assets/hero-nekomaru-editorial.png") 64% bottom / 1320px auto no-repeat;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.78rem;
  }

  .section-heading.split,
  .about-layout,
  .flow-heading,
  .tone-shell,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .business-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strength-list,
  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    padding-inline: 18px;
  }

  .brand-wordmark {
    width: 144px;
  }

  .brand-name {
    display: none;
  }

  .site-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .site-nav a {
    border: 1px solid rgba(8, 45, 85, 0.08);
    background: rgba(255, 255, 255, 0.42);
    font-size: 0.82rem;
  }

  .site-nav .nav-button {
    min-width: 0;
    grid-column: span 2;
  }

  .hero {
    min-height: auto;
    padding: 58px 18px 34px;
    background:
      linear-gradient(180deg, rgba(251, 247, 241, 1) 0%, rgba(251, 247, 241, 0.96) 54%, rgba(251, 247, 241, 0.72) 100%),
      url("assets/hero-nekomaru-editorial.png") 64% bottom / 980px auto no-repeat;
  }

  h1 {
    max-width: 100%;
    font-size: 2.25rem;
  }

  .hero-statement {
    font-size: 1.62rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .hero-lead,
  .about-copy p {
    font-size: 0.98rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section,
  .contact {
    padding: 58px 18px;
  }

  .section::before {
    top: 18px;
    left: 18px;
    width: 32px;
    height: 30px;
  }

  .service-grid,
  .business-grid,
  .work-grid,
  .strength-list,
  .flow-list,
  .about-panel {
    grid-template-columns: 1fr;
  }

  .service-card,
  .business-card,
  .strength-list article,
  .flow-list li,
  .work-card {
    min-height: auto;
  }

  .service-card.wide {
    grid-column: span 1;
  }

  .work-card {
    min-height: 260px;
  }

  .about-summary {
    padding: 20px;
  }

  .about-summary-head {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .about-symbol {
    width: 52px;
    height: 48px;
    padding: 10px;
  }

  .about-mini-image {
    min-height: 180px;
  }

  .company-table div,
  .legal-content dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer,
  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero {
    padding: 58px 18px 32px;
  }

  .legal-content {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}
