/* Inner pages only. Loaded after the shared site stylesheet. */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color .18s ease;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }
.breadcrumbs > span[aria-hidden] { color: #939d94; }

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
  align-items: end;
  gap: clamp(48px, 7vw, 112px);
  padding: 64px 0 88px;
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 72px;
  height: 3px;
  background: var(--accent);
}
.page-hero > div { min-width: 0; }
.page-hero .eyebrow { margin: 0 0 26px; }
.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 5.6vw, 84px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.page-hero > p,
.page-hero > div:last-child > p:not(.eyebrow) {
  max-width: 52ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.page-hero .actions { margin-top: 30px; }
.page-hero .btn { min-height: 52px; font-size: 14px; }

.service-banner {
  position: relative;
  height: clamp(350px, 31vw, 430px);
  max-height: 430px;
  margin: 42px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #e9ece7;
}
.service-banner picture { display: block; height: 100%; }
.service-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.service-banner figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 10px;
  background: rgb(255 255 255 / 94%);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}
.service-banner figcaption span:last-child { color: var(--muted); font-size: 11px; font-weight: 400; }
.service-banner + .service-body { padding-top: 64px; }

.service-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, .72fr);
  align-items: start;
  gap: clamp(48px, 7vw, 112px);
  padding: 80px 0 96px;
}
.service-details { min-width: 0; counter-reset: detail; }
.service-details > article {
  counter-increment: detail;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 17px 22px;
  margin: 0 0 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.service-details > article:last-child { margin-bottom: 0; }
.service-details > article::before {
  content: counter(detail, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1;
  padding-top: 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.service-details > article > h2,
.service-details > article > p,
.service-details > article > .use-cases { grid-column: 2; }
.service-details h2 {
  margin: 0;
  font-size: clamp(27px, 2.3vw, 34px);
  line-height: 1.25;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.service-details p {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.service-details .use-cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}
.service-details .use-cases span {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.service-details .use-cases span::before {
  content: "+";
  flex: none;
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}

.project-checklist {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 14px 42px rgb(32 38 35 / 3%);
}
.project-checklist::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 30px;
  width: 48px;
  height: 3px;
  background: var(--accent);
}
.project-checklist .eyebrow { margin: 0 0 20px; }
.project-checklist h2 {
  margin: 0 0 22px;
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -.04em;
}
.project-checklist ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.project-checklist li {
  position: relative;
  padding: 14px 0 14px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.project-checklist li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 4px;
  height: 4px;
  margin: 0;
  background: var(--accent);
}
.project-checklist .btn {
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  gap: 12px;
  padding-inline: 18px;
  font-size: 13px;
}

.service-faq {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 120px);
  padding: 72px 0 88px;
  border-top: 1px solid var(--line);
}
.service-faq .faq-heading h2 {
  margin: 20px 0 24px;
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.15;
  letter-spacing: -.045em;
}
.service-faq .faq-list summary {
  padding-top: 25px;
  padding-bottom: 25px;
  font-size: 16px;
  line-height: 1.6;
}
.service-faq .faq-list summary::after { top: 22px; }
.service-faq .faq-list details p {
  padding-bottom: 26px;
  font-size: 15px;
  line-height: 1.9;
}

.related {
  padding: 60px 0 96px;
  border-top: 1px solid var(--line);
}
.related h2 {
  max-width: 700px;
  margin: 0 0 30px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -.045em;
}
.related-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.related-links a {
  display: flex;
  align-items: center;
  min-height: 80px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  transition: border-color .18s ease, color .18s ease;
}
.related-links a:hover { border-color: #b9c2b8; color: var(--accent); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(48px, 7vw, 112px);
  padding: 80px 0 112px;
}
.contact-aside { position: sticky; top: 112px; }
.contact-aside h2 {
  margin: 0 0 26px;
  font-size: clamp(29px, 2.8vw, 36px);
  line-height: 1.25;
  letter-spacing: -.04em;
}
.contact-aside p {
  max-width: 47ch;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.contact-aside p .text-link { color: var(--ink); font-size: 16px; }
.contact-points { margin: 28px 0; padding: 0; list-style: none; }
.contact-points li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}
.contact-points li:last-child { border-bottom: 1px solid var(--line); }
.contact-points span {
  flex: none;
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.contact-form {
  min-width: 0;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 18px 60px rgb(32 38 35 / 3%);
}
.contact-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 24px;
}
.contact-form .field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}
.contact-form .field.full { grid-column: 1 / -1; }
.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  width: 100%;
  max-width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 1px solid #879389;
  border-radius: 8px;
  background: #fcfdfa;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form .field textarea { min-height: 192px; resize: vertical; }
.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder { color: #68736b; opacity: 1; }
.contact-form .field input:hover,
.contact-form .field select:hover,
.contact-form .field textarea:hover { border-color: #5d6d60; }
.contact-form .field input:focus,
.contact-form .field select:focus,
.contact-form .field textarea:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgb(200 61 27 / 7%);
}
.contact-form .field [aria-invalid="true"] { border-color: #b32f16; background: #fff9f6; }
.contact-form .field small { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.7; }
.contact-form .field-error { color: #a72d16; font-size: 13px; font-weight: 400; line-height: 1.7; }
.contact-form .form-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.contact-form .form-foot p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.contact-form .form-foot p a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form .form-foot .btn { min-height: 54px; gap: 22px; font-size: 14px; }
.contact-form .btn:disabled { opacity: .65; cursor: wait; transform: none; }
.contact-form .form-status {
  margin-top: 22px;
  padding: 17px 19px;
  border: 1px solid #e6c3b7;
  border-radius: 9px;
  background: #fff6f1;
  color: #9e3018;
  font-size: 14px;
  line-height: 1.8;
}
.contact-form .form-status:empty { display: none; }
.contact-form .form-status.success {
  border-color: #c0d3bc;
  background: #eef5eb;
  color: #285037;
  font-weight: 500;
}

.prose {
  max-width: 900px;
  margin: 72px auto 104px;
  padding: 52px 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.prose > .eyebrow { margin: 0 0 26px; }
.prose h1 {
  margin: 0 0 50px;
  font-size: clamp(48px, 5.3vw, 72px);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.prose h2 {
  margin: 34px 0 18px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -.035em;
}
.prose > p:not(.eyebrow),
.prose li {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.prose > p:last-child { margin-bottom: 0; }
.prose p .text-link {
  display: inline;
  min-height: 0;
  border: 0;
  color: var(--ink);
  font-size: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page404 { position: relative; min-height: 65vh; padding-block: 96px 112px; }
.page404 .eyebrow { margin-bottom: 26px; }
.page404 h1 {
  margin: 0 0 30px;
  font-size: clamp(56px, 7vw, 98px);
  line-height: 1.07;
  letter-spacing: -.055em;
}
.page404 > p:not(.eyebrow) { max-width: 480px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.page404 .actions { margin-top: 34px; }

@media (max-width: 1100px) {
  .page-hero { gap: 48px; }
  .page-hero h1 { font-size: clamp(48px, 5.8vw, 72px); }
  .service-body { grid-template-columns: minmax(0, 1.3fr) minmax(290px, .8fr); gap: 46px; }
  .project-checklist { padding: 30px 25px 25px; }
  .project-checklist::before { left: 25px; }
  .project-checklist h2 { font-size: 27px; }
  .contact-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 46px; }
  .contact-form { padding: 30px; }
  .contact-form .form-foot { grid-template-columns: 1fr; gap: 20px; }
  .contact-form .form-foot .btn { justify-self: start; }
}
@media (max-width: 980px) {
  .page-hero { grid-template-columns: 1fr; gap: 30px; padding: 50px 0 64px; }
  .page-hero h1 { max-width: 850px; font-size: clamp(46px, 7.4vw, 72px); }
  .page-hero > p,
  .page-hero > div:last-child > p:not(.eyebrow) { max-width: 68ch; }
  .service-body { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 72px; }
  .project-checklist { position: relative; top: auto; padding: 34px; }
  .project-checklist::before { left: 34px; }
  .project-checklist ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
  .project-checklist .btn { width: auto; min-width: 230px; }
  .service-faq { grid-template-columns: 1fr; gap: 32px; padding: 60px 0 72px; }
  .service-faq .faq-heading h2 { max-width: 600px; }
  .related-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; gap: 38px; padding: 64px 0 88px; }
  .contact-aside { position: static; }
  .contact-aside p { max-width: 65ch; }
  .contact-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
  .contact-points li:last-child { border-bottom: 0; }
  .contact-form { padding: 36px; }
  .contact-form .form-foot { grid-template-columns: minmax(0, 1fr) auto; }
  .prose { margin-block: 56px 80px; padding: 42px; }
}
@media (max-width: 600px) {
  .breadcrumbs { gap: 9px; padding-top: 18px; font-size: 11px; }
  .page-hero { gap: 26px; padding: 38px 0 50px; }
  .page-hero .eyebrow { margin-bottom: 22px; }
  .page-hero h1 { font-size: clamp(40px, 9vw, 54px); line-height: 1.1; letter-spacing: -.05em; }
  .page-hero > p,
  .page-hero > div:last-child > p:not(.eyebrow) { font-size: 15px; line-height: 1.85; }
  .page-hero .actions { margin-top: 25px; }
  .service-banner { height: 290px; margin-top: 30px; border-radius: 14px; }
  .service-banner figcaption { right: 12px; bottom: 12px; left: 12px; align-items: start; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 8px; font-size: 12px; }
  .service-banner figcaption span:last-child { font-size: 10px; }
  .service-banner + .service-body { padding-top: 44px; }
  .service-body { gap: 36px; padding: 48px 0 60px; }
  .service-details > article { grid-template-columns: 26px minmax(0, 1fr); gap: 15px 14px; margin-bottom: 34px; padding-top: 24px; }
  .service-details > article::before { padding-top: 5px; font-size: 10px; }
  .service-details h2 { font-size: 26px; line-height: 1.3; }
  .service-details p { font-size: 15px; line-height: 1.9; }
  .service-details .use-cases span { gap: 10px; padding: 14px; font-size: 13px; }
  .project-checklist { padding: 28px 24px 24px; border-radius: 12px; }
  .project-checklist::before { left: 24px; }
  .project-checklist h2 { font-size: 28px; }
  .project-checklist ul { grid-template-columns: 1fr; }
  .project-checklist .btn { width: 100%; min-width: 0; }
  .service-faq { gap: 26px; padding: 48px 0 60px; }
  .service-faq .faq-heading h2 { font-size: 36px; }
  .service-faq .faq-list summary { padding-block: 22px; font-size: 15px; }
  .service-faq .faq-list summary::after { top: 18px; }
  .service-faq .faq-list details p { padding-right: 16px; font-size: 14px; }
  .related { padding: 48px 0 64px; }
  .related h2 { margin-bottom: 24px; font-size: 30px; }
  .related-links { grid-template-columns: 1fr; gap: 9px; }
  .related-links a { min-height: 68px; padding: 16px 18px; }
  .contact-layout { gap: 32px; padding: 48px 0 72px; }
  .contact-aside h2 { font-size: 30px; }
  .contact-points { grid-template-columns: 1fr; }
  .contact-points li:last-child { border-bottom: 1px solid var(--line); }
  .contact-form { padding: 25px 22px; border-radius: 13px; }
  .contact-form .form-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact-form .field.full { grid-column: auto; }
  .contact-form .form-foot { grid-template-columns: 1fr; gap: 22px; }
  .contact-form .form-foot p { max-width: none; }
  .contact-form .form-foot .btn { width: 100%; justify-self: stretch; }
  .contact-form .form-status { padding: 15px; font-size: 13px; }
  .prose { margin: 42px auto 64px; padding: 30px 24px; border-radius: 12px; }
  .prose h1 { margin-bottom: 36px; font-size: clamp(42px, 9.8vw, 54px); }
  .prose h2 { margin-top: 30px; padding-top: 26px; font-size: 25px; }
  .prose > p:not(.eyebrow),
  .prose li { font-size: 15px; line-height: 1.9; }
  .page404 { min-height: 60vh; padding-block: 64px 80px; }
  .page404 h1 { font-size: clamp(48px, 11vw, 68px); }
  .page404 > p:not(.eyebrow) { font-size: 16px; }
}
@media (max-height: 740px) and (min-width: 981px) {
  .project-checklist, .contact-aside { position: relative; top: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .breadcrumbs a,
  .related-links a,
  .contact-form .field input,
  .contact-form .field select,
  .contact-form .field textarea { transition: none; }
}
