﻿:root {
    --ink: #183b3a;
    --teal: #174e4b;
    --paper: #f8f6f0;
    --white: #ffffff;
    --soft: #eaf0ec;
    --gold: #d9b56d;
    --muted: #526663;
    --line: #d6dfd9;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { line-height: 1.15; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.75rem, 7vw, 5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.2rem; line-height: 1.35; }
h4 { font-size: 1rem; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, .button { min-height: 48px; }
button, .button, input, textarea { border-radius: 0.4rem; }
button, .button {
    padding: 0.8rem 1.3rem;
    border: 1px solid transparent;
    background: var(--teal);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
}
button:hover:not(:disabled), .button:hover { background: var(--ink); color: var(--white); }
button:disabled { cursor: not-allowed; background: var(--line); color: var(--muted); }
:focus-visible { outline: 3px solid #ad762a; outline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; text-decoration: none; }
.eyebrow, .service_label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.eyebrow { color: var(--muted); margin-bottom: 0.8rem; }
.section_intro { color: var(--muted); max-width: 42rem; margin-top: 1rem; }
.solve, .process, .problems, .contact_form, .content_section {
    max-width: 1160px;
    margin-inline: auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
    scroll-margin-top: 1rem;
}

.skip_link { position: absolute; top: 0.5rem; left: 0.5rem; padding: 0.75rem; background: var(--white); transform: translateY(-200%); z-index: 2; }
.skip_link:focus { transform: translateY(0); }
.site_header { max-width: 1160px; margin-inline: auto; padding: 1rem clamp(1.25rem, 4vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; }
.brand { font-size: 1.25rem; font-weight: 700; text-decoration: none; padding-block: 0.5rem; }
.brand span { font-size: 0.8rem; font-weight: 400; }
.site_header nav, footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.site_header nav a, footer nav a { display: inline-flex; align-items: center; min-height: 48px; padding-block: 0.5rem; text-underline-offset: 0.25rem; }
.title_format h1 { max-width: 16ch; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.brand_intro { font-size: 1.1rem; letter-spacing: 0.04em; }
.industry { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem 3rem; border-top: 1px solid var(--line); padding-block: 2rem; scroll-margin-top: 1rem; }
.industry:first-of-type { margin-top: 2.5rem; }
.industry h3 { font-size: 1.5rem; }
.industry p + p { margin-top: 1rem; }
.industry > div:last-child > p, .industry_note, .engagement_grid p, .faq_item p { color: var(--muted); }
.text_cta { display: inline-flex; align-items: center; min-height: 48px; margin-top: 0.75rem; font-weight: 600; text-underline-offset: 0.25rem; }
.engagement { border-top: 1px solid var(--line); }
.engagement_grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2rem; }
.engagement_grid p { margin-top: 0.75rem; }
.faq { border-top: 1px solid var(--line); }
.faq_item { max-width: 50rem; margin-top: 2rem; }
.faq_item p { margin-top: 0.6rem; }
.field_help { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.1rem; }
footer nav { justify-content: center; }

.title_format {
    color: var(--paper);
    background: var(--teal);
    border-top: 5px solid var(--gold);
    padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}
.tagline { font-size: clamp(1.15rem, 2.5vw, 1.55rem); color: #eee4cd; }
.intro { max-width: 43rem; color: #dce7e2; }
.hero_actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.75rem; }
.title_format .button { background: var(--gold); color: var(--ink); }
.title_format .button:hover { background: #edcc8c; }
.secondary_link { text-underline-offset: 0.3rem; padding-block: 0.7rem; }
.hero_note { font-size: 0.9rem; color: #dce7e2; }

.solve {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.solve_format {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    margin-top: 2.5rem;
}
.solve1 {
    background: var(--white);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border-radius: 0.75rem;
    padding: 1.5rem;
    gap: 0.9rem;
    min-width: 0;
}
.solve1:nth-child(odd) { background: var(--soft); }
.solve1 p { color: var(--muted); font-size: 0.95rem; }
.image_container { width: 100px; max-width: 100%; height: 100px; margin-top: auto; }
.image_container img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0.5rem; }

.process { border-block: 1px solid var(--line); display: flex; flex-direction: column; }
.process_format { width: 100%; display: flex; flex-direction: column; gap: 2.75rem; margin-top: 2.5rem; }
.process1, .process2, .process3, .process4 {
    position: relative;
    width: 25%;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: var(--white);
    text-align: center;
}
.process1, .process3 { background: var(--soft); }
.process1 { align-self: flex-start; }
.process2 { margin-left: 25%; align-self: flex-start; }
.process3 { margin-right: 25%; align-self: flex-end; }
.process4 { align-self: flex-end; }
.step_number { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.5rem; }
.process_format p { color: var(--muted); font-size: 0.95rem; margin-top: 0.5rem; }
/* Decorative connectors occupy the gap, so they never cover the step text. */
.process_format > div:not(:last-child)::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 100%;
    left: 50%;
    width: 100%;
    height: 2.75rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 44' preserveAspectRatio='none'%3E%3Cpath d='M1 2 C1 25 75 4 90 22 S75 36 96 40 M90 34 L96 40 L87 42' fill='none' stroke='%23788670' stroke-width='1.7' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.slideshow { margin-top: 2rem; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--white); }
.slide { padding: clamp(1.25rem, 4vw, 3rem); }
.slide + .slide { border-top: 1px solid var(--line); }
.slide h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-block: 0.75rem 1rem; }
.service_label { color: var(--muted); }
.problem_quote { border-left: 3px solid var(--gold); padding-left: 1rem; margin-bottom: 1.5rem; font-size: 1.15rem; }
.slide h4 { margin-top: 1.25rem; }
.slide ul { padding-left: 1.3rem; margin-block: 0.5rem 0; }
.slide li + li { margin-top: 0.4rem; }
.slide li::marker { color: var(--teal); }
/* All slides share an intrinsic grid track: no fixed heights or layout jumps. */
.slideshow.is_ready .slides { display: grid; }
.slideshow.is_ready .slide { grid-area: 1 / 1; border-top: 0; min-width: 0; }
.slideshow.is_ready .slide[aria-hidden='true'] { visibility: hidden; pointer-events: none; }
.slide_controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1rem clamp(1.25rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.slide_controls button { flex: 0 0 auto; min-width: 48px; width: 3rem; padding: 0.4rem; font-size: 1.35rem; }
.slide_status { color: var(--muted); text-align: center; font-size: 0.9rem; }

.contact_form { border-top: 1px solid var(--line); }
.contact_form_container { display: flex; flex-direction: row; gap: clamp(2rem, 5vw, 4rem); }
.contact_form_text, .contact_forms { flex: 1 1 0; min-width: 0; }
.contact_form_text > p:not(.eyebrow) { margin-top: 1.25rem; color: var(--muted); }
.contact_forms form { display: flex; flex-direction: column; align-items: stretch; }
.contact_forms label { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
.contact_forms input, .contact_forms textarea { width: 100%; min-width: 0; max-width: 100%; padding: 0.75rem; margin-bottom: 1.1rem; border: 1px solid #7b9087; background: var(--white); color: var(--ink); }
.contact_forms textarea { resize: vertical; min-height: 9rem; }
.form_status { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }
footer { padding: 1.5rem; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 0.85rem; }

@media (max-width: 1000px) {
    .process1, .process2, .process3, .process4 { width: min(100%, 34rem); align-self: center; margin-inline: 0; }
    .process_format > div:not(:last-child)::after {
        width: 1.5rem;
        transform: translateX(-50%);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 44'%3E%3Cpath d='M12 5 V38 M6 32 L12 38 L18 32' fill='none' stroke='%23788670' stroke-width='1.7'/%3E%3C/svg%3E");
    }
}
@media (max-width: 800px) {
    .industry, .engagement_grid { grid-template-columns: minmax(0, 1fr); }
    .solve_format { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact_form_container { flex-direction: column; }
}
@media (max-width: 540px) {
    .solve_format { grid-template-columns: minmax(0, 1fr); }
}
