/* Classic+: the old site's look (black, the night skyline with its windows
   lighting up, the thin-line logo, light uppercase type and glowing icons),
   laid out again for today's screens. Jost stands in for the original Adobe
   Typekit futura-pt. */

:root {
    --ink: #FFFFFF;
    --ink-soft: rgba(255, 255, 255, 0.76);
    --ink-faint: rgba(255, 255, 255, 0.5);
    --ice: #D9FCFE;         /* the old site's link colour */
    --ice-deep: #9CEAEC;    /* and its hover colour */
    --glow: rgba(156, 234, 236, 0.35);
    --line: rgba(255, 255, 255, 0.16);
    --error: #FF8A8A;
    --bar-height: 76px;
    --gutter: clamp(20px, 5vw, 48px);
    --content: 1120px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--bar-height);
}

body {
    margin: 0;
    background: #000000;
    color: var(--ink);
    font-family: 'Jost', Arial, sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure, ul {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ice);
    text-decoration-color: rgba(217, 252, 254, 0.35);
    text-underline-offset: 3px;
    transition: color 200ms, text-shadow 200ms;
}

a:hover {
    color: var(--ice-deep);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

:focus-visible {
    outline: 1px solid var(--ice-deep);
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 20;
    padding: 8px 14px;
    background: #000;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


/* The top bar: the logo and the menu, on a dark backing with a glowing line
   underneath, over the skyline and then the page as it scrolls. */

.bar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10;
    height: var(--bar-height);
    background-color: rgba(0, 0, 0, 0.78);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.bar::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35) 30%, rgba(255, 255, 255, 0.35) 70%, transparent);
}

.bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: calc(var(--content) + 2 * var(--gutter));
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* The logo: the old logo's BLACKOUT lettering, with "Power Trading" set as
   text under its right half, so it stays sharp and readable at header size.
   --logo-height is the height of the lettering; the space above it balances
   the line below, so the lettering sits on the bar's centre line. */
.brand {
    --logo-height: 32px;
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: flex-end;
    padding-top: calc(var(--logo-height) * 0.44);
    color: #888888;
    text-decoration: none;
}

.brand:hover {
    color: #AAAAAA;
}

.brand img {
    display: block;
    width: auto;
    height: var(--logo-height);
}

.brand span {
    margin: calc(var(--logo-height) * 0.12) calc(var(--logo-height) * 0.15) 0 0;
    font-size: calc(var(--logo-height) * 0.3);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Phones get a Menu button that opens the links below the bar (main.js). */
.menu-button {
    display: none;
}

nav {
    display: flex;
    gap: clamp(18px, 3.2vw, 44px);
    margin-left: auto;
}

/* The active tab sits on a soft glow, like the old menu's highlight. */
.nav-link {
    position: relative;
    padding: 6px 0;
    color: #AAAAAA;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: -14px;
    right: -14px;
    bottom: -8px;
    height: 14px;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.45), transparent);
    opacity: 0;
    transition: opacity 300ms;
}

.nav-link:hover {
    color: var(--ink);
    text-shadow: 0 0 10px #FFFFFF;
}

.nav-link[aria-current] {
    color: var(--ink);
}

.nav-link[aria-current]::after {
    opacity: 1;
}


/* Home: the skyline fills the screen, with the tagline over the dark ground
   at the bottom of the photo. */

.hero {
    /* The photo (1920 x 900) is at least as wide as the screen, and as tall
       as it can be under the bar with room for the tagline. Narrow screens
       show its middle, at least a quarter of it on a phone. */
    --stage-width: max(100vw, min((100svh - 150px) * 1920 / 900, 360vw));
    --stage-height: calc(var(--stage-width) * 900 / 1920);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Exactly one screen: on wide, short screens the photo's empty sky goes
       under the bar, so the tagline still shows. */
    height: max(100vh, 480px);
    height: max(100svh, 480px);
    overflow: hidden;
}

.skyline {
    flex: none;
    position: relative;
    align-self: center;
    width: var(--stage-width);
    height: var(--stage-height);
    background: url(/images/blackout-home.jpg) 0 0 / 100% 100% no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* The photo's night sky and ground are not quite black, so its top and
   bottom edges fade into the page. */
.skyline::before,
.skyline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
}

.skyline::before {
    top: 0;
    height: 18%;
    background: linear-gradient(#000, transparent);
}

.skyline::after {
    bottom: 0;
    height: 14%;
    background: linear-gradient(transparent, #000);
}

/* Each overlay is a crop of the photo with more windows lit, placed by its
   pixel position in the photo (--x, --y) and size (--w, --h). */
.lights {
    position: absolute;
    left: calc(var(--x) / 1920 * 100%);
    top: calc(var(--y) / 900 * 100%);
    width: calc(var(--w) / 1920 * 100%);
    height: calc(var(--h) / 900 * 100%);
    background-size: 100% 100%;
    opacity: 0;
    animation-delay: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

/* Each building fades in, then out, over its own cycle. The keyframe stop is
   fade-in time / (fade-in + fade-out), taken from the old jQuery timings. */
#lights1 { --x: 101;  --y: 354; --w: 104; --h: 204; background-image: url(/images/buildings/building1.jpg); animation-name: lights1; animation-duration: 6.1s; }
#lights2 { --x: 476;  --y: 323; --w: 95;  --h: 262; background-image: url(/images/buildings/building2.jpg); animation-name: lights2; animation-duration: 10.1s; }
#lights3 { --x: 648;  --y: 323; --w: 101; --h: 204; background-image: url(/images/buildings/building3.jpg); animation-name: lights3; animation-duration: 2.4s; }
#lights4 { --x: 878;  --y: 293; --w: 67;  --h: 171; background-image: url(/images/buildings/building4.jpg); animation-name: lights4; animation-duration: 7s; }
#lights5 { --x: 921;  --y: 464; --w: 92;  --h: 166; background-image: url(/images/buildings/building5.jpg); animation-name: lights5; animation-duration: 4.5s; }
#lights6 { --x: 1095; --y: 354; --w: 93;  --h: 142; background-image: url(/images/buildings/building6.jpg); animation-name: lights6; animation-duration: 8.5s; }
#lights7 { --x: 1210; --y: 329; --w: 109; --h: 131; background-image: url(/images/buildings/building7.jpg); animation-name: lights7; animation-duration: 4.9s; }
#lights8 { --x: 1530; --y: 172; --w: 154; --h: 375; background-image: url(/images/buildings/building8.jpg); animation-name: lights8; animation-duration: 7s; }

@keyframes lights1 { 27.87% { opacity: 1; } }
@keyframes lights2 { 36.63% { opacity: 1; } }
@keyframes lights3 { 33.33% { opacity: 1; } }
@keyframes lights4 { 28.57% { opacity: 1; } }
@keyframes lights5 { 33.33% { opacity: 1; } }
@keyframes lights6 { 29.41% { opacity: 1; } }
@keyframes lights7 { 38.78% { opacity: 1; } }
@keyframes lights8 { 20%    { opacity: 1; } }

/* The lights loop for everyone, as on the old site, including visitors whose
   system asks for reduced motion: they are slow fades, not movement. */

.tagline {
    position: relative;
    z-index: 1;
    margin-top: calc(var(--stage-height) * -0.13);
    padding: 0 var(--gutter) 20px;
    text-align: center;
}

.tagline p {
    max-width: 40em;
    margin: 0 auto;
    font-size: clamp(15px, 1.4vw, 18px);
    letter-spacing: 0.04em;
    text-shadow: 0 0 12px #000, 0 0 4px #000;
}

/* The old Apply button's glowing double arrow, turned to point down. */
.scroll-cue {
    display: block;
    width: 44px;
    height: 44px;
    margin: 14px auto 0;
    background: url(/images/apply-arrow.png) center / 18px auto no-repeat;
    transform: rotate(90deg);
    opacity: 0.7;
    transition: opacity 200ms;
    animation: nudge 2.4s ease-in-out infinite;
}

.scroll-cue:hover {
    opacity: 1;
}

@keyframes nudge {
    50% { translate: 6px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-cue {
        animation: none;
    }
}


/* Sections */

.section {
    position: relative;
    max-width: calc(var(--content) + 2 * var(--gutter));
    margin: 0 auto;
    padding: clamp(72px, 10vw, 128px) var(--gutter) 0;
}

/* Section titles carry the logo's lines on either side. */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 28px);
    margin-bottom: clamp(40px, 6vw, 72px);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 300;
    letter-spacing: 0.22em;
    text-indent: 0.22em;  /* balances the spacing after the last letter */
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
}

.section-title::before,
.section-title::after {
    content: '';
    flex: 0 1 140px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7));
}

.section-title::after {
    transform: scaleX(-1);
}

.subhead {
    display: block;
    margin-bottom: 14px;
    color: var(--ice);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.section p + p {
    margin-top: 1em;
}

p {
    color: var(--ink-soft);
}

/* The white line that divided the old pages, now glowing. */
.glow-rule {
    width: min(100%, 512px);
    height: 1px;
    margin: clamp(56px, 8vw, 88px) auto;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

/* The line between sections, halfway through the space between them. */
.section + .section {
    margin-top: clamp(72px, 10vw, 128px);
}

.section + .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(100% - 2 * var(--gutter), 512px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-50%);
}


/* About */

.lead {
    max-width: 880px;
    margin: 0 auto clamp(56px, 8vw, 96px);
    text-align: center;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--ice);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.lead p {
    color: var(--ink);
    font-size: clamp(21px, 2.5vw, 30px);
    line-height: 1.5;
}

.split {
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: clamp(40px, 6vw, 80px);
}

.markets img {
    display: block;
    width: 100%;
    transition: filter 400ms;
}

.markets:hover img {
    filter: brightness(1.12) drop-shadow(0 0 18px rgba(255, 255, 255, 0.12));
}

.markets figcaption {
    margin-top: 18px;
    color: var(--ink-faint);
    font-size: 13px;
    text-align: center;
}

.markets figcaption .subhead {
    margin-bottom: 4px;
}


/* Careers */

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 56px);
    padding: 0;
    list-style: none;
    text-align: center;
}

/* The icon lights up (its highlighted version fades in) on hover; on touch
   screens, once it scrolls into view (main.js). */
.value-icon {
    display: block;
    position: relative;
    width: min(100%, 200px);
    margin: 0 auto 20px;
}

.value-icon img {
    display: block;
    width: 100%;
}

.value-icon .lit {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 700ms ease-in-out;
}

.value:hover .lit,
.value.lit-up .lit {
    opacity: 1;
}

.value h3 {
    margin-bottom: 8px;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    text-transform: uppercase;
}

.value p {
    max-width: 24em;
    margin: 0 auto;
    font-size: 16px;
}

.columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
}

.cta {
    margin-top: clamp(40px, 6vw, 64px);
    text-align: center;
}

/* The old Apply and Send buttons: glowing text over a glowing line, with
   the double arrow that slides on hover. */
.glow-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 34px;
    border: 0;
    background: radial-gradient(closest-side, rgba(156, 234, 236, 0.12), transparent);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.glow-button::before {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FFFFFF, transparent);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    transition: box-shadow 300ms;
}

.glow-button::after {
    content: '';
    width: 14px;
    height: 18px;
    background: url(/images/double-arrow.png) center / contain no-repeat;
    transition: transform 200ms ease-in-out;
}

.glow-button:hover {
    color: var(--ink);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.glow-button:hover::before {
    box-shadow: 0 0 14px rgba(156, 234, 236, 0.9);
}

.glow-button:hover::after {
    transform: translateX(6px);
}

.glow-button:disabled {
    cursor: progress;
    opacity: 0.6;
}


/* Contact */

.intro {
    max-width: 46em;
    margin: 0 auto clamp(48px, 7vw, 72px);
    text-align: center;
}

.contact {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-details {
    display: grid;
    gap: 32px;
}

.contact-details p + p {
    margin-top: 2px;
}

/* Google's map, turned to night colours to sit on the black page. */
.map {
    display: block;
    width: 100%;
    height: 240px;
    border: 1px solid var(--line);
    filter: grayscale(1) invert(0.9) contrast(0.9);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0;
}

.field-wide,
.topic {
    grid-column: 1 / -1;
}

.field label,
.topic legend {
    display: block;
    margin-bottom: 8px;
    color: var(--ink-faint);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: color 200ms;
}

.field:focus-within label {
    color: var(--ice);
}

.required {
    color: var(--ice-deep);
}

.field input,
.field textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 200ms, box-shadow 200ms;
}

.field textarea {
    resize: vertical;
    min-height: 140px;
}

.field input:focus,
.field textarea:focus {
    outline: 0;
    border-color: var(--ice-deep);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(156, 234, 236, 0.12), 0 0 18px var(--glow);
}

.field input:user-invalid {
    border-color: var(--error);
}

/* General inquiry / Careers, as two glowing toggles. */
.topic {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.topic legend {
    float: left;
    width: 100%;
}

.topic label {
    cursor: pointer;
}

.topic input {
    position: absolute;
    opacity: 0;
}

.topic span {
    display: block;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 14px;
    letter-spacing: 0.08em;
    transition: border-color 200ms, color 200ms, box-shadow 200ms;
}

.topic label:hover span {
    color: var(--ink);
}

.topic input:checked + span {
    border-color: var(--ice-deep);
    color: var(--ink);
    box-shadow: 0 0 14px var(--glow), inset 0 0 10px rgba(156, 234, 236, 0.15);
}

.topic input:focus-visible + span {
    outline: 1px solid var(--ice-deep);
    outline-offset: 3px;
}

.form-trap {
    display: none;
}

.form-errors {
    color: var(--error);
}

.form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.form-note {
    color: var(--ink-faint);
    font-size: 14px;
}

.message-sent {
    padding: 48px 24px;
    border: 1px solid var(--line);
    box-shadow: inset 0 0 40px rgba(156, 234, 236, 0.06);
    text-align: center;
}

.message-sent h3 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}


/* Footer */

.footer {
    position: relative;
    margin-top: clamp(80px, 11vw, 140px);
    padding: 36px var(--gutter) 40px;
}

/* The old footer line, brightening towards the right. */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(100% - 2 * var(--gutter), var(--content));
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55));
    transform: translateX(-50%);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    max-width: var(--content);
    margin: 0 auto;
    font-size: 15px;
}

.footer .brand {
    --logo-height: 26px;
    padding-top: 0;
}

.phones span {
    white-space: nowrap;
}

.footer a {
    text-decoration: none;
}

.dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0 14px;
    border-radius: 50%;
    background: var(--ink-faint);
    vertical-align: middle;
}

.to-top {
    color: var(--ink-faint);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}


/* Missing pages (404.html): the message in the middle of the screen, with
   the footer at the bottom. */

body:has(> .not-found) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}

.not-found {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: calc(46em + 2 * var(--gutter));
    margin: 0 auto;
    padding: calc(var(--bar-height) + 48px) var(--gutter) 0;
    text-align: center;
}


/* Sections fade up as they scroll into view (main.js adds .js to the page,
   so without scripts everything simply shows). Skipped for visitors whose
   system asks for reduced motion. */

@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 900ms ease, transform 900ms ease;
    }

    .js .reveal.shown {
        opacity: 1;
        transform: none;
    }

    .values .reveal:nth-child(2) { transition-delay: 120ms; }
    .values .reveal:nth-child(3) { transition-delay: 240ms; }
}


/* Tablets and phones */

@media (max-width: 900px) {
    .split,
    .contact {
        grid-template-columns: 1fr;
    }

    .markets {
        max-width: 640px;
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    :root {
        --bar-height: 64px;
    }

    body {
        font-size: 16px;
    }

    .bar .brand {
        --logo-height: 28px;
    }

    .menu-button {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-left: auto;
        padding: 12px 0 12px 12px;
        border: 0;
        background: none;
        color: var(--ink-soft);
        font: inherit;
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        cursor: pointer;
    }

    .menu-button:hover,
    .bar.open .menu-button {
        color: var(--ink);
    }

    /* Two glowing lines that cross when the menu is open. */
    .menu-icon {
        position: relative;
        width: 22px;
        height: 9px;
    }

    .menu-icon::before,
    .menu-icon::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 1px;
        background: currentColor;
        box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
        transition: top 200ms, transform 200ms;
    }

    .menu-icon::before {
        top: 0;
    }

    .menu-icon::after {
        top: 8px;
    }

    .bar.open .menu-icon::before {
        top: 4px;
        transform: rotate(45deg);
    }

    .bar.open .menu-icon::after {
        top: 4px;
        transform: rotate(-45deg);
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        margin: 0;
        padding: 16px 0 28px;
        background: rgba(0, 0, 0, 0.94);
        box-shadow: 0 1px 0 var(--line);
    }

    .bar.open nav {
        display: flex;
    }

    .nav-link {
        padding: 12px 0;
        font-size: 15px;
        letter-spacing: 0.24em;
    }

    /* Icon beside the words, so the three values fit on a phone screen. */
    .values {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
    }

    .value {
        display: grid;
        grid-template-columns: 96px 1fr;
        align-items: center;
        gap: 20px;
    }

    .value-icon {
        margin: 0;
    }

    .value h3 {
        text-indent: 0;
    }

    .value p {
        margin: 0;
        font-size: 15px;
    }

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

    .contact-form {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer .brand {
        align-self: center;
    }

    /* One number per line. */
    .phones span {
        display: block;
    }

    .phones .dot {
        display: none;
    }
}
