/* INHOO — editorial brand system. Applied over the functional site primitives. */
:root{--max:1440px;--ink:#15202e;--muted:#586575;--blue:#285ce7;--night:#0b1224;--line:#d8dde1;--paper:#f5f5f1;--space-section:128px;font-family:"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif}
body{background:var(--paper);font-size:16px}
h1,h2,h3,h4{text-wrap:balance}
.shell{width:min(var(--max),calc(100% - 128px))}
.section{padding:var(--space-section) 0}
.header{height:92px;background:#0b1224f5;border-bottom:1px solid #ffffff1c}
.header .brand{gap:15px}.brand>span{font-size:23px;letter-spacing:3px}
.header nav{gap:38px}.header nav a{font-size:14px;min-height:44px;display:flex;align-items:center}
.nav-contact{border-radius:0;padding:14px 21px;font-size:13px;border-color:#667084;gap:35px}
.hero-grid{gap:36px}
.hero-copy{padding:65px 0}
.hero h1{font-weight:500;letter-spacing:-2px;line-height:1.25}
.hero h1>span{color:#90adff}
.button{min-height:56px;border-radius:0;padding:17px 24px;font-size:14px;gap:40px;font-weight:500;box-shadow:none}
.text-link{font-size:14px;min-height:44px}
.anonymous-hero{max-width:none}
.hero-illustration{left:-8%;width:116%}
.cases{background:#e9edf0}.case-filters{gap:18px;margin-bottom:40px;border-bottom:1px solid #cdd4dc}.case-filters button{border-radius:0;padding:16px 6px;font-size:14px;margin-bottom:-1px;border-bottom:2px solid transparent;min-height:50px}.case-filters button.active{color:var(--ink);background:transparent;border-color:var(--ink)}.case-filters button:hover:not(.active){background:transparent;color:var(--blue)}
.case-grid{gap:40px 32px}.case-card{border:0;border-radius:0;background:transparent;overflow:visible}.case-card:hover{transform:none;box-shadow:none}.case-image{height:360px}.case-image img{width:224px;transform:translateY(38px) rotate(-5deg)}
.case-blue{background:#16355c}.case-lilac{background:#d9dfe7}.case-peach{background:#e7ded6}.case-sand{background:#d5ddd8}
.case-body{padding:25px 0 12px;min-height:105px}.case-body p{font-size:12px;color:#596979;margin-bottom:12px}.case-body h3{font-size:21px;font-weight:500}
.case-text-card{background:transparent;border:0}
.approach{background:var(--paper)}.process-grid{gap:0}.process-grid article{padding:0 34px}.process-grid h3{font-size:25px;font-weight:500;margin:28px 0 20px}.process-grid p{font-size:15px;line-height:1.95}
.contact{background:#e3e8ee;color:var(--ink);border-top:1px solid #d2d8e1}.contact h2{font-size:clamp(34px,3.5vw,58px);font-weight:450;line-height:1.4;margin:30px 0}.contact p{color:#546478;font-size:16px}.phone-number{display:inline-block;font-size:42px;letter-spacing:-1px}.contact-qr{padding:30px 0 30px 65px;border-left:1px solid #bdc8d5}.contact-qr img{width:170px;height:170px;border-radius:0}.contact-qr strong{font-size:15px}
.footer{padding:40px 0}.footer p{font-size:12px;color:#b0bdcf}.back-top{font-size:12px;min-height:44px;display:flex;align-items:center}.dialog-content>p{font-size:15px}.dialog-content ul{font-size:14px}.dialog-close{width:44px;height:44px}
@media(max-width:1200px){.shell{width:calc(100% - 80px)}.header nav{gap:24px}.case-image{height:320px}}
@media(max-width:900px){:root{--space-section:88px}.shell{width:calc(100% - 48px)}.hero-grid{gap:0}.hero h1{letter-spacing:-1px}.case-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px}.process-grid article{padding:0 20px}.process-grid h3{font-size:21px}.process-grid p{font-size:14px}.contact-qr{padding-left:30px}.phone-number{font-size:33px}}
@media(max-width:620px){:root{--space-section:68px}.shell{width:calc(100% - 40px)}.header{height:72px}.header .brand{gap:10px}.header .brand>span{font-size:19px}.header nav{top:72px;gap:0}.menu-toggle{min-height:44px}.hero-grid{display:flex}.hero-copy{padding:46px 0 0}.hero h1{line-height:1.35}.anonymous-hero{width:100%;max-width:420px}.hero-illustration{left:-5%;width:110%}.case-filters{gap:8px;margin-bottom:28px}.case-filters button{font-size:11px;padding:12px 5px;min-height:44px}.case-grid{grid-template-columns:1fr;gap:32px}.case-image{height:290px}.case-body{padding:20px 0 0;min-height:88px}.case-body h3{font-size:20px}.case-body p{font-size:11px}.process-grid{grid-template-columns:1fr 1fr;gap:35px 20px}.process-grid article{padding:0 0 0 15px}.process-grid h3{font-size:20px;margin:22px 0 15px}.process-grid p{font-size:14px}.contact-grid{gap:35px}.contact h2{font-size:30px;letter-spacing:-1px;margin:23px 0}.contact p{font-size:14px}.phone-number{font-size:29px}.contact-qr{border-left:0;border-top:1px solid #bdc8d5;padding:28px 0 0;align-items:flex-start}.contact-qr img{width:145px;height:145px}.footer p{font-size:11px}.footer .brand>span{font-size:17px}.footer{padding:30px 0}}

main[tabindex]:focus,
main > section[tabindex]:focus {
  outline: none;
}

.header nav a[aria-current] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .5em;
}

.header nav .nav-contact {
  padding: 10px 14px;
  gap: 10px;
  white-space: nowrap;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: clamp(480px, 78svh, 700px);
}

.hero-copy { container-type: inline-size; }

.hero h1 {
  font-size: clamp(22px, 8.8cqi, 64px);
  margin: 0;
}

.hero h1 .hero-role {
  display: block;
  color: inherit;
}

.anonymous-hero {
  height: clamp(370px, 44vw, 630px);
  border-left: 0;
}

.hero-illustration {
  top: 0;
  height: 100%;
}

.section-heading {
  font-size: clamp(32px, 3.1vw, 52px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.03em;
  margin: 0 0 clamp(26px, 4vw, 56px);
}

.ai-services {
  margin-bottom: clamp(64px, 8vw, 112px);
}

.ai-services-intro {
  max-width: 780px;
  margin: 0 auto clamp(30px, 4vw, 52px);
  text-align: center;
}

.ai-services-intro h2 {
  display: block;
  margin-bottom: 18px;
}

.ai-services-intro p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  text-wrap: balance;
}

.ai-services-intro strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-weight: 600;
}

.ai-capability-heading {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}

.ai-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-capability-grid li {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.55vw, 24px);
  min-height: 132px;
  padding: clamp(18px, 2.3vw, 32px);
  border: 1px solid #d8e1ee;
  border-radius: 10px;
  background: linear-gradient(125deg, #f3f7ff, #fff 65%);
  box-shadow: 0 3px 12px #263d6710;
}

.ai-capability-icon {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  padding: 12px;
  border: 1px solid #d7e4ff;
  border-radius: 9px;
  background: #e8f0ff;
  color: #2857bb;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-capability-grid h4 {
  margin-bottom: 6px;
  color: #182f55;
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 600;
  line-height: 1.4;
}

.ai-capability-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: balance;
}

@media (max-width: 900px) {
  .ai-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .ai-capability-grid li { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .ai-capability-icon { width: 42px; height: 42px; padding: 9px; }
}

@media (max-width: 360px) {
  .ai-capability-grid { grid-template-columns: minmax(0, 1fr); }
  .ai-capability-grid li { flex-direction: row; align-items: center; min-height: 96px; }
}

.industry-solutions { scroll-margin-top: 16px; }

.industry-solutions > h2 {
  margin-bottom: clamp(22px, 3vw, 36px);
  font-size: clamp(30px, 3vw, 44px);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.75vw, 24px);
}

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 2.6vw, 36px);
  border: 1px solid #d8e1ed;
  border-radius: 12px;
  background: linear-gradient(155deg, #f4f8ff, #fff 52%);
  box-shadow: 0 4px 16px #182f5510;
}

.industry-card header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.industry-card h3,
.shared-capability h3 {
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 600;
  line-height: 1.35;
}

.industry-card h3 { color: #182f55; }

.industry-card > p,
.shared-capability p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  text-wrap: pretty;
}

.industry-card > p { flex: 1; }

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-tags li {
  padding: 5px 10px;
  border-radius: 5px;
  background: #edf3fc;
  color: #29496f;
  font-size: 13px;
  line-height: 1.5;
}

.industry-audience {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #e2e9f2;
  font-size: 14px;
  line-height: 1.55;
}

.industry-audience dt { color: var(--muted); }
.industry-audience dd { margin: 0; font-weight: 500; }

.industry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.industry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 6px;
  background: #e8f0ff;
  color: #214eae;
  font-size: 14px;
  font-weight: 600;
}

.industry-button:hover { background: #dce8ff; }

.shared-capability {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(14px, 1.75vw, 24px);
  padding: clamp(20px, 2.6vw, 36px);
  border-radius: 12px;
  background: radial-gradient(ellipse at 100% 100%, #244881, transparent 67%), #142640;
  color: #fff;
}

.shared-capability p {
  margin-top: 8px;
  color: #c8d7ee;
}

.shared-capability .industry-tags li {
  background: #a8caff21;
  color: #e2ecff;
}

.shared-capability .industry-button {
  grid-column: 2;
  grid-row: 1 / span 2;
  background: #f2f6ff;
  color: #1c3865;
}

.shared-capability .industry-button:hover { background: #dce8ff; }

@media (max-width: 760px) {
  .industry-grid,
  .shared-capability { grid-template-columns: minmax(0, 1fr); }

  .shared-capability .industry-button {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }
}

.case-text-card .case-body {
  flex: 1;
  align-items: flex-end;
  min-height: 200px;
  padding: clamp(20px, 3vw, 40px);
  background: #142b42;
  color: #fff;
}

.case-text-card .case-body p {
  color: #c0cce0;
}

.case-enterprise .case-body {
  min-height: clamp(150px, 15vw, 190px);
  padding-inline: clamp(20px, 2.5vw, 32px);
}

.case-title-phrase { white-space: nowrap; }

.case-open:hover h3 {
  text-decoration: underline;
  text-underline-offset: .24em;
}

@media (min-width: 901px) {
  .case-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .case-card[data-category="government"] { grid-column: span 3; }
  .case-enterprise { grid-column: span 4; }
  .case-image { height: clamp(240px, 23vw, 330px); }
  .case-image img { width: min(224px, 78%); }
}

.process-grid {
  margin-top: 0;
}

.process-grid h3,
.contact h2 {
  margin-top: 0;
}

.footer-legal {
  display: flex;
  align-items: baseline;
  gap: clamp(8px, 1.2vw, 16px);
  white-space: nowrap;
}

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

.dialog-content h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .header nav { gap: 14px; }
  .header nav a { font-size: 13px; }
  .header nav .nav-contact { padding-inline: 10px; }
  .nav-wrap { gap: 16px; }
}

@media (max-width: 620px) {
  .header nav {
    gap: 4px;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }

  .header nav a { font-size: 14px; }
  .header nav .nav-contact { padding: 14px; }
  .hero-grid { min-height: 0; }
  .anonymous-hero { height: min(360px, 80vw); margin: 0 auto 12px; }

  .case-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px 8px;
  }

  .case-filters button { font-size: clamp(12px, 3.3vw, 13px); padding-inline: 2px; }
  .dialog-layout { grid-template-columns: minmax(0, 1fr); }
  .dialog-close {
    display: block;
    float: none;
    margin: 10px 10px -54px auto;
  }

  .dialog-content { padding-top: 56px; }
}
