/* adamantus.com (22 October 2026): the home page's "curtain" between sections and the entrances
   of each section's content (site.js); replaces fullPage.js's styles */

:root { --curtain-dur: 850ms; --curtain-ease: cubic-bezier(.65, 0, .35, 1); --enter-base: 380ms; }

html.snap, html.snap body { height: 100%; overflow: hidden; }
html.snap #fullpage { position: fixed; inset: 0; height: auto; overflow: hidden; }
html.snap #fullpage > .section {
    position: absolute !important; inset: 0; width: 100%; height: 100% !important; margin: 0;
    padding: 0 !important; min-height: 0 !important; box-sizing: border-box;
    display: flex !important; flex-direction: column; justify-content: center;
    overflow-x: hidden; overflow-y: auto; scrollbar-width: none;
    background-color: #26394d;
    transition: transform var(--curtain-dur) var(--curtain-ease), clip-path var(--curtain-dur) var(--curtain-ease);
    will-change: transform, clip-path;
}
html.snap #fullpage > .section::-webkit-scrollbar { display: none; }
html.snap #fullpage > .section.home, html.snap #fullpage > .section.what_we_do,
html.snap #fullpage > #get-a-quote, html.snap #fullpage > .section.contact { background-color: #fff; }
html.snap #fullpage > .section > * { flex-shrink: 0; }

/* the curtain: the next section is uncovered from below, the one before drifts up behind it */
html.snap #fullpage > .section.is-before { transform: translateY(-28%); clip-path: inset(0 0 0 0); }
html.snap #fullpage > .section.is-active { transform: none; clip-path: inset(0 0 0 0); }
html.snap #fullpage > .section.is-after  { transform: none; clip-path: inset(100% 0 0 0); }
html.snap-still #fullpage > .section, html.snap-still [data-enter] { transition: none !important; }

/* the header and the side menu stay above the sections */
html.snap #header { z-index: 60; }
html.snap #menu { z-index: 60; }
#header { transition: opacity .4s; }
#header.quote-hidden { opacity: 0; pointer-events: none; }

/* each section's content comes in once it is uncovered (data-enter set by site.js). Until then it
   waits faded out and moved; once entered the theme's own opacity applies again */
html.snap .section:not(.entered) [data-enter] {
    opacity: 0;
    transition: opacity .2s ease, translate .2s ease, scale .2s ease, rotate .2s ease;
}
html.snap .section:not(.entered) [data-enter="up"]    { translate: 0 36px; }
html.snap .section:not(.entered) [data-enter="left"]  { translate: -64px 0; }
html.snap .section:not(.entered) [data-enter="right"] { translate: 64px 0; }
html.snap .section:not(.entered) [data-enter="pop"]   { scale: .55; }
html.snap .section:not(.entered) [data-enter="flip"]  { rotate: y 75deg; }
html.snap .section:not(.entered) [data-enter="rise"]  { translate: 0 60px; scale: .96; }
html.snap .section.entered [data-enter] {
    transition:
        opacity .52s ease calc(var(--enter-base) + var(--i, 0) * 90ms),
        translate .72s cubic-bezier(.22, 1, .36, 1) calc(var(--enter-base) + var(--i, 0) * 90ms),
        scale .72s cubic-bezier(.22, 1, .36, 1) calc(var(--enter-base) + var(--i, 0) * 90ms),
        rotate .8s cubic-bezier(.22, 1, .36, 1) calc(var(--enter-base) + var(--i, 0) * 90ms);
}
html.snap .portfolio_content .projects { perspective: 1200px; }

/* the drawer's × is a button now */
#quote_selections .small_cordion .icon { background: none; border: 0; padding: 0; color: inherit; }


@media (prefers-reduced-motion: reduce) {
    :root { --curtain-dur: 1ms; --enter-base: 0ms; }
    html.snap [data-enter] { translate: none !important; scale: none !important; rotate: none !important; }
}

/* contact (23 October 2026): the form is centred on its own; the footer that covered it on shorter
   windows is the last section now. Too tall for the window: the section scrolls inside (site.js) */
html.snap .contact_section {
    position: relative !important; height: auto !important; min-height: 100%;
    display: flex !important; flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 90px 0 14px; box-sizing: border-box;
}
html.snap .contact_section .content_wrapper {
    position: relative !important; inset: auto !important; bottom: auto !important;
    flex: 0 0 auto; width: 100%; max-width: 900px; margin: auto;
}
.next_slide_hint { display: none; }
html.snap .next_slide_hint {
    flex: 0 0 auto; width: max-content; margin: 18px auto 0;
    display: flex; align-items: center; gap: 6px;
    font-family: Heading, Arial, sans-serif; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
    color: #5d7190; text-decoration: none;
}
html.snap .next_slide_hint:hover, html.snap .next_slide_hint:focus-visible { color: #08c; text-decoration: none; }
.next_slide_hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the footer: the home page's last section (#company) */
.section.company, html.snap #fullpage > .section.company { background-color: #1f3042; }
html.snap #fullpage > .section.company { justify-content: flex-start; }
.site_footer {
    min-height: 100%; display: flex; flex-direction: column; box-sizing: border-box; padding: 0 75px;
    font-family: Abel, Arial, sans-serif; color: #d5dded; background: #1f3042;
}
.ftr_main {
    flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center;
    max-width: 1380px; padding: 118px 205px 32px 0;
}
.ftr_lead {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 32px;
    padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid #34485f;
}
.site_footer h2 {
    margin: 0 0 6px; font-family: Heading, Arial, sans-serif; font-weight: 400; font-size: 64px; line-height: .95;
    color: #fff; text-transform: uppercase; letter-spacing: .01em;
}
.site_footer h2 span { color: #3498db; white-space: nowrap; }
.ftr_lead p { margin: 0; font-size: 18px; line-height: 1.4; color: #a3b1cc; }
.ftr_actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ftr_button {
    display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; box-sizing: border-box;
    background: #1a74b8; border: 1.5px solid #1a74b8; color: #fff;
    font-family: Heading, Arial, sans-serif; font-size: 20px; letter-spacing: .04em; text-transform: uppercase;
    transition: background .2s, border-color .2s;
}
.ftr_button:hover, .ftr_button:focus-visible { background: #08c; border-color: #08c; color: #fff; text-decoration: none; }
.ftr_button_line { background: transparent; border-color: #5d7190; }
.ftr_button_line:hover, .ftr_button_line:focus-visible { background: rgba(255, 255, 255, .08); border-color: #a3b1cc; }
.ftr_columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px 32px; }
.ftr_col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site_footer h3 {
    margin: 0 0 4px; font-family: Heading, Arial, sans-serif; font-weight: 400; font-size: 22px; letter-spacing: .05em;
    color: #fff; text-transform: uppercase;
}
.site_footer a, .site_footer address { margin: 0; color: #d5dded; font-size: 16px; line-height: 1.4; font-style: normal; text-decoration: none; }
.site_footer a:hover, .site_footer a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr_col a, .ftr_col address { display: inline-flex; align-items: flex-start; gap: 10px; }
.ftr_col svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: #5fb0e8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ftr_col svg.ftr_out { width: 12px; height: 12px; margin: 5px 0 0 -4px; stroke: #7f8ea8; stroke-width: 2.4; }
.ftr_pill { align-self: center; padding: 4px 8px; border-radius: 10px; background: #2c4a66; color: #9fd0f3; font-size: 12px; line-height: 1; }
.ftr_bottom {
    flex-shrink: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
    min-height: 72px; border-top: 1px solid #34485f; font-size: 15px; color: #a3b1cc;
}
.ftr_social { display: flex; gap: 10px; }
.site_footer .ftr_social a {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; box-sizing: border-box;
    border: 1.5px solid #3e5571; border-radius: 50%; transition: border-color .2s, background .2s;
}
.site_footer .ftr_social a:hover, .site_footer .ftr_social a:focus-visible { border-color: #a3b1cc; background: rgba(255, 255, 255, .06); }
.ftr_social svg, .ftr_top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.site_footer .ftr_top {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: Heading, Arial, sans-serif; font-size: 18px; letter-spacing: .05em; text-transform: uppercase;
}
/* big screens */
@media (min-width: 1600px) and (min-height: 860px) {
    .site_footer h2 { font-size: 84px; }
    .ftr_lead p { font-size: 21px; }
    .ftr_lead { padding-bottom: 40px; margin-bottom: 40px; }
    .site_footer h3 { font-size: 26px; }
    .site_footer a, .site_footer address { font-size: 18px; }
    .ftr_col { gap: 14px; }
    .ftr_col svg { width: 18px; height: 18px; }
    .ftr_button { height: 52px; font-size: 22px; padding: 0 28px; }
}
/* short windows (the 1280×635 laptop and below) */
@media (min-width: 1025px) and (max-height: 700px) {
    html.snap .contact_section { padding-top: 76px; }
    html.snap #contact_form .row:last-child { margin-bottom: 0; }
    html.snap .next_slide_hint { margin-top: 12px; }
    .ftr_main { padding-top: 104px; padding-bottom: 24px; }
    .site_footer h2 { font-size: 54px; }
    .ftr_lead { padding-bottom: 22px; margin-bottom: 24px; }
    .ftr_col { gap: 9px; }
    .ftr_bottom { min-height: 60px; }
}
/* phones and tablets: the sections follow each other */
/* the theme gives every section 700px there; Contact needs no more than its form, and the
   footer brings its own padding */
body.mobile #fullpage .section.contact { min-height: 0 !important; }
body.mobile #fullpage .section.company { min-height: 0 !important; padding: 0 !important; }
@media (max-width: 1024px) {
    .site_footer { padding: 56px 24px 0; }
    .ftr_main { padding: 0 0 32px; }
    .ftr_lead { flex-direction: column; align-items: stretch; }
    .site_footer h2 { font-size: 48px; }
    .ftr_actions { flex-direction: column; }
    .ftr_button { height: 48px; }
    .ftr_columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
    .ftr_col a, .ftr_col address { min-height: 30px; font-size: 17px; }
    .site_footer .ftr_social a { width: 44px; height: 44px; }
    .ftr_bottom { padding: 16px 0 24px; }
    .site_footer .ftr_top { min-height: 44px; }
}
@media (min-width: 600px) and (max-width: 1024px) {
    .ftr_actions { flex-direction: row; }
}
@media (max-width: 599px) {
    .ftr_col:nth-child(1), .ftr_col:nth-child(2) { grid-column: 1 / -1; }
}

/* ---------- 23 October 2026 (b): the top menu, the pages under /what-we-do/ and /quote/ ---------- */

.ftr_button { cursor: pointer; text-decoration: none; }
button.ftr_button { min-width: 180px; height: 50px; }

/* the side menu: page links only where the top menu doesn't show; on phones the page replaces the
   What we do slide's entry */
body:not(.mobile) #menu li.menu_page { display: none; }
body.mobile #menu li[data-menuanchor="what_we_do"] { display: none; }

/* the top menu: over the slides on the front page, in the white bar on the other pages */
.top_nav { display: none; }
@media (min-width: 1025px) {
    body:not(.mobile) .top_nav {
        position: fixed; top: 40px; right: 60px; z-index: 61; display: flex; align-items: center; gap: 30px;
        font-family: Heading, Arial, sans-serif; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; color: #fff;
        transition: color .4s;
    }
    body:not(.mobile) .top_nav.on-light { color: #26394d; }
    body.page:not(.mobile) .top_nav { top: 0; right: 130px; height: 72px; z-index: 1000; color: #26394d; }
}
.top_nav a { padding: 8px 0; border-bottom: 2px solid transparent; color: inherit; text-decoration: none; }
.top_nav a:hover, .top_nav a:focus-visible { color: inherit; border-bottom-color: currentColor; text-decoration: none; }
.top_nav a[aria-current="page"] { color: #1a74b8; border-bottom-color: #1a74b8; }
.top_nav .top_nav_cta { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border: 0; background: #1a74b8; color: #fff; }
.top_nav .top_nav_cta:hover, .top_nav .top_nav_cta:focus-visible { background: #08c; color: #fff; }
.top_nav .top_nav_cta[aria-current="page"] { background: #26394d; color: #fff; }
html.snap #fullpage.invisible ~ .top_nav, #fullpage.invisible .top_nav { visibility: hidden; }

/* the pages' white bar (the same as on the privacy and jobs pages) */
body.page:not(.mobile) #header { left: 0; right: 0; width: 100%; height: 72px; background: #fff; box-shadow: 0 2px 14px rgba(20, 30, 40, .08); z-index: 999; }
body.page:not(.mobile) #header .logo { padding: 16px 0 0 75px !important; height: 100%; background: #fff; }
body.page:not(.mobile) #header .logo img { display: block !important; height: 40px; width: auto; }
body.page:not(.mobile) #header .logo img:first-child { display: none !important; }
body.page:not(.mobile) .navbar-mobile .navbar-toggle { display: block !important; top: 6px; right: 60px; }
body.page:not(.mobile) #menu { top: 72px; right: 0; bottom: auto; height: calc(100% - 72px); width: 0; margin: 0; padding-top: 20px; overflow-x: hidden; transition: width .3s; z-index: 998; }
body.page:not(.mobile) #menu.canSee { background: #08c; width: 260px; box-shadow: -6px 0 20px rgba(20, 30, 40, .15); }
body.page:not(.mobile) #menu li { display: block; padding: 12px 60px 0 0; width: 260px; }
body.page:not(.mobile) #menu li a { opacity: .85; color: #fff; }
body.page:not(.mobile) #menu li a:hover, body.page:not(.mobile) #menu li.active a { opacity: 1; }

/* the generated pages */
body.page #main { display: block; padding-top: 72px; font-family: Abel, Arial, sans-serif; color: #444; background: #fff; }
body.page.mobile #main { padding-top: 60px; }
.pg_wrap { box-sizing: border-box; max-width: 1178px; margin: 0 auto; padding: 0 24px; }
.pg_cover { background: #26394d; padding: 84px 0 90px; }
.pg_cover h1 { margin: 0; font-family: Heading, Arial, sans-serif; font-weight: 400; font-size: 96px; line-height: .9; color: #fff; text-transform: uppercase; }
.pg_cover h1 span { color: #3498db; }
.pg_eyebrow { margin: 0 0 16px; font-family: Heading, Arial, sans-serif; font-size: 18px; letter-spacing: .12em; color: #a3b1cc; text-transform: uppercase; }
.pg_crumbs { margin-bottom: 18px; font-size: 16px; color: #a3b1cc; }
.pg_crumbs a { color: #a3b1cc; text-decoration: underline; text-underline-offset: 3px; }
.pg_crumbs a:hover { color: #fff; }
.pg_crumbs [aria-current] { color: #fff; }
.pg_lead { margin: 20px 0 0; max-width: 700px; font-size: 21px; line-height: 1.45; color: #d5dded; }
.pg_section { padding: 88px 0 40px; }
.pg_section_tight { padding: 40px 0 72px; }
.pg_section h2 { margin: 0 0 36px; font-family: Heading, Arial, sans-serif; font-weight: 400; font-size: 52px; line-height: 1; color: #333; text-transform: uppercase; }
.pg_section h2 span { color: #08c; }
.pg_section .pg_h2_small { margin-bottom: 20px; font-size: 40px; }
.pg_cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.pg_card {
    display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border: 1px solid #e1e6ee; color: #444; text-decoration: none;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pg_card:hover, .pg_card:focus-visible { border-color: #08c; box-shadow: 0 10px 28px rgba(20, 40, 70, .08); transform: translateY(-2px); color: #444; text-decoration: none; }
.pg_card svg { width: 34px; height: 34px; fill: none; stroke: #08c; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pg_card h3 { margin: 0; font-family: Heading, Arial, sans-serif; font-weight: 400; font-size: 30px; line-height: 1.05; color: #26394d; text-transform: uppercase; }
.pg_card p { margin: 0; font-size: 17px; line-height: 1.45; }
.pg_more { margin-top: auto; padding-top: 8px; font-family: Heading, Arial, sans-serif; font-size: 19px; letter-spacing: .05em; color: #1a74b8; text-transform: uppercase; }
.pg_more::after, .pg_others a::after, .wwd_more::after { content: " \2192"; }
.pg_two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.pg_chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pg_chips li { padding: 9px 16px; background: #f1f4f8; color: #26394d; font-size: 17px; }
.pg_chips_white li { padding: 6px 12px; background: #fff; border: 1px solid #d9e0ea; font-size: 16px; }
.pg_products { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; font-size: 18px; }
.pg_products a, .pg_others a { color: #1a74b8; text-decoration: none; }
.pg_products a { display: inline-flex; align-items: center; gap: 6px; }
.pg_products a:hover, .pg_others a:hover { color: #26394d; text-decoration: underline; text-underline-offset: 3px; }
svg.pg_out { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pg_split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px; }
.pg_split_main { flex: 999 1 560px; min-width: 0; }
.pg_aside { flex: 1 1 300px; box-sizing: border-box; display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; background: #f1f4f8; }
.pg_section .pg_aside h2 { margin: 0; font-size: 30px; color: #26394d; }
.pg_checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; font-size: 19px; line-height: 1.45; }
.pg_checks li { display: flex; gap: 14px; }
.pg_checks svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: #08c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pg_steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pg_steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 3px solid #08c; font-size: 17px; line-height: 1.45; }
.pg_step_no { font-family: Heading, Arial, sans-serif; font-size: 40px; line-height: 1; color: #08c; }
.pg_steps strong { font-family: Heading, Arial, sans-serif; font-weight: 400; font-size: 24px; color: #26394d; text-transform: uppercase; }
.pg_others { padding: 0 0 88px; }
.pg_section.pg_others h2 { padding-top: 40px; border-top: 1px solid #e1e6ee; font-size: 30px; color: #26394d; }
.pg_others ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 18px; }

/* the footer under a page */
.page_footer { min-height: 0; padding: 0 max(24px, calc((100% - 1130px) / 2)); }
.page_footer .ftr_main { max-width: none; padding: 72px 0 36px; }

/* the quote page */
.pg_section h2.qp_step { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; font-size: 40px; }
.pg_section h2.qp_step span { color: #08c; }
.pg_section h2#quote-form-title { margin-top: 56px; }
.qp_group { margin-bottom: 12px; border: 1px solid #e1e6ee; }
.qp_group h3 { margin: 0; }
.qp_head {
    width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px 22px; border: 0; background: #26394d; color: #fff; cursor: pointer;
    font-family: Heading, Arial, sans-serif; font-size: 24px; letter-spacing: .03em; text-transform: uppercase; text-align: left;
}
.qp_head[aria-expanded="true"] { background: #08c; }
.qp_head span { margin-left: auto; font-family: Abel, Arial, sans-serif; font-size: 14px; letter-spacing: 0; text-transform: none; opacity: .85; }
.qp_head::after { content: ""; width: 9px; height: 9px; margin: -5px 4px 0 4px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); transition: transform .2s; }
.qp_head[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(225deg); }
.qp_body { padding: 22px; }
.qp_body[hidden], .qp_opts[hidden] { display: none; }
.qp_techs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.qp_tech {
    position: relative; display: flex; align-items: center; justify-content: center; min-height: 68px; margin: 0; padding: 6px 10px; box-sizing: border-box;
    border: 1px solid #d9e0ea; text-align: center; cursor: pointer; transition: border-color .15s, background .15s;
    font-family: Heading, Arial, sans-serif; font-size: 22px; font-weight: 400; letter-spacing: .03em; color: #26394d; text-transform: uppercase;
}
.qp_tech input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.qp_tech:hover { border-color: #08c; }
.qp_tech.on { border: 2px solid #08c; background: #eef7fc; }
.qp_tech:focus-within { outline: 2px solid #08c; outline-offset: 2px; }
.qp_opts { margin: 18px 0 0; padding: 16px 18px 4px; border: 0; background: #f7f9fb; min-width: 0; }
.qp_opts legend { float: left; width: 100%; margin: 0 0 12px; padding: 0; border: 0; font-family: Heading, Arial, sans-serif; font-size: 20px; color: #08c; text-transform: uppercase; }
.qp_opt { clear: left; display: flex; gap: 10px; margin: 0 0 12px; font-size: 16px; font-weight: 400; line-height: 1.4; color: #444; cursor: pointer; }
.qp_opt input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #08c; }
.qp_opt strong { color: #26394d; }
.qp_opt strong + span { display: block; color: #555; }
.qp_summary { position: sticky; top: 96px; }
.qp_list { display: flex; flex-direction: column; }
.qp_item { padding: 10px 0; border-bottom: 1px solid #d9e0ea; font-size: 16px; }
.qp_item_head { display: flex; align-items: center; justify-content: space-between; font-family: Heading, Arial, sans-serif; font-size: 20px; color: #26394d; text-transform: uppercase; }
.qp_item_head strong { font-weight: 400; }
.qp_remove { width: 32px; height: 32px; border: 0; background: none; color: #5d7190; font-size: 22px; line-height: 1; cursor: pointer; }
.qp_remove:hover, .qp_remove:focus-visible { color: #b3261e; }
.qp_empty { margin: 0; color: #666; font-size: 16px; }
.qp_clear { height: 40px; border: 0; background: none; color: #5d7190; cursor: pointer; font-family: Heading, Arial, sans-serif; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.qp_clear:hover { color: #26394d; }
.pg_form { display: flex; flex-direction: column; gap: 16px; }
.pg_form label { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 15px; font-weight: 400; color: #555; }
.pg_form input, .pg_form textarea {
    width: 100%; box-sizing: border-box; border: 1px solid #d9e0ea; border-radius: 0; background: #f7f9fb; color: #333;
    font-family: Abel, Arial, sans-serif; font-size: 18px;
}
.pg_form input { height: 48px; padding: 0 14px; }
.pg_form textarea { min-height: 180px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.pg_form input:focus, .pg_form textarea:focus { border-color: #08c; outline: 2px solid rgba(0, 136, 204, .25); }
.pg_form_row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pg_form_actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px; }

/* the front page's What we do slide: the services link to their pages */
.what_we_do_section_content .wwd_services { margin: 16px 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.what_we_do_section_content .wwd_services li { margin: 0; padding: 0; list-style: none; }
.what_we_do_section_content .wwd_services li::before { content: none; display: none; }
.what_we_do_section_content .wwd_services a {
    display: block; padding: 9px 14px; border: 1px solid #dfe5ec; background: #fff; color: #26394d; font-size: 17px; line-height: 1.3; text-decoration: none;
    transition: border-color .2s, color .2s;
}
.what_we_do_section_content .wwd_services a:hover, .what_we_do_section_content .wwd_services a:focus-visible { border-color: #08c; color: #08c; }
.what_we_do_section_content .wwd_industries { font-size: 16px; color: #555; }
.what_we_do_section_content .wwd_more {
    display: inline-flex; align-items: center; height: 44px; padding: 0 20px; background: #1a74b8; color: #fff; text-decoration: none;
    font-family: Heading, Arial, sans-serif; font-size: 19px; letter-spacing: .04em; text-transform: uppercase;
}
.what_we_do_section_content .wwd_more:hover { background: #08c; color: #fff; }

@media (max-width: 1024px) {
    .pg_cover { padding: 48px 0 56px; }
    .pg_cover h1 { font-size: 60px; }
    .pg_lead { font-size: 19px; }
    .pg_section { padding: 56px 0 24px; }
    .pg_section h2 { margin-bottom: 26px; font-size: 40px; }
    .pg_two { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .pg_steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pg_split { gap: 36px; }
    .qp_summary { display: none; }
    .page_footer { padding: 56px 24px 0; }
}
@media (max-width: 599px) {
    .pg_cover h1 { font-size: 48px; }
    .pg_cards { grid-template-columns: minmax(0, 1fr); }
    .pg_steps, .pg_form_row { grid-template-columns: minmax(0, 1fr); }
    .pg_checks { font-size: 18px; }
    .qp_head { padding: 16px; font-size: 21px; }
    .qp_head span { display: none; }
    .qp_head::after { margin-left: auto; }
    .qp_body { padding: 14px; }
    .qp_techs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .what_we_do_section_content .wwd_services { grid-template-columns: minmax(0, 1fr); }
}
/* the slide on shorter laptop windows: the list and the button stay on screen */
@media (min-width: 1025px) and (max-height: 760px) {
    html.snap .what_we_do_section_content .wwd_services { margin: 12px 0; gap: 6px 12px; }
    html.snap .what_we_do_section_content .wwd_services a { padding: 6px 12px; font-size: 16px; }
    html.snap .what_we_do_section_content .wwd_industries { display: none; }
}
/* after the pages' menu rules, which would show them again */
body:not(.mobile) #menu li.menu_page, body.page:not(.mobile) #menu li.menu_page { display: none; }
.contact_section .heading p a { color: #08c; text-decoration: underline; text-underline-offset: 3px; }
