:root {
  --ink: #171b22;
  --muted: #5f6b78;
  --paper: #f6f8fb;
  --surface: #ffffff;
  --line: #d6dee7;
  --blue: #1769e0;
  --lime: #ddfb46;
  --orange: #fa6b4b;
  --shadow: 0 18px 42px rgba(36, 49, 66, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif; line-height: 1.5; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.page-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
@media (max-width: 720px) { .page-shell { width: min(100% - 28px, 620px); } }

body {
  min-width: 320px;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  color: var(--blue);
  font-weight: 650;
}

.site-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.site-links a:hover,
.site-links a[aria-current="true"] {
  color: var(--blue);
}

.menu-button {
  display: none;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  font-weight: 700;
}

main,
section,
footer {
  scroll-margin-top: 92px;
}

.hero {
  min-height: 650px;
  padding-block: 88px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.eyebrow,
.panel-index,
.case-label {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-name {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 5.4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: var(--surface);
}

.button-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.button-secondary {
  background: transparent;
}

.button-secondary:hover {
  background: var(--surface);
  border-color: var(--blue);
  color: var(--blue);
}

.hero-art {
  min-height: 370px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  background: var(--blue);
  color: var(--surface);
  box-shadow: var(--shadow);
}

.hero-art span {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-art strong {
  grid-column: 1 / -1;
  align-self: center;
  color: var(--lime);
  font-size: 11rem;
  line-height: 0.78;
  letter-spacing: 0;
}

.hero-art small {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.evidence {
  background: var(--ink);
  color: var(--surface);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.evidence article {
  min-height: 170px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.evidence article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.evidence strong {
  color: var(--lime);
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: 0;
}

.evidence span {
  color: #dfe5eb;
  font-size: 0.9rem;
}

.section {
  padding-block: clamp(76px, 10vw, 124px);
}

.section-heading {
  margin-bottom: 44px;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  align-items: end;
  gap: 48px;
}

.section-heading h2 {
  margin: 0;
  font-size: 4rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.workflow {
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-block: 1px solid var(--line);
}

.workflow li {
  min-height: 86px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
  font-weight: 800;
}

.workflow li:last-child {
  border-right: 0;
}

.workflow span {
  color: var(--orange);
  font-size: 0.75rem;
}

.brief-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.brief-intro {
  padding: clamp(28px, 5vw, 54px);
  background: var(--blue);
  color: var(--surface);
}

.brief-intro .panel-index {
  color: var(--surface);
}

.brief-intro h3 {
  margin: 0;
  font-size: 2.8rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.brief-intro p:last-child {
  margin: 24px 0 0;
  color: var(--surface);
}

#product-brief-form {
  padding: clamp(28px, 5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 20px;
}

#product-brief-form label {
  font-size: 0.88rem;
  font-weight: 750;
}

#product-brief-form label:first-of-type,
#product-brief-form textarea,
#product-brief-form .button {
  grid-column: 1 / -1;
}

#product-brief-form label span {
  color: var(--muted);
  font-weight: 500;
}

#product-brief-form input,
#product-brief-form textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  resize: vertical;
}

#product-brief-form input:focus,
#product-brief-form textarea:focus {
  border-color: var(--blue);
}

#product-brief-form .button {
  margin-top: 12px;
}

.brief-status,
.brief-result {
  margin: 20px 0 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.cases-section {
  width: 100%;
  background: #e9eef4;
}

.case-list {
  display: grid;
  gap: 34px;
}

.case-study {
  padding: clamp(22px, 4vw, 42px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.case-header {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.case-header h3 {
  margin: 0;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 0;
}

.case-label {
  margin-bottom: 12px;
}

.case-result-group {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.case-result {
  margin: 0;
  padding: 8px 11px;
  background: var(--lime);
  font-size: 0.85rem;
  font-weight: 800;
  text-align: right;
}

.case-media {
  margin: 0;
  display: grid;
  gap: 12px;
}

.case-media-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-media-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: top;
  background: var(--paper);
  border: 1px solid var(--line);
}

.case-media figcaption {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.78rem;
}

.case-details {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.case-details > div {
  padding: 24px 20px 0;
  border-left: 1px solid var(--line);
}

.case-details > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.case-details h4 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.76rem;
  letter-spacing: 0;
}

.case-details p,
.case-details ul {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.case-details ul {
  padding-left: 18px;
}

.case-details li + li {
  margin-top: 5px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.capability {
  min-height: 310px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}

.capability:last-child {
  border-right: 1px solid var(--line);
}

.capability > span {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 800;
}

.capability h3 {
  margin: auto 0 20px;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.capability p {
  margin: 0;
  color: var(--muted);
}

#contact {
  padding-block: 64px;
  background: var(--ink);
  color: var(--surface);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
}

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

.contact-title {
  margin: 0;
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.contact-links {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.contact-links a {
  color: var(--surface);
  font-weight: 700;
  text-underline-offset: 4px;
}

.contact-links p {
  margin: 8px 0 0;
  color: #b6c0cb;
}

@media (max-width: 900px) {
  h1 {
    font-size: 4.8rem;
  }

  .section-heading h2 {
    font-size: 3.6rem;
  }

  .hero-art strong {
    font-size: 9.5rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    min-height: 300px;
  }

  .section-heading-split,
  .brief-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-details > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .capability-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .capability {
    min-height: 230px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .capability:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 3.7rem;
  }

  .section-heading h2 {
    font-size: 3rem;
  }

  .brief-intro h3 {
    font-size: 2.4rem;
  }

  .case-header h3 {
    font-size: 2.7rem;
  }

  .hero-art strong {
    font-size: 8.5rem;
  }

  .contact-title {
    font-size: 2.5rem;
  }

  .nav-inner {
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 18px;
  }

  .brand {
    font-size: 0.72rem;
  }

  .brand span {
    display: none;
  }

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

  .site-links {
    grid-column: 1 / -1;
    display: none;
    padding: 14px 0 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border-top: 1px solid var(--line);
  }

  .site-links[data-open="true"] {
    display: grid;
  }

  .site-links a {
    padding: 8px 0;
  }

  .hero {
    min-height: auto;
    padding-block: 64px;
  }

  .hero-art {
    min-height: 250px;
  }

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

  .evidence article {
    min-height: 150px;
    padding: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .evidence article:nth-child(3),
  .evidence article:nth-child(4) {
    border-bottom: 0;
  }

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

  .workflow li:nth-child(2) {
    border-right: 0;
  }

  .workflow li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  #product-brief-form {
    grid-template-columns: minmax(0, 1fr);
  }

  #product-brief-form label,
  #product-brief-form input,
  #product-brief-form textarea,
  #product-brief-form .button {
    grid-column: 1;
  }

  .case-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-result-group {
    justify-items: start;
  }

  .case-result {
    text-align: left;
  }

  .case-media-two,
  .case-media-three,
  .case-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-details > div,
  .case-details > div:nth-child(3) {
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-details > div:last-child {
    border-bottom: 0;
  }

  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .contact-links {
    justify-items: start;
  }
}

.product-brief-form { display: grid; gap: 16px; }
.product-brief-form label { display: grid; gap: 7px; color: var(--ink); font-weight: 700; }
.product-brief-form input, .product-brief-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); }
.product-brief-form textarea { min-height: 116px; resize: vertical; }
.product-brief-form button:disabled { cursor: wait; opacity: 0.65; }
#product-brief-status[data-kind="error"] { color: #b42318; }
#product-brief-status[data-kind="success"] { color: #087443; }
#product-brief-result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
#product-brief-result article { padding: 18px; border: 1px solid var(--line); background: var(--surface); }
@media (max-width: 720px) { #product-brief-result { grid-template-columns: 1fr; } }

@media (max-width: 420px) {
  h1 {
    font-size: 2.7rem;
  }

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

  .hero-art strong {
    font-size: 7.5rem;
  }

  .evidence article {
    min-height: 138px;
    padding: 18px;
  }

  .evidence strong {
    font-size: 1.75rem;
  }
}
