/* Contact Us (/contact-us).
   Self-contained, the arrangement about.css and guides.css follow: site.css
   supplies the tokens, the wrap and the button, and nothing else is loaded on
   this page.

   Two pieces only — a navy band, and one card lifting into it. The card holds
   the form and the aside side by side behind a single edge, because three
   separate boxes read as three separate subjects when the notes are an aside
   to the form.

   No photograph, on the reasoning about.css sets out: these static pages are
   colour and type, which cost no request and cannot 404. */

/* ---- the band ----
   Deeper than it needs to be at the bottom: the card eats 64px of it, and the
   padding here is what it eats, so nothing is covered. */

.gqv2 .gq-ct-band {
    position: relative;
    overflow: hidden;
    padding: 54px 0 96px;
    color: #fff;
    background: linear-gradient(135deg, var(--gq-navy-dark), var(--gq-navy) 55%, #17496f);
}

/* Our own monogram, very faint, bled off the right edge — the band's only
   ornament, and a local asset rather than somebody's stock photograph.

   THE ?v= IS LOAD-BEARING and hand-written: asset_url() stamps a stylesheet
   with its mtime but nothing stamps a URL written inside one, and .htaccess
   serves svg with `access plus 1 year`. Bump it if the monogram is ever
   redrawn, exactly as site.css does for the logo mask. */
.gqv2 .gq-ct-watermark {
    position: absolute;
    top: 50%;
    right: -60px;
    width: 340px;
    height: 340px;
    transform: translateY(-50%);
    background: url('../images/gq-monogram.svg?v=1') center/contain no-repeat;
    opacity: .06;
    pointer-events: none;
}

.gqv2 .gq-ct-band-inner { position: relative; z-index: 1; }

.gqv2 .gq-ct-band .gqv2-script {
    font-size: 27px;
    line-height: 1;
    color: #F0A63C;
}

.gqv2 .gq-ct-band h1 {
    /* Stated, not inherited: site.css colours every h1 navy, and on a navy
       band that is a heading nobody can read. */
    color: #fff;
    font-size: clamp(32px, 4.4vw, 48px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.08;
    margin: 8px 0 10px;
}

.gqv2 .gq-ct-band p {
    max-width: 620px;
    margin: 0;
    font-size: 16.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .82);
}

/* The three promises. Chips rather than a sentence: they are read at a glance
   or not at all, and a visitor deciding whether to write wants all three at
   once. */
.gqv2 .gq-ct-promises {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.gqv2 .gq-ct-promises li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
}

.gqv2 .gq-ct-promises i { font-size: 12px; color: #6FCB9F; }

/* ---- the card ---- */

.gqv2 .gq-ct-wrap { padding-bottom: 84px; }

.gqv2 .gq-ct-card {
    position: relative;
    z-index: 2;
    /* Lifts into the band's bottom padding — see the note there. */
    margin-top: -64px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 34px 80px -38px rgba(6, 20, 38, .55);
}

.gqv2 .gq-ct-main { padding: 34px 36px 36px; }

.gqv2 .gq-ct-main h2 {
    font-size: 23px;
    font-weight: 700;
    margin: 0 0 4px;
}

.gqv2 .gq-ct-lede {
    margin: 0 0 22px;
    font-size: 14.5px;
    color: var(--gq-mist);
}

/* ---- fields ---- */

.gqv2 .gq-ct-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.gqv2 .gq-ct-row { margin-bottom: 17px; }

.gqv2 .gq-ct-row label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gq-navy);
    margin-bottom: 7px;
}

.gqv2 .gq-ct-row input,
.gqv2 .gq-ct-row textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--gq-line);
    border-radius: 12px;
    background: var(--gq-cloud);
    font: 400 15px/1.5 var(--gq-font);
    color: var(--gq-navy);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.gqv2 .gq-ct-row textarea { resize: vertical; min-height: 156px; }

.gqv2 .gq-ct-row input:focus,
.gqv2 .gq-ct-row textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--gq-gold);
    box-shadow: 0 0 0 4px rgba(217, 108, 71, .12);
}

.gqv2 .gq-ct-row input::placeholder,
.gqv2 .gq-ct-row textarea::placeholder { color: #9aa8b8; }

.gqv2 .gq-ct-send {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 6px;
}

.gqv2 .gq-ct-send span {
    font-size: 12.5px;
    color: var(--gq-mist);
    max-width: 280px;
    line-height: 1.5;
}

/* What came back from the post. One style: a visitor does not need taught the
   difference between "we could not send it" and "you left the email out" —
   both mean the message is still here. */
.gqv2 .gq-ct-alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 0 20px;
    padding: 13px 16px;
    border: 1px solid #f5c2bd;
    border-radius: 12px;
    background: #fdecea;
    color: #8c2f22;
    font-size: 14.5px;
    line-height: 1.5;
}

.gqv2 .gq-ct-alert i { margin-top: 2px; }
.gqv2 .gq-ct-alert .d-block { display: block; }

/* ---- sent ---- */

.gqv2 .gq-ct-done { text-align: center; padding: 30px 6px 22px; }

.gqv2 .gq-ct-done-mark {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 36px;
    font-size: 27px;
    color: #fff;
    background: linear-gradient(135deg, #4e9c72, #3d7f5c);
    box-shadow: 0 20px 38px -16px rgba(61, 127, 92, .7);
}

.gqv2 .gq-ct-done h2 { margin-bottom: 10px; }

.gqv2 .gq-ct-done p {
    max-width: 430px;
    margin: 0 auto 24px;
    color: var(--gq-slate);
    line-height: 1.6;
}

/* ---- the aside, inside the same card ----
   Sand against the form's white, so the two panes are told apart by material
   rather than by a rule. */

.gqv2 .gq-ct-side {
    padding: 34px 32px 36px;
    background: var(--gq-sand);
    border-left: 1px solid var(--gq-line);
}

.gqv2 .gq-ct-side h3 {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gq-mist);
    margin: 0 0 18px;
}

.gqv2 .gq-ct-list { list-style: none; margin: 0; padding: 0; }

.gqv2 .gq-ct-list li {
    display: flex;
    gap: 13px;
    padding: 16px 0;
    border-top: 1px solid rgba(18, 59, 99, .1);
    font-size: 14px;
    line-height: 1.6;
    color: var(--gq-slate);
}

.gqv2 .gq-ct-list li:first-child { border-top: 0; padding-top: 0; }
.gqv2 .gq-ct-list li:last-child { padding-bottom: 0; }

.gqv2 .gq-ct-list i {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    font-size: 14px;
    color: var(--gq-gold-dark);
    background: rgba(217, 108, 71, .12);
}

.gqv2 .gq-ct-list b {
    display: block;
    margin-bottom: 3px;
    color: var(--gq-navy);
    font-size: 14.5px;
}

.gqv2 .gq-ct-list a { color: var(--gq-blue); font-weight: 600; }
.gqv2 .gq-ct-list a:hover { text-decoration: underline; }

/* ---- narrow ----
   The aside goes under the form rather than beside it, and stops being a
   column: at this width it is the last thing read, not a sidebar. */

@media (max-width: 900px) {
    .gqv2 .gq-ct-card { grid-template-columns: minmax(0, 1fr); }
    .gqv2 .gq-ct-side { border-left: 0; border-top: 1px solid var(--gq-line); }
}

@media (max-width: 620px) {
    .gqv2 .gq-ct-band { padding: 40px 0 88px; }
    .gqv2 .gq-ct-watermark { display: none; }
    .gqv2 .gq-ct-pair { grid-template-columns: minmax(0, 1fr); }
    .gqv2 .gq-ct-main,
    .gqv2 .gq-ct-side { padding: 26px 22px 28px; }
}
