.home-intro { background: linear-gradient(128deg, #f4f8fc, #fff 65%); border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  padding-block: clamp(42px, 6vw, 84px);
}

.hero-copy h1 { font-size: clamp(42px, 5.1vw, 76px); line-height: 1.02; margin-bottom: 20px; }
.hero-copy > p:not(.eyebrow) { max-width: 47ch; font-size: clamp(17px, 1.5vw, 20px); margin-bottom: 25px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.hero-media { margin: 0; }
.hero-frame { overflow: hidden; background: var(--wash); border-radius: 16px; box-shadow: 0 18px 40px #18345a1c; }
.hero-frame img { width: 100%; aspect-ratio: 1.35; object-fit: cover; transform: scale(var(--photo-scale, 1)); }

.section-pad { padding-block: clamp(49px, 7vw, 92px); }
.section-heading { max-width: 62ch; margin-bottom: 29px; }
.section-heading h2, .split-copy h2, .project-box h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.06; margin-bottom: 14px; }
.section-heading > p:last-child, .split-copy > p:last-child { margin-bottom: 0; font-size: 17px; }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.service { display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.service h3 { margin-bottom: 10px; font-size: 21px; letter-spacing: -.03em; }
.service p { margin-bottom: 15px; }
.service .example { padding-top: 14px; margin: auto 0 0; border-top: 1px solid var(--line); color: #344b64; font-size: 14px; }

.approach { background: var(--wash); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(27px, 6vw, 75px); align-items: start; }
.approach-list { list-style: none; margin: 0; padding: 0; counter-reset: checkpoints; }
.approach-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; counter-increment: checkpoints; border-top: 1px solid #d0deeb; padding: 15px 0; }
.approach-list li:first-child { padding-top: 0; border-top: 0; }
.approach-list li::before { content: counter(checkpoints); align-self: start; border: 1px solid #c5d9ed; border-radius: 50%; color: var(--blue-dark); width: 32px; height: 32px; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.approach-list h3 { margin-bottom: 5px; font-size: 18px; }
.approach-list p { margin-bottom: 0; }

.work-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(24px, 5vw, 60px); align-items: center; }
.demo-app { background: #fff; border: 1px solid #c8d8e7; border-radius: 13px; overflow: hidden; box-shadow: 0 14px 33px #193a6010; }
.app-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 16px; background: #edf4fc; border-bottom: 1px solid var(--line); }
.app-bar span { font-size: 12px; color: var(--blue-dark); }
.app-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.app-requests { padding: 10px; background: #f7fafd; border-right: 1px solid var(--line); }
.request-option { display: grid; gap: 3px; width: 100%; min-height: 44px; margin-bottom: 5px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--ink); padding: 9px; text-align: left; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.request-option small { font-size: 11px; font-weight: 500; color: var(--muted); }
.request-option:hover, .request-option[aria-pressed="true"] { background: #e3f0fc; border-color: #c1dbf1; }
.request-option[aria-pressed="true"] { border-color: var(--blue-dark); }
.app-detail { padding: 19px 16px; }
.app-detail h3 { margin-bottom: 5px; font-size: 18px; }
.app-detail > p { min-height: 3em; margin-bottom: 9px; font-size: 14px; }
.app-detail dl { margin: 0 0 14px; font-size: 13px; }
.app-detail dl div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding-block: 8px; }
.app-detail dd { margin: 0; font-weight: 700; }
#request-status { color: #805417; }
#request-status.in-handover { color: #17674c; }
.app-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.app-actions button { min-height: 44px; padding: 7px 10px; font-size: 12px; }
.app-actions button[aria-disabled="true"] { background: #f2f5f8; border-color: var(--line); color: #526479; cursor: default; }

.about-block { border-top: 1px solid var(--line); }
.about-panel { padding: clamp(23px, 4vw, 42px); border-radius: 12px; border: 1px solid var(--line); background: #f6f9fc; }
.about-panel h3 { margin: 0 0 10px; font-size: 21px; }
.about-panel p { margin-bottom: 12px; }
.about-panel a { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; color: var(--blue-dark); font-weight: 680; text-decoration: underline; text-underline-offset: .18em; }
.company-purpose {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0 0;
}
.company-purpose > div { padding-top: 16px; border-top: 1px solid var(--line); }
.company-purpose dt { font-size: 19px; font-weight: 680; }
.company-purpose dd { margin: 7px 0 0; color: var(--muted); line-height: 1.65; }

.project { border-top: 1px solid var(--line); background: #f5f9fd; }
.project-box { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(22px, 5vw, 66px); align-items: start; }
.brief-form, .contact-form { display: grid; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.brief-form label, .contact-form label { display: grid; gap: 6px; font-weight: 650; font-size: 14px; }
.brief-form textarea, .contact-form input, .contact-form textarea { min-height: 44px; width: 100%; padding: 10px; background: #fff; border: 1px solid #73879a; border-radius: 6px; color: var(--ink); font-weight: 400; }
.brief-form textarea::placeholder { color: #526479; }
.brief-form textarea, .contact-form textarea { min-height: 80px; resize: vertical; }
.brief-form button, .contact-form button { justify-self: start; }
.brief-form [role="status"] { margin: 0; font-size: 13px; }

.contact { border-top: 1px solid var(--line); }
.contact a { color: var(--blue-dark); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr));
  gap: 16px;
  max-width: 390px;
  margin: 25px 0 0;
}
.contact-details > div { padding-top: 12px; border-top: 1px solid var(--line); }
.contact-details dt { margin-bottom: 6px; color: var(--muted); font-size: 13px; font-weight: 650; }
.contact-details dd { margin: 0; }
.contact-details a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.contact-mailing { grid-column: 1 / -1; }
.contact-mailing address { font-style: normal; }
.contact-form { position: relative; background: #f9fbfd; }
.contact-form p { margin: 0; font-size: 13px; }
.contact-form .contact-preview { padding: 9px 11px; border-radius: 6px; background: #eaf3fc; }
.contact-status:not(:empty) { color: #17674c; font-weight: 650; }
.contact-status.contact-error { color: #982c33; }
.contact-form button:disabled, .contact-form button[aria-disabled="true"] { background: #d6e2ef; color: var(--ink); cursor: default; }
.contact-trap { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

@media (max-width: 820px) {
  .hero-grid, .split, .work-grid, .project-box { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 25px; }
  .hero-frame img { aspect-ratio: 1.7; object-position: center 42%; }
  .services-grid, .company-purpose { grid-template-columns: 1fr; }
}
@media (max-width: 450px) {
  .app-layout { grid-template-columns: 1fr; }
  .app-requests { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-right: 0; border-bottom: 1px solid var(--line); }
  .request-option { margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-frame img { transform: none; } }
html[data-reduce-motion] .hero-frame img { transform: none; }

.about-panel .labs-lockup {
  width: min(250px, 100%);
  margin-bottom: 16px;
}
