/* ==========================================================================
   智鲤商管 · 官方网站
   Aesthetic: 纸感编辑部 × 数据蓝图 — 墨黑 / 宣纸 / 锦鲤朱红
   ========================================================================== */

:root {
  --paper: #f4efe4;
  --paper-2: #ece4d3;
  --paper-3: #e3d9c5;
  --ink: #161311;
  --ink-2: #3d3630;
  --muted: #7c7267;
  --red: #d33a22;
  --red-deep: #a42410;
  --red-light: #f1664c;
  --gold: #d9a441;
  --line: rgba(22, 19, 17, 0.16);
  --line-soft: rgba(22, 19, 17, 0.09);
  --line-dark: rgba(244, 239, 228, 0.18);

  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --latin: "Baskerville", "Didot", "Playfair Display", "Times New Roman", serif;

  --max: 1280px;
  --pad: clamp(20px, 4.5vw, 68px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--red);
  color: var(--paper);
}

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

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

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* 纸张颗粒 ---------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px var(--pad);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(244, 239, 228, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 96;
  justify-self: start;
}

.brand__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand__logo {
  transform: rotate(-6deg) scale(1.05);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.brand__text small {
  margin-top: 3px;
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
  justify-self: center;
}

.nav a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 4px 0;
  color: var(--ink-2);
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__cta {
  justify-self: end;
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.header__cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.menu-btn {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 96;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 138px var(--pad) 0;
  overflow: hidden;
}

.hero__rules {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, var(--line-soft) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 26%, #000 92%, transparent);
  mask-image: linear-gradient(to bottom, transparent 4%, #000 26%, #000 92%, transparent);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  min-height: min(70vh, 680px);
  padding-bottom: 56px;
}

.hero__copy > * {
  animation: rise 1s var(--ease) both;
}

.hero__copy > :nth-child(1) {
  animation-delay: 0.05s;
}
.hero__copy > :nth-child(2) {
  animation-delay: 0.14s;
}
.hero__copy > :nth-child(3) {
  animation-delay: 0.26s;
}
.hero__copy > :nth-child(4) {
  animation-delay: 0.36s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(211, 58, 34, 0.45);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(211, 58, 34, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(211, 58, 34, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(211, 58, 34, 0);
  }
}

.hero h1 {
  margin: 20px 0 26px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.hero h1 em {
  position: relative;
  font-style: normal;
  color: var(--red);
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: -0.02em;
  right: -0.02em;
  bottom: 0.03em;
  height: 0.1em;
  background: var(--red);
  opacity: 0.22;
  transform: skewX(-14deg);
}

.hero__lede {
  max-width: 33em;
  margin-bottom: 36px;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2.1;
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 27px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease,
    transform 0.35s var(--ease);
}

.btn span {
  font-size: 15px;
  transition: transform 0.35s var(--ease);
}

.btn--solid {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.btn--solid:hover span {
  transform: translate(3px, -3px);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 470px;
}

.hero__sun {
  position: absolute;
  width: clamp(300px, 33vw, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #fdf6e6 0%, #ecdfc8 58%, #e2d3b8 100%);
  box-shadow: inset 0 0 0 1px rgba(22, 19, 17, 0.07),
    0 40px 90px -40px rgba(70, 40, 20, 0.45);
}

.hero__ring {
  position: absolute;
  width: clamp(338px, 37vw, 530px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(22, 19, 17, 0.22);
  animation: spin 60s linear infinite;
}

.hero__ring::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero__koi {
  position: relative;
  z-index: 2;
  width: clamp(250px, 29vw, 410px);
  filter: drop-shadow(0 26px 36px rgba(120, 35, 12, 0.16));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  background: rgba(248, 243, 233, 0.92);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 18px 40px -18px rgba(50, 30, 15, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.chip span {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.chip small {
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.chip--a {
  top: 7%;
  left: 0;
  transform: rotate(-4deg);
  animation: drift 9s ease-in-out infinite;
}

.chip--b {
  right: 1%;
  bottom: 11%;
  transform: rotate(3deg);
  animation: drift 9s ease-in-out infinite reverse;
}

@keyframes drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

.hero__vertical {
  position: absolute;
  top: 50%;
  right: -34px;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--muted);
  white-space: nowrap;
}

.hero__stats {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat + .stat {
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--line-soft);
}

.stat__num {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat__num small {
  font-size: 0.42em;
  margin-left: 3px;
  letter-spacing: 0;
}

.stat__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* Marquee ----------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding: 15px 0;
  background: var(--ink);
  color: var(--paper);
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__track > * {
  margin-right: 34px;
  white-space: nowrap;
}

.marquee span {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(244, 239, 228, 0.78);
}

.marquee i {
  font-style: normal;
  font-size: 7px;
  color: var(--red-light);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Section shared ---------------------------------------------------------- */
.section {
  padding: clamp(82px, 10vw, 148px) var(--pad);
}

.section > * {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section__head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 270px;
  align-items: end;
  gap: clamp(16px, 3vw, 40px);
  margin-bottom: clamp(46px, 6vw, 84px);
}

.section__index {
  font-family: var(--latin);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--red);
  padding-bottom: 0.5em;
}

.section__head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.24;
  letter-spacing: -0.03em;
}

.section__head h2 em {
  font-style: normal;
  color: var(--red);
}

.section__aside {
  padding-left: 18px;
  margin-bottom: 0.55em;
  border-left: 1px solid var(--line);
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* About ------------------------------------------------------------------- */
.about__body {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: start;
}

.about__text p {
  margin-bottom: 18px;
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--ink-2);
}

.about__text .lead {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.95;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(24px, 4vw, 56px);
  margin-top: 38px;
}

.facts div {
  padding: 16px 0 14px;
  border-top: 1px solid var(--line);
}

.facts dt {
  margin-bottom: 7px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.facts dd {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.01em;
}

.loop {
  position: sticky;
  top: 116px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(236, 228, 211, 0.9), rgba(244, 239, 228, 0.4));
  border: 1px solid var(--ink);
}

.loop__title {
  margin-bottom: 8px;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.loop ol li {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.loop ol li:first-child {
  border-top: none;
}

.loop b {
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 400;
  color: var(--red);
}

.loop li span {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.06em;
}

.loop li small {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.loop__note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-2);
}

/* Business ---------------------------------------------------------------- */
.biz-list {
  border-top: 1px solid var(--ink);
}

.biz {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 168px;
  align-items: start;
  gap: clamp(14px, 2.4vw, 30px);
  padding: 38px 26px 40px;
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease), color 0.5s var(--ease),
    padding-left 0.5s var(--ease);
}

.biz__index {
  padding-top: 7px;
  font-family: var(--latin);
  font-size: 13px;
  color: var(--red);
  transition: color 0.4s ease;
}

.biz__main h3 {
  margin-bottom: 13px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(23px, 2.4vw, 31px);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.biz__main p {
  max-width: 48em;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-2);
  transition: color 0.4s ease;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tags li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  transition: border-color 0.4s ease, color 0.4s ease;
}

.biz__en {
  padding-top: 10px;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-align: right;
  color: var(--muted);
  transition: color 0.4s ease;
}

.biz:hover {
  padding-left: 40px;
  background: var(--ink);
  color: var(--paper);
}

.biz:hover .biz__main p {
  color: rgba(244, 239, 228, 0.64);
}

.biz:hover .tags li {
  border-color: rgba(244, 239, 228, 0.26);
  color: rgba(244, 239, 228, 0.8);
}

.biz:hover .biz__en {
  color: var(--red-light);
}

/* Capability -------------------------------------------------------------- */
.capability {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 10vw, 148px) var(--pad);
  background: var(--ink);
  color: var(--paper);
}

.capability__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(244, 239, 228, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 239, 228, 0.045) 1px, transparent 1px);
  background-size: 12.5% 100%, 100% 120px;
  -webkit-mask-image: radial-gradient(120% 90% at 80% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 80% 0%, #000 0%, transparent 72%);
}

.capability::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 58, 34, 0.32), transparent 62%);
  pointer-events: none;
  filter: blur(20px);
}

.capability__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}

.section__head--dark .section__index {
  color: var(--red-light);
}

.section__head--dark h2 {
  color: var(--paper);
}

.section__head--dark h2 em {
  color: var(--red-light);
}

.section__head--dark .section__aside {
  border-left-color: var(--line-dark);
  color: rgba(244, 239, 228, 0.52);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.cap-grid article {
  padding: 34px 30px 46px;
  transition: background 0.45s ease;
}

.cap-grid article + article {
  border-left: 1px solid var(--line-dark);
}

.cap-grid article:hover {
  background: rgba(244, 239, 228, 0.035);
}

.cap__num {
  display: block;
  margin-bottom: 44px;
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--red-light);
}

.cap-grid h3 {
  margin-bottom: 13px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.cap-grid p {
  font-size: 12.5px;
  line-height: 2;
  color: rgba(244, 239, 228, 0.58);
}

.capability__tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2em 0.36em;
  margin-top: clamp(46px, 7vw, 78px);
  font-family: var(--serif);
  font-size: clamp(22px, 3.3vw, 42px);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.capability__tagline i {
  font-style: normal;
  color: var(--red-light);
}

/* Contact ----------------------------------------------------------------- */
.section--contact {
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact__label {
  margin-bottom: 14px;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.contact__phone {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  transition: color 0.3s ease;
}

.contact__phone:hover {
  color: var(--red);
}

.contact__hint {
  margin: 12px 0 30px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.contact__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(24px, 3vw, 40px);
}

.contact__info > div {
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
}

.contact__info span {
  display: block;
  margin-bottom: 9px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.contact__info p {
  font-size: 13.5px;
  line-height: 1.95;
}

.contact__info a {
  border-bottom: 1px solid var(--line);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact__info a:hover {
  color: var(--red);
  border-color: var(--red);
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 30px var(--pad) 34px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer__brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.footer__brand small {
  display: block;
  margin-top: 2px;
  font-family: var(--latin);
  font-size: 7.5px;
  letter-spacing: 0.18em;
}

.footer__top {
  transition: color 0.3s ease;
}

.footer__top:hover {
  color: var(--red);
}

/* Reveal ------------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .section__head {
    grid-template-columns: 48px minmax(0, 1fr) 230px;
  }

  .hero__vertical {
    display: none;
  }

  .biz {
    grid-template-columns: 56px minmax(0, 1fr) 120px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 12px var(--pad);
  }

  .header__cta {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 94;
    width: 100%;
    height: 100%;
    justify-self: stretch;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease),
      visibility 0.45s;
  }

  .nav a {
    font-family: var(--serif);
    font-size: 26px;
    letter-spacing: 0.08em;
    color: var(--ink);
  }

  .nav a::after {
    bottom: -4px;
  }

  .site-header.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body.nav-lock {
    overflow: hidden;
  }

  .hero {
    padding-top: 112px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 34px;
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(37px, 9.6vw, 56px);
  }

  .hero__visual {
    min-height: 330px;
  }

  .hero__sun {
    width: clamp(252px, 64vw, 330px);
  }

  .hero__ring {
    width: clamp(280px, 72vw, 372px);
  }

  .hero__koi {
    width: clamp(212px, 55vw, 300px);
  }

  .chip--a {
    top: 2%;
    left: 2%;
  }

  .chip--b {
    right: 2%;
    bottom: 4%;
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px 18px;
    padding-top: 4px;
    border-top: none;
  }

  .stat {
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .stat + .stat {
    padding-left: 0;
    border-left: none;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section__head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 44px;
  }

  .section__index {
    padding-bottom: 0;
  }

  .section__aside {
    padding-left: 0;
    border-left: none;
    margin-top: 4px;
  }

  .about__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .loop {
    position: static;
  }

  .biz {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 28px 8px 30px;
  }

  .biz:hover {
    padding-left: 16px;
  }

  .biz__en {
    display: none;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .cap-grid article {
    padding: 28px 20px 34px;
  }

  .cap-grid article + article {
    border-left: none;
    border-top: 1px solid var(--line-dark);
  }

  .cap__num {
    margin-bottom: 22px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 620px) {
  .brand__logo {
    width: 40px;
    height: 40px;
  }

  .brand__text strong {
    font-size: 16px;
  }

  .hero__actions .btn {
    padding: 13px 22px;
  }

  .chip {
    padding: 9px 12px;
  }

  .chip span {
    font-size: 10.5px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .contact__info {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal],
  .hero__copy > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
