/* Ostrelis — internal pages */
.page-wrap { width: min(1080px, calc(100% - 48px)); margin-inline: auto; padding: 96px 0 112px; }
.page-wrap > h1 { max-width: 820px; }
.page-wrap > .lead { max-width: 620px; }
.page-section { margin-top: 90px; }

.service-detail-list { display: grid; gap: 24px; margin-top: 64px; }
.service-detail { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 50px; min-height: 330px; padding: 34px 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.service-detail:nth-child(even) .service-detail-visual { order: 2; }
.service-detail-visual { display: grid; place-items: center; min-height: 240px; }
.service-detail-visual svg { width: min(280px, 100%); color: var(--accent-bright); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-detail-visual .solid-module { fill: var(--accent); stroke: none; }
.service-detail-visual .support-system-illustration { width: min(350px, 100%); }
.service-detail-image { width: min(350px, 100%); height: 300px; object-fit: cover; object-position: center; border: 1px solid rgba(105, 168, 255, .16); border-radius: var(--radius); background: var(--paper); }
.support-system-illustration .dashed-connector { stroke-dasharray: 5 6; opacity: .65; }
.service-detail h2 { margin-bottom: 15px; font-size: 30px; }
.service-detail p { max-width: 520px; }
.service-detail .text-link { display: inline-block; margin-top: 20px; }

.vertical-journey { position: relative; display: grid; gap: 0; max-width: 800px; margin: 70px auto 0; padding-left: 108px; }
.vertical-journey::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 38px; width: 2px; background: linear-gradient(var(--line), var(--accent)); }
.vertical-journey article { position: relative; min-height: 170px; padding: 0 0 54px; }
.vertical-journey b { position: absolute; left: -108px; display: grid; place-items: center; width: 78px; height: 78px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--accent-bright); font-size: 13px; }
.vertical-journey article:last-child b { border-color: var(--accent); background: var(--accent); color: white; }
.vertical-journey h2 { margin-bottom: 12px; font-size: 28px; }
.vertical-journey p { max-width: 580px; }

.inner { margin-top: 64px; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.inner h2 { margin-bottom: 12px; font-size: 28px; }
.inner h3 { margin-bottom: 18px; color: var(--muted); font: 500 14px var(--body); }
.inner p + p { margin-top: 14px; }
.inner .actions { margin-top: 26px; }

.about-founder { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 64px; margin-top: 70px; }
.about-founder .founder-image-placeholder { min-height: 410px; }
.about-founder h2 { margin: 16px 0; }
.about-founder p + p { margin-top: 14px; }
.experience-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-block: 1px solid var(--line); }
.experience-stats div { padding: 28px; }
.experience-stats div:first-child { padding-left: 0; }
.experience-stats div + div { border-left: 1px solid var(--line); }
.experience-stats strong { display: block; margin-bottom: 8px; color: var(--ink); font: 600 28px var(--display); }
.experience-stats span { color: var(--muted); font-size: 12.5px; }
.career-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 48px; }
.career-timeline::before { content: ""; position: absolute; top: 7px; left: 5px; right: 5px; height: 1px; background: var(--line); }
.career-timeline article { position: relative; padding-top: 32px; }
.career-timeline article::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--paper); }
.career-timeline h3 { margin-bottom: 9px; font-size: 17px; }
.career-timeline p { font-size: 13px; }

.contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-top: 96px; }
.contact-page form { display: grid; align-content: start; gap: 16px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.contact-page label { color: var(--muted); font-size: 13px; font-weight: 500; }
.contact-page input, .contact-page textarea { display: block; width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: 14px/1.4 var(--body); }
.contact-page input:focus, .contact-page textarea:focus { border-color: var(--accent); outline: none; }
.contact-page .consent { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; }
.contact-page .consent input { width: auto; margin: 3px 0 0; }
.contact-page .hidden { position: absolute; left: -9999px; }
.contact-page button { justify-self: start; margin-top: 4px; border: 0; }

.handoff { max-width: 560px; margin: 16vh auto; padding: 0 28px; }
.handoff h1 { max-width: none; margin: 18px 0 16px; font-size: 46px; }
.handoff p { margin-bottom: 30px; font-size: 16px; }

@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; gap: 18px; }
  .service-detail:nth-child(even) .service-detail-visual { order: 0; }
  .service-detail-visual { min-height: 190px; }
  .about-founder, .contact-page { grid-template-columns: 1fr; }
  .experience-stats { grid-template-columns: 1fr; }
  .experience-stats div { padding: 22px 0; }
  .experience-stats div + div { border-top: 1px solid var(--line); border-left: 0; }
  .career-timeline { grid-template-columns: 1fr; padding-left: 48px; }
  .career-timeline::before { top: 7px; bottom: 7px; left: 7px; right: auto; width: 1px; height: auto; }
  .career-timeline article { padding: 0 0 26px; }
  .career-timeline article::before { left: -48px; }
}

@media (max-width: 560px) {
  .page-wrap { width: calc(100% - 38px); padding: 70px 0 82px; }
  .service-detail { padding: 25px; }
  .service-detail h2 { font-size: 25px; }
  .vertical-journey { padding-left: 76px; }
  .vertical-journey::before { left: 27px; }
  .vertical-journey b { left: -76px; width: 56px; height: 56px; }
  .vertical-journey article { min-height: 150px; }
  .inner { padding: 26px; }
  .about-founder .founder-image-placeholder { min-height: 290px; }
  .contact-page form { padding: 22px; }
  .handoff { margin: 12vh auto; }
  .handoff h1 { font-size: 36px; }
}
