:root {
  --bg: #07111c;
  --bg-2: #0c1b2c;
  --panel: #102338;
  --line: rgba(62, 224, 211, 0.16);
  --line-strong: rgba(62, 224, 211, 0.38);
  --cyan: #8ee6d5;
  --cyan-2: #087c73;
  --blue: #7eb0ff;
  --gold: #d7c199;
  --paper: #f5f7f7;
  --paper-2: #e7eef3;
  --white: #f8fbfc;
  --ink: #122033;
  --ink-soft: #4a5b6e;
  --muted: #6b7c8f;
  --danger: #c45b5b;
  --header: 72px;
  --wrap: 1180px;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(7, 17, 28, 0.045);
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section {
  padding: 92px 0;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 42px;
}

.section-head h2,
.page-hero h1,
.hero-copy h1 {
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

.lead {
  color: var(--ink-soft);
  font-size: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(7, 17, 28, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 700;
}

.brand-text small {
  color: rgba(248, 251, 252, 0.62);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  color: rgba(248, 251, 252, 0.78);
  font-size: 14px;
  padding: 10px 8px;
  white-space: nowrap;
  border-radius: 8px;
}

.nav a:hover,
.nav a.is-active {
  color: var(--cyan);
  background: rgba(62, 224, 211, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-cyan {
  background: var(--cyan);
  color: var(--bg);
}

.btn-cyan:hover {
  background: #6aeee4;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-dark {
  background: var(--bg);
  color: var(--white);
}

.btn-dark:hover {
  background: #12263c;
}

.nav-toggle {
  display: none;
  width: 56px;
  height: 42px;
  padding: 0;
  white-space: nowrap;
  font-size: 14px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: transparent;
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 660px;
  color: var(--white);
  overflow: hidden;
  background: var(--bg);
}

.hero-media,
.hero-media img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 28, 0.92) 0%, rgba(7, 17, 28, 0.72) 46%, rgba(7, 17, 28, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 17, 28, 0.15), rgba(7, 17, 28, 0.55));
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 104px 0 80px;
}

.hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(36px, 4.6vw, 62px);
  max-width: 830px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-copy .lead,
.page-hero .lead {
  color: rgba(248, 251, 252, 0.78);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  background: rgba(62, 224, 211, 0.16);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  max-width: 820px;
}

.hero-meta div {
  background: rgba(7, 17, 28, 0.72);
  padding: 18px 16px;
}

.hero-meta b {
  display: block;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
}

.hero-meta span {
  color: rgba(248, 251, 252, 0.68);
  font-size: 13px;
}

.trust {
  background: var(--bg-2);
  color: rgba(248, 251, 252, 0.72);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.media-card,
.case-card,
.quote-card {
  background: var(--white);
  border: 1px solid #d9e3ea;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 168, 158, 0.45);
}

.card-index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan-2);
  letter-spacing: 0.12em;
}

.card h3 {
  margin: 10px 0 8px;
  font-size: 20px;
}

.card p,
.case-card p,
.media-copy p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 12px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.media-card {
  overflow: hidden;
}

.media-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.media-copy,
.case-body {
  padding: 24px;
}

.panel-dark {
  background: var(--bg);
  color: var(--white);
}

.panel-dark .lead,
.panel-dark p {
  color: rgba(248, 251, 252, 0.74);
}

.panel-dark .card {
  background: var(--panel);
  border-color: var(--line);
  color: var(--white);
  box-shadow: none;
}

.panel-dark .card p {
  color: rgba(248, 251, 252, 0.7);
}

.steps {
  display: grid;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid #d5e0e7;
}

.step b {
  font-family: var(--mono);
  color: var(--cyan-2);
  font-size: 20px;
}

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industries span {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #d5e0e7;
  border-radius: 999px;
  background: var(--white);
}

.case-card {
  overflow: hidden;
  display: grid;
}

.case-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 36px;
  border-radius: 20px;
  background:
    linear-gradient(120deg, rgba(62, 224, 211, 0.12), transparent 40%),
    var(--bg-2);
  color: var(--white);
  border: 1px solid var(--line);
}

.cta-band h2 {
  margin: 8px 0 8px;
}

.site-footer {
  background: #050c14;
  color: rgba(248, 251, 252, 0.72);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 15px;
}

.site-footer a {
  display: block;
  padding: 4px 0;
}

.site-footer a:hover {
  color: var(--cyan);
}

.copyright {
  padding-top: 18px;
  font-size: 13px;
  color: rgba(248, 251, 252, 0.45);
}

.page-hero {
  position: relative;
  min-height: 320px;
  color: var(--white);
  background: var(--bg);
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 28, 0.9), rgba(7, 17, 28, 0.45));
}

.page-hero .wrap {
  position: relative;
  padding: 72px 0;
}

.page-hero h1 {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 46px);
}

.breadcrumb {
  color: rgba(248, 251, 252, 0.55);
  font-size: 13px;
}

.form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cfdbe4;
  border-radius: 10px;
  padding: 12px 12px;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(62, 224, 211, 0.45);
  border-color: var(--cyan-2);
}

.form-note,
.form-status {
  font-size: 13px;
  color: var(--muted);
}

.form-status.is-ok {
  color: var(--cyan-2);
}

.form-status.is-err {
  color: var(--danger);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list div {
  padding: 16px;
  background: var(--white);
  border: 1px solid #d9e3ea;
  border-radius: 12px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-list span {
  padding: 8px 12px;
  background: var(--paper-2);
  border-radius: 8px;
  font-size: 13px;
}

.contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.qr-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 26px;
  background: var(--white);
  border: 1px solid #d9e3ea;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.qr-card img {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  border: 1px solid #e3ebf0;
}

.qr-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.qr-card strong {
  color: var(--ink);
}

.panel-dark .qr-card {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: none;
}

.panel-dark .qr-card p {
  color: rgba(248, 251, 252, 0.74);
}

.panel-dark .qr-card strong {
  color: var(--white);
}

.footer-contact {
  margin-top: 6px;
  font-size: 14px;
}

.footer-contact a {
  display: inline;
  color: var(--cyan);
}

.footer-qr {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Readability, keyboard access and restrained visual hierarchy. */
h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.45; text-wrap: balance; }
h3 { line-height: 1.5; }
picture { display: block; }
.hero-media picture, .page-hero-media picture { height: 100%; }
.hero .kicker, .page-hero .kicker, .panel-dark .kicker, .cta-band .kicker { color: var(--cyan); }
.panel-dark .case-card { color: var(--white); background: var(--panel); border-color: var(--line); box-shadow: none; }
.panel-dark .case-card .card-index { color: var(--cyan); }
.panel-dark .case-card p { color: #b9c7d3; }
.case-card h3 { margin: 10px 0; font-size: 21px; }
.case-card { transition: border-color 180ms ease, transform 180ms ease; }
a.case-card:hover { border-color: var(--cyan-2); transform: translateY(-3px); }
.media-copy { display: grid; gap: 12px; }
.media-copy h2 { font-size: 25px; }
.media-caption { padding: 10px 24px; color: var(--ink-soft); font-size: 12px; }
.panel-dark .media-caption { color: #b9c7d3; }
.cta-band > :first-child { flex: 1; min-width: 0; }
.cta-band .qr-card { flex: 0 0 230px; padding: 20px; }
.cta-band .qr-card img { width: 180px; height: 180px; }
.cta-band h2 { max-width: 760px; }
.cta-band > div > p:not(.kicker) { color: #c5d2dd; }
.footer-grid > *, .split > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
.copyright { color: #97a6b6; line-height: 2; }
.copyright a { display: inline; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb { color: #b7c6d4; }
:focus-visible { outline: 3px solid #087c73; outline-offset: 4px; }
.site-header :focus-visible, .site-footer :focus-visible, .panel-dark :focus-visible, .hero :focus-visible { outline-color: var(--cyan); }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 1000; padding: 12px 20px; background: #fff; color: var(--ink); border-radius: 6px; }
.skip-link:focus { top: 12px; }
#main-content { scroll-margin-top: var(--header); }
.consent-row { display: flex; align-items: flex-start; gap: 10px; line-height: 1.8; cursor: pointer; }
.form label:not(.consent-row) { display: block; }
.form label:not(.consent-row) input, .form label:not(.consent-row) textarea, .form label:not(.consent-row) select { display: block; margin-top: 6px; }
.required-mark { color: #6b7c8f; font-size: 12px; font-weight: 400; }
.consent-row input { flex: 0 0 18px; width: 18px; height: 18px; margin: 3px 0 0; padding: 0; accent-color: var(--cyan-2); }
.consent-row a, .form-note a, .form-status a, .privacy-content a { color: #087168; text-decoration: underline; text-underline-offset: 3px; }
.form-status { min-height: 24px; overflow-wrap: anywhere; }
.form-status.is-err { color: #a32e35; }
.form-status.is-ok { color: #086b4d; }
.form button:disabled { cursor: wait; opacity: .65; }
.privacy-content { max-width: 840px; }
.privacy-content h2 { margin: 32px 0 12px; font-size: 24px; }
.privacy-content p, .privacy-content ul { margin: 12px 0; }
.privacy-content li { margin: 8px 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.site-footer { padding-bottom: 88px; }
.case-link { display: block; margin-top: 18px; color: var(--cyan); font-size: 13px; letter-spacing: .04em; }
.case-nav { margin: 0 0 42px; }
.case-nav .chip { padding: 10px 16px; border: 1px solid #d3e0e4; background: #fff; transition: border-color 180ms; }
.case-nav .chip:hover { border-color: var(--cyan-2); }
.project-list { display: grid; gap: 52px; }
.project-case { display: grid; grid-template-columns: 0.92fr 1.08fr; background: var(--white); border: 1px solid #dbe4e8; border-radius: 14px; scroll-margin-top: 96px; }
.project-visual { background: #0b1c2c; min-width: 0; align-self: start; border-radius: 10px; overflow: hidden; margin: 28px 0 28px 28px; }
.project-visual img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.project-visual .media-caption { color: #afbfcd; padding: 16px 24px; font-size: 12px; line-height: 1.8; }
.project-copy { padding: 34px 36px; min-width: 0; }
.project-copy h2 { margin: 8px 0 14px; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.5; }
.project-stage { display: inline-block; color: #085f58; background: #e4f2ee; border: 1px solid #c3dfd7; padding: 5px 10px; border-radius: 5px; font-size: 12px; line-height: 1.7; }
.project-tags { margin: 16px 0 24px; }
.project-section { border-top: 1px solid #e1e8eb; padding-top: 18px; margin-top: 18px; }
.project-section h3 { margin-bottom: 8px; font-size: 15px; font-weight: 700; color: #18344a; }
.project-section p, .project-section li { color: #4a5b6e; font-size: 14px; line-height: 1.9; }
.project-section ul { margin: 8px 0 0; padding-left: 19px; }
.project-section li + li { margin-top: 7px; }
.project-section strong { font-weight: 600; color: #274257; }
@media (min-width: 981px) {
  .project-visual { position: sticky; top: 96px; }
}
@media (max-width: 980px) {
  .project-case { grid-template-columns: 1fr; }
  .project-visual { margin: 0; border-radius: 12px 12px 0 0; }
  .project-visual img { max-height: 420px; }
}

@media (max-width: 1120px) {
  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .nav-toggle {
    margin-left: 8px;
    flex-shrink: 0;
  }

  .nav.is-open {
    display: grid;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #07111c;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
    max-height: calc(100dvh - var(--header));
    overflow-y: auto;
  }

  .nav.is-open a {
    padding: 12px 10px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

}

@media (max-width: 980px) {
  .section { padding: 68px 0; }
  .hero { min-height: auto; }
  .hero-copy { padding: 80px 0 64px; }
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split,
  .form-row {
    grid-template-columns: 1fr;
  }
  .trust-inner { justify-content: flex-start; gap: 14px 26px; }
  .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step {
    grid-template-columns: 64px 1fr;
  }
}

@media (max-width: 640px) {
  :root { --header: 66px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { gap: 12px; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .brand-text strong { font-size: 16px; margin-bottom: 4px; }
  .section { padding: 52px 0; }
  .section-head { gap: 12px; margin-bottom: 28px; }
  .hero-copy { padding: 60px 0 44px; }
  .hero-copy h1 { font-size: clamp(32px, 8.5vw, 44px); line-height: 1.4; }
  .hero-media::after { background: linear-gradient(90deg, rgba(7,17,28,.94), rgba(7,17,28,.78)); }
  .hero-meta { margin-top: 36px; }
  .hero-meta div { padding: 16px 12px; }
  .hero-meta b { font-size: 17px; }
  .hero-meta span { font-size: 12px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 0 14px; font-size: 14px; }
  .lead { font-size: 15px; line-height: 1.9; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card, .media-copy, .case-body { padding: 24px; }
  .project-copy { padding: 24px; }
  .project-list { gap: 28px; }
  .project-visual .media-caption { padding: 12px 20px; }
  .case-nav { margin-bottom: 28px; gap: 8px; }
  .case-nav .chip { padding: 8px 10px; }
  .media-card img { height: 220px; }
  .cta-band { display: grid; padding: 26px; gap: 28px; border-radius: 12px; }
  .cta-band .qr-card { justify-self: start; width: 220px; }
  .page-hero { min-height: 260px; }
  .page-hero .wrap { padding: 56px 0; }
  .page-hero h1 { line-height: 1.45; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .step { grid-template-columns: 36px 1fr; gap: 14px; }
  input, textarea, select { font-size: 16px; }
  .trust-inner { gap: 12px 20px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal,
  .card {
    animation: none;
    transform: none;
    opacity: 1;
  }
}
