/* ==========================================================================\n   LADSTUDIO — INNER PAGES\n   Универсальная система страниц решений, услуг и корпоративных разделов.\n\n   Все дизайнерские размеры: px. Относительные единицы используются только\n   как механика CSS Grid / заполнение родителя, а не как дизайн-токены.\n   ========================================================================== */

.page-inner {
    background: var(--bg);
}

.breadcrumbs {
    margin-bottom: 46px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs a:hover {
    color: var(--ink);
}

.breadcrumb-separator {
    color: #a9b6bc;
}

.inner-hero {
    padding-top: 48px;
    padding-bottom: 78px;
    overflow: hidden;
    background: linear-gradient(110deg, #ffffff 0%, #f7fafa 760px, #e3eff2 1320px);
}

.inner-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 900px) 320px;
    gap: 52px;
    align-items: start;
}

.inner-hero-copy h1,
.listing-hero h1,
.contact-page h1,
.not-found h1 {
    max-width: 920px;
    margin: 0;
    font-family: var(--font-display);
    font-size: 58px;
    font-weight: 600;
    line-height: 62px;
    letter-spacing: -1.7px;
}

.inner-lead {
    max-width: 760px;
    margin: 28px 0 0;
    color: var(--text);
    font-size: 18px;
    line-height: 30px;
}

.inner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    margin-top: 34px;
}

.hero-insight-card {
    min-height: 320px;
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid #cbdadd;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
}

.hero-insight-card::before {
    width: 54px;
    height: 4px;
    display: block;
    margin-bottom: 86px;
    border-radius: 20px;
    background: var(--yellow);
    content: "";
}

.hero-insight-icon {
    width: 146px;
    height: 146px;
    position: absolute;
    top: 22px;
    right: 18px;
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.15;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.07;
}

.hero-insight-card small,
.listing-callout small {
    display: block;
    margin-bottom: 10px;
    color: #667681;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-insight-card strong,
.listing-callout strong {
    display: block;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: -0.5px;
}

.hero-insight-card p,
.listing-callout p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 22px;
}

.hero-insight-card--question {
    background: var(--dark);
    color: #ffffff;
    border-color: var(--dark);
}

.hero-insight-card--question small,
.hero-insight-card--question p {
    color: #b9c5ca;
}

.hero-insight-card--question .hero-insight-icon {
    stroke: #ffffff;
    opacity: 0.08;
}

.page-section {
    padding-top: 82px;
    padding-bottom: 82px;
}

.page-section--blue {
    background: var(--blue);
}

.page-section--dark {
    background: var(--dark);
    color: #ffffff;
}

.page-section h2,
.contact-cta-copy h2 {
    max-width: 820px;
    margin: 0;
    font-family: var(--font-display);
    font-size: 50px;
    font-weight: 600;
    line-height: 55px;
    letter-spacing: -1.6px;
}

.page-section h3 {
    font-family: var(--font-display);
}

.page-section-head {
    display: grid;
    grid-template-columns: minmax(0, 840px) 340px;
    gap: 60px;
    align-items: end;
    margin-bottom: 46px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.page-section-head::before {
    width: 56px;
    height: 3px;
    position: absolute;
}

.page-section-head > p {
    margin: 0;
    padding-left: 18px;
    border-left: 2px solid rgba(210, 165, 41, 0.72);
    color: var(--text);
    font-size: 16px;
    line-height: 26px;
}

.page-section-head--dark {
    border-top-color: rgba(255, 255, 255, 0.18);
}

.page-section-head--dark > p {
    color: #b9c5ca;
}

.page-two-col {
    display: grid;
    grid-template-columns: 520px minmax(0, 660px);
    gap: 92px;
    align-items: start;
}

.page-section-intro > p:not(.eyebrow) {
    max-width: 500px;
    margin: 26px 0 0;
    color: var(--text);
    font-size: 16px;
    line-height: 26px;
}

.page-section-intro--dark > p:not(.eyebrow) {
    color: #b9c5ca;
}

.signal-list {
    border-top: 1px solid rgba(21, 34, 56, 0.20);
}

.signal-item {
    min-height: 94px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(21, 34, 56, 0.16);
}

.signal-item > span,
.check-grid article > span,
.diagnostic-grid article > span,
.process-detail-num {
    color: #6f7f89;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    line-height: 17px;
    letter-spacing: 1px;
}

.signal-item p {
    margin: 0;
    color: var(--ink);
    font-size: 17px;
    font-weight: 500;
    line-height: 26px;
}

.check-grid,
.diagnostic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.check-grid article,
.diagnostic-grid article {
    min-height: 184px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
}

.check-grid article > span,
.diagnostic-grid article > span {
    display: block;
    margin-bottom: 34px;
}

.check-grid p,
.diagnostic-grid p {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    line-height: 26px;
}

.diagnostic-grid h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: -0.4px;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.capability-grid article {
    min-height: 246px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.capability-grid small {
    display: block;
    margin-bottom: 72px;
    color: #93a4ab;
    font-family: var(--font-display);
    font-size: 11px;
    line-height: 16px;
}

.capability-grid h3 {
    margin: 0 0 12px;
    font-size: 21px;
    font-weight: 600;
    line-height: 27px;
}

.capability-grid p {
    margin: 0;
    color: #c1ccd0;
    font-size: 14px;
    line-height: 23px;
}

.page-result-grid {
    display: grid;
    grid-template-columns: 520px minmax(0, 660px);
    gap: 92px;
    align-items: start;
}

.result-list {
    display: grid;
    gap: 1px;
    border-top: 1px solid var(--line);
}

.result-list > div {
    min-height: 82px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 16px;
    line-height: 25px;
}

.result-list .icon {
    color: var(--yellow);
    stroke-width: 2;
}

.honesty-note {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 30px;
    margin-top: 56px;
    padding: 28px 30px;
    border-left: 4px solid var(--yellow);
    background: var(--blue);
}

.honesty-note span {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.honesty-note p {
    max-width: 920px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 27px;
}

.honesty-note--inline {
    margin-top: 38px;
}

.page-related {
    background: #ffffff;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.related-card {
    min-height: 132px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 22px;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-soft);
}

.related-card > .icon:first-child {
    width: 28px;
    height: 28px;
    color: var(--ink);
}

.related-card span {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    line-height: 23px;
}

.related-arrow {
    color: #73828d;
}

.related-card:hover {
    border-color: #b5c8cd;
    background: var(--blue);
}

.situation-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-size: 14px;
    line-height: 22px;
}

.situation-links strong {
    color: var(--ink);
}

.situation-links a {
    border-bottom: 1px solid #b9c7cb;
}

/* FAQ ------------------------------------------------------------------- */

.page-two-col--faq {
    grid-template-columns: 500px minmax(0, 680px);
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item button {
    min-height: 82px;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border: 0;
    background: transparent;
    text-align: left;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    line-height: 25px;
    cursor: pointer;
}

.faq-plus {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 20px;
    font-weight: 400;
    transition: transform 180ms ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 240ms ease;
}

.faq-answer p {
    max-width: 610px;
    margin: 0;
    padding: 0 48px 24px 0;
    color: var(--text);
    font-size: 16px;
    line-height: 26px;
}

.faq-item.open .faq-plus {
    transform: rotate(45deg);
}

/* Contact CTA / form ----------------------------------------------------- */

.page-contact-cta {
    background: var(--blue-2);
}

.contact-cta-grid {
    display: grid;
    grid-template-columns: 540px minmax(0, 640px);
    gap: 92px;
    align-items: start;
}

.contact-cta-copy > p:not(.eyebrow) {
    max-width: 510px;
    margin: 26px 0 0;
    color: var(--text);
    font-size: 17px;
    line-height: 28px;
}

.contact-cta-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.contact-cta-proof span {
    padding: 8px 12px;
    border: 1px solid #b9cdd2;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.46);
    font-size: 12px;
    line-height: 18px;
}

.page-form {
    padding: 30px;
    border: 1px solid #c5d7db;
    border-radius: 22px;
    background: #ffffff;
}

.form-top {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.form-top > span {
    color: #7b8a93;
    font-family: var(--font-display);
    font-size: 11px;
    line-height: 16px;
}

.form-top h2,
.form-top h3 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
}

.form-top p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 22px;
}

.field {
    display: grid;
    gap: 9px;
    margin-bottom: 18px;
}

.field label {
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 19px;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    color: var(--ink);
    outline: 0;
}

.field input {
    height: 52px;
    padding: 0 14px;
}

.field textarea {
    min-height: 132px;
    padding: 14px;
    resize: vertical;
    line-height: 24px;
}

.field input:focus,
.field textarea:focus {
    border-color: #9cb9bf;
    box-shadow: 0 0 0 3px rgba(210, 229, 233, 0.65);
}

.channels {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.channel {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    font-size: 12px;
    line-height: 18px;
    cursor: pointer;
}

.channel.active {
    border-color: var(--ink);
    background: var(--ink);
    color: #ffffff;
}

.consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    margin: 4px 0 20px;
    color: var(--muted);
    font-size: 11px;
    line-height: 17px;
}

.consent input {
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
}

.consent a {
    border-bottom: 1px solid #aebcc1;
}

/* Listing pages --------------------------------------------------------- */

.listing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 900px) 320px;
    gap: 52px;
    align-items: start;
}

.listing-callout {
    min-height: 284px;
    padding: 28px;
    border: 1px solid #cbdadd;
    border-radius: 22px;
    background: #ffffff;
}

.listing-callout::before {
    width: 54px;
    height: 4px;
    display: block;
    margin-bottom: 62px;
    border-radius: 20px;
    background: var(--yellow);
    content: "";
}

.listing-callout a {
    display: inline-block;
    margin-top: 18px;
    border-bottom: 1px solid var(--ink);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.service-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-index-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
}

.service-index-icon {
    width: 92px;
    height: 92px;
    position: absolute;
    top: 22px;
    right: 20px;
    stroke-width: 1.25;
    opacity: 0.08;
}

.service-index-card small {
    color: var(--muted);
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.service-index-card h2 {
    max-width: 300px;
    margin: 78px 0 16px;
    font-size: 28px;
    line-height: 33px;
    letter-spacing: -0.7px;
}

.service-index-card p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 23px;
}

.service-index-card > span,
.solution-index-card > span {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 28px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.service-index-card:hover,
.solution-index-card:hover {
    border-color: #b8cdd2;
    transform: translateY(-2px);
}

.solution-index-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.solution-index-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid #bfd3d7;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.64);
}

.solution-index-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 58px;
}

.solution-index-top .icon {
    width: 30px;
    height: 30px;
}

.solution-index-top small {
    color: #64747e;
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.solution-index-card h2,
.solution-index-card h3 {
    max-width: 520px;
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 29px;
    font-weight: 600;
    line-height: 34px;
    letter-spacing: -0.8px;
}

.solution-index-card p {
    max-width: 520px;
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 24px;
}

.solution-index-grid--start .solution-index-card {
    min-height: 260px;
}

/* Start ----------------------------------------------------------------- */

.start-insight ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    line-height: 23px;
}

.start-insight li::before {
    margin-right: 9px;
    color: var(--yellow);
    content: "—";
}

.start-outcomes {
    display: grid;
    gap: 1px;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.start-outcomes > div {
    padding: 23px 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.start-outcomes strong {
    display: block;
    margin-bottom: 7px;
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 26px;
}

.start-outcomes p {
    margin: 0;
    color: #b9c5ca;
    font-size: 15px;
    line-height: 24px;
}

/* Process --------------------------------------------------------------- */

.process-detail-list {
    display: grid;
}

.process-detail {
    min-height: 190px;
    display: grid;
    grid-template-columns: 70px minmax(0, 650px) minmax(0, 360px);
    gap: 42px;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.process-detail:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.process-detail h2 {
    margin: 5px 0 10px;
    font-size: 36px;
    line-height: 41px;
    letter-spacing: -1px;
}

.process-detail > div > small,
.process-detail aside small {
    color: #91a2a9;
    font-size: 10px;
    line-height: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.process-detail > div > p {
    max-width: 610px;
    margin: 0;
    color: #c1ccd0;
    font-size: 15px;
    line-height: 24px;
}

.process-detail aside {
    padding-left: 22px;
    border-left: 2px solid rgba(210,165,41,0.72);
}

.process-detail aside strong {
    display: block;
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.format-list,
.negative-list {
    display: grid;
    gap: 1px;
    border-top: 1px solid rgba(21,34,56,0.18);
}

.format-list > div,
.negative-list > div {
    padding: 22px 0;
    border-bottom: 1px solid rgba(21,34,56,0.18);
}

.format-list strong,
.negative-list strong {
    display: block;
    margin-bottom: 7px;
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 25px;
}

.format-list p,
.negative-list p {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 24px;
}

/* About ----------------------------------------------------------------- */

.principle-bento {
    display: grid;
    grid-template-columns: 620px 300px 300px;
    grid-template-rows: 220px 220px;
    gap: 14px;
}

.principle-bento article {
    padding: 26px;
    border: 1px solid #c5d8dc;
    border-radius: 20px;
    background: rgba(255,255,255,0.64);
}

.principle-bento-main {
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--dark) !important;
    color: #ffffff;
}

.principle-bento article:nth-child(4) {
    grid-column: 2 / 4;
}

.principle-bento small {
    display: block;
    margin-bottom: auto;
    color: #70818b;
    font-size: 11px;
    line-height: 16px;
}

.principle-bento-main small {
    color: #95a5ab;
}

.principle-bento h3 {
    max-width: 520px;
    margin: 0 0 12px;
    font-size: 27px;
    font-weight: 600;
    line-height: 33px;
    letter-spacing: -0.6px;
}

.principle-bento-main h3 {
    font-size: 38px;
    line-height: 43px;
}

.principle-bento p {
    max-width: 520px;
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 23px;
}

.principle-bento-main p {
    color: #c1ccd0;
    font-size: 16px;
    line-height: 25px;
}

.team-scene-inner {
    margin-top: 0;
}

.team-disclaimer {
    max-width: 820px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 19px;
}

.page-section--dark .negative-list {
    border-top-color: rgba(255,255,255,0.18);
}

.page-section--dark .negative-list > div {
    border-bottom-color: rgba(255,255,255,0.18);
}

.page-section--dark .negative-list p {
    color: #b9c5ca;
}

/* Contacts -------------------------------------------------------------- */

.contact-page {
    padding-top: 48px;
    padding-bottom: 82px;
    background: var(--blue-2);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 700px minmax(0, 500px);
    gap: 72px;
    align-items: start;
}

.contact-page-copy h1 {
    max-width: 700px;
    font-size: 54px;
    line-height: 58px;
}

.contact-page-points {
    display: grid;
    gap: 1px;
    margin: 40px 0 28px;
    border-top: 1px solid #b8ccd0;
}

.contact-page-points > div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 6px 14px;
    padding: 17px 0;
    border-bottom: 1px solid #b8ccd0;
}

.contact-page-points span {
    grid-row: 1 / 3;
    color: #71808a;
    font-size: 11px;
    line-height: 17px;
}

.contact-page-points strong {
    font-family: var(--font-display);
    font-size: 17px;
    line-height: 23px;
}

.contact-page-points p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 22px;
}

/* 404 / cases placeholder ---------------------------------------------- */

.not-found {
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 74px 0;
}

.not-found h1 {
    max-width: 920px;
}

.not-found p:not(.eyebrow) {
    max-width: 700px;
    margin: 26px 0 0;
    color: var(--text);
    font-size: 18px;
    line-height: 29px;
}

/* Responsive ------------------------------------------------------------ */

/* 1280-class screens should not squeeze a long H1 beside a decorative card.
   We keep the hero wide until there is enough real horizontal room. */
@media (max-width: 1359px) {
    .inner-hero-grid,
    .listing-hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-insight-card,
    .listing-callout {
        min-height: auto;
        max-width: 920px;
    }

    .hero-insight-card::before,
    .listing-callout::before {
        margin-bottom: 30px;
    }
}

@media (max-width: 1199px) {
    .inner-hero-copy h1,
    .listing-hero h1,
    .contact-page h1,
    .not-found h1 {
        font-size: 54px;
        line-height: 59px;
        letter-spacing: -1.5px;
    }

    .page-section h2,
    .contact-cta-copy h2 {
        font-size: 46px;
        line-height: 51px;
    }

    .page-section-head {
        grid-template-columns: minmax(0, 720px) 300px;
        gap: 44px;
    }

    .page-two-col,
    .page-result-grid,
    .contact-cta-grid {
        grid-template-columns: 450px minmax(0, 600px);
        gap: 64px;
    }

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

    .principle-bento {
        grid-template-columns: 540px 240px 240px;
    }

    .contact-page-grid {
        grid-template-columns: 490px minmax(0, 560px);
        gap: 56px;
    }
}

@media (max-width: 1039px) {
    .inner-hero {
        padding-top: 38px;
        padding-bottom: 66px;
    }

    .breadcrumbs {
        margin-bottom: 36px;
    }

    .inner-hero-grid,
    .listing-hero-grid,
    .page-section-head,
    .page-two-col,
    .page-two-col--faq,
    .page-result-grid,
    .contact-cta-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .inner-hero-grid,
    .listing-hero-grid {
        gap: 40px;
    }

    .hero-insight-card,
    .listing-callout {
        min-height: auto;
        max-width: 760px;
    }

    .hero-insight-card::before,
    .listing-callout::before {
        margin-bottom: 34px;
    }

    .page-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .page-section-head,
    .page-two-col,
    .page-result-grid,
    .contact-cta-grid {
        gap: 34px;
    }

    .page-section-head > p {
        max-width: 720px;
    }

    .principle-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .principle-bento-main {
        grid-row: auto;
        grid-column: 1 / 3;
        min-height: 300px;
    }

    .principle-bento article:nth-child(4) {
        grid-column: 1 / 3;
    }

    .process-detail {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .process-detail aside {
        grid-column: 2;
    }

    .contact-page-copy h1 {
        max-width: 760px;
    }
}

@media (max-width: 767px) {
    .breadcrumbs {
        margin-bottom: 28px;
    }

    .inner-hero {
        padding-top: 28px;
        padding-bottom: 54px;
    }

    .inner-hero-copy h1,
    .listing-hero h1,
    .contact-page h1,
    .not-found h1 {
        font-size: 38px;
        line-height: 42px;
        letter-spacing: -1px;
    }

    .inner-lead {
        margin-top: 22px;
        font-size: 17px;
        line-height: 28px;
    }

    .inner-actions {
        gap: 14px;
        margin-top: 28px;
    }

    .hero-insight-card,
    .listing-callout {
        padding: 24px;
        border-radius: 18px;
    }

    .hero-insight-card strong,
    .listing-callout strong {
        font-size: 21px;
        line-height: 27px;
    }

    .page-section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .page-section h2,
    .contact-cta-copy h2 {
        font-size: 34px;
        line-height: 39px;
        letter-spacing: -0.9px;
    }

    .page-section-head {
        margin-bottom: 32px;
        padding-top: 18px;
    }

    .page-section-head > p,
    .page-section-intro > p:not(.eyebrow),
    .contact-cta-copy > p:not(.eyebrow) {
        font-size: 16px;
        line-height: 26px;
    }

    .signal-item {
        min-height: 82px;
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 0;
    }

    .signal-item p {
        font-size: 16px;
        line-height: 25px;
    }

    .check-grid,
    .diagnostic-grid,
    .capability-grid,
    .related-grid,
    .service-index-grid,
    .solution-index-grid {
        grid-template-columns: 1fr;
    }

    .check-grid article,
    .diagnostic-grid article,
    .capability-grid article {
        min-height: auto;
        padding: 22px;
    }

    .check-grid article > span,
    .diagnostic-grid article > span,
    .capability-grid small {
        margin-bottom: 26px;
    }

    .capability-grid p {
        font-size: 15px;
        line-height: 24px;
    }

    .honesty-note {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 38px;
        padding: 22px;
    }

    .honesty-note p {
        font-size: 16px;
        line-height: 26px;
    }

    .related-card {
        min-height: 96px;
    }

    .faq-item button {
        min-height: 74px;
        font-size: 16px;
        line-height: 24px;
    }

    .faq-answer p {
        padding-right: 0;
        font-size: 16px;
        line-height: 26px;
    }

    .page-form {
        padding: 22px;
        border-radius: 18px;
    }

    .service-index-card,
    .solution-index-card {
        min-height: auto;
        padding: 24px;
    }

    .service-index-card h2 {
        margin-top: 64px;
        font-size: 25px;
        line-height: 30px;
    }

    .solution-index-top {
        margin-bottom: 40px;
    }

    .solution-index-card h2,
    .solution-index-card h3 {
        font-size: 25px;
        line-height: 30px;
    }

    .process-detail {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 18px;
        padding: 24px 0;
    }

    .process-detail h2 {
        font-size: 28px;
        line-height: 33px;
    }

    .process-detail aside {
        grid-column: 2;
        padding-left: 16px;
    }

    .principle-bento {
        grid-template-columns: 1fr;
    }

    .principle-bento-main,
    .principle-bento article:nth-child(4) {
        grid-column: auto;
    }

    .principle-bento-main {
        min-height: 310px;
    }

    .principle-bento article {
        min-height: 190px;
    }

    .principle-bento-main h3 {
        font-size: 32px;
        line-height: 37px;
    }

    .contact-page {
        padding-top: 28px;
        padding-bottom: 58px;
    }

    .contact-page-points {
        margin-top: 30px;
    }

    .not-found {
        min-height: 520px;
        padding: 54px 0;
    }

    .not-found p:not(.eyebrow) {
        font-size: 17px;
        line-height: 28px;
    }
}

@media (max-width: 429px) {
    .inner-hero-copy h1,
    .listing-hero h1,
    .contact-page h1,
    .not-found h1 {
        font-size: 35px;
        line-height: 39px;
    }

    .page-section h2,
    .contact-cta-copy h2 {
        font-size: 32px;
        line-height: 37px;
    }

    .page-form {
        padding: 20px;
    }
}

/* Shared team component on inner pages --------------------------------- */
.team-scene-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}

.team-scene-inner .person {
    height: 540px;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #dfe9eb;
}

.team-scene-inner .person img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: center top;
}

.team-scene-inner .person::after {
    height: 260px;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(21,34,56,0), rgba(21,34,56,0.92));
    content: "";
}

.team-scene-inner .role-float {
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 20px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.42);
    border-radius: 16px;
    background: rgba(255,255,255,0.78);
    color: #43535f;
    font-family: var(--font-display);
    font-size: 11px;
    line-height: 15px;
    backdrop-filter: blur(8px);
}

.team-scene-inner .person-info {
    position: absolute;
    z-index: 3;
    right: 30px;
    bottom: 28px;
    left: 30px;
    color: #ffffff;
}

.team-scene-inner .person-info small {
    display: block;
    margin-bottom: 9px;
    color: #d8e3e7;
    font-size: 12px;
    line-height: 16px;
}

.team-scene-inner .person-info h3 {
    max-width: 520px;
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 33px;
    letter-spacing: -0.6px;
}

.team-scene-inner .person-info p {
    max-width: 540px;
    margin: 0;
    color: #d7e0e4;
    font-size: 15px;
    line-height: 24px;
}

@media (max-width: 767px) {
    .team-scene-inner {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        margin-right: -20px;
        padding-right: 20px;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .team-scene-inner::-webkit-scrollbar {
        display: none;
    }

    .team-scene-inner .person {
        min-width: 328px;
        height: 470px;
        flex: 0 0 328px;
        scroll-snap-align: start;
    }

    .team-scene-inner .person img {
        height: 470px;
    }

    .team-scene-inner .person-info {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }

    .team-scene-inner .person-info h3 {
        font-size: 23px;
        line-height: 28px;
    }
}

@media (max-width: 429px) {
    .team-scene-inner {
        margin-right: -18px;
        padding-right: 18px;
    }

    .team-scene-inner .person {
        min-width: 302px;
        flex-basis: 302px;
    }
}

/* Concise revision: detailed explanations open on request, using native HTML. */
.page-details { padding-block:24px; }
.page-disclosure { border-top:1px solid #bdcdd1; border-bottom:1px solid #bdcdd1; }
.page-disclosure summary { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:78px; padding:20px 0; font:500 20px/1.4 var(--font-display); cursor:pointer; list-style:none; }
.page-disclosure summary::-webkit-details-marker { display:none; }
.page-disclosure summary>span { font:400 26px/1 var(--font-body); color:#587581; }
.page-disclosure[open] summary>span { transform:rotate(45deg); }
.page-disclosure__body { padding:16px 0 32px; }
.page-disclosure .page-section-head { display:none; }
.page-disclosure .capability-grid article { background:#edf3f3; color:var(--ink); border-color:var(--line); }
.page-disclosure .capability-grid article p { color:#526873; }
.inner-faq__items { max-width:900px; }
.inner-faq .page-disclosure+.page-disclosure { border-top:0; }
.inner-faq .page-disclosure__body p { max-width:70ch; margin:0; color:#526873; font-size:16px; line-height:1.7; }
.page-inner [data-reveal].is-revealed { animation:none; }
@media(prefers-reduced-motion:no-preference) {
 .page-inner [data-reveal].is-pending { opacity:0; transform:translateY(16px); }
 .page-inner [data-reveal].is-revealed { animation:inner-appear 480ms ease-out both; }
 @keyframes inner-appear { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
}
.page-inner :is(summary,a,button):focus-visible { outline:3px solid #658eab; outline-offset:5px; }
@media(max-width:767px) {
 .page-disclosure summary { min-height:72px; font-size:18px; }
 .page-disclosure__body { padding-top:4px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

.page-disclosure .capability-grid h3 { color:var(--ink); }
.page-disclosure .capability-grid small { color:#526873; }
.contact-cta-reassurance { font-size:14px; }
