/* Mastery Roofing | custom.css */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* The palette - set in the variable pool, top of core.css */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* The five colours and every other variable - the roles, white and the
   see-through shades - are set in one place, the variable pool at the top
   of the template's core.css. */


/* - - - a heading group - - - */

/* h1 or h2, with the business name or a strapline as an h3 under it, and a
   thin rule to close the group off */

.piece-heading {
    display: grid;
    grid-gap: 8px;
    width: 100%;
    padding-bottom: 16px;

    border-bottom: solid 1px var(--accent);
}

.piece-heading h3 {
    color: var(--accent-text);
}

/* - centred text: section headings over a grid, intros, the final CTA - */

.piece-centre :is(h1, h2, h3, h4, p) {
    justify-self: center;
    text-align: center;
}

.piece-centre.piece-heading,
.piece-centre .piece-heading,
.piece-intro .piece-heading {
    border-bottom: none;
}

/* a heading pair opening a centred section sits centred, as one */
.piece-intro .piece-heading {
    justify-items: center;
    padding-bottom: 0;
}

/* - a readable line length for centred or full-width text - */

.piece-narrow {
    width: 100%;
    max-width: 720px;
    justify-self: center;
}

/* - - - a picture inside a piece - - - */

/* Alchemy's .img centres and scales; these round it off and stop a tall
   photograph running away with the row. */

.piece-shot {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--piece-radius-media, 12px);
}

.piece-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* a shot fills its column - in a narrow one it should not shrink to the
   picture's own width */
.piece-split > .element > .piece-shot {
    width: 100%;
}

/* - */

/* copy beside a picture sits in the middle of it, not at the top */

.piece-split {
    align-items: center;
}

@media(min-width: 768px) {
    .piece-split-fill {
        align-items: stretch;
    }

    .piece-split-fill > .element.a4 {
        align-self: center;
    }

    .piece-split-fill > .element:not(.a4),
    .piece-split-fill > .element:not(.a4) > .piece-media {
        display: grid;
    }

    .piece-shot-fill {
        position: relative;
        height: 100%;
        min-height: 280px;
        aspect-ratio: auto;
    }

    .piece-shot-fill img {
        position: absolute;
        inset: 0;
    }
}

/* - - - coloured sections meet flush - - - */

/* Each template's core.css spaces the page's sections with a grid gap
   ( 32px; Pigeon none ). Between a white section and anything else the
   gap is white on white and goes unseen, but between two sections that
   both carry their own colour or photograph - a tint beside a dark band,
   a photo band beside a cover - it showed as a white stripe. Those meet
   flush: the second is pulled up by the gap. --page-gap is the template's
   gap; a skin with a different one sets it. */

#page-content > section:is(.piece-band, .piece-band-tint, .piece-band-image, .piece-cover, .piece-cta-band, .piece-dark-alt) + section:is(.piece-band, .piece-band-tint, .piece-band-image, .piece-cover, .piece-cta-band, .piece-dark-alt),
#page-content > section.piece-dark-alt + section.piece-dark,
#page-content > section.piece-dark + section.piece-dark-alt {
    margin-top: calc(var(--page-gap, 32px) * -1);
}

/* The same at the foot of a page. The page content keeps some space under
   its last section ( 32 to 75px, by template ) before the footer - unseen
   under a white section, but under a tint, a band or a photograph it was a
   white bar between that and the footer. A coloured last section runs
   straight into the footer instead. */

#page-content:has(> section:last-of-type:is(.piece-band, .piece-band-tint, .piece-band-image, .piece-cover, .piece-cta-band, .piece-dark-alt)) {
    padding-bottom: 0;
}

/* - - - a bullet list - - - */

/* Alchemy resets p and li margins, so a list needs its marker back. The
   marker is drawn here rather than by the browser so it takes the accent
   and lines up with wrapped lines. */

/* - the templates' own list: a div of paragraphs, <div class="list">,
     each a grid of two - the mark, then the words ( a line with bold and
     plain words keeps them in one <span> ). Each template's core.css sets
     the grid, the gap and the colour; the :where() rules here are only a
     fall-back for a template with no list of its own ( Pigeon ), weaker
     than any template rule. -

   The mark: the templates draw it as a Font Awesome character in
   ::before, but the sites load Font Awesome as SVG scripts, which leave
   ::before alone - so the mark only showed on a computer with the Font
   Awesome font installed. It is drawn here instead, the same light
   chevron, as a mask in the template's own colour, so it shows
   everywhere. */

:where(.list) {
    display: grid;
    grid-gap: 8px;
    align-content: center;
}

:where(.list) > p {
    display: grid;
    grid-template-columns: max-content auto;
    align-content: center;
}

:where(.list) > p::before {
    color: var(--accent);
}

div.list > p::before {
    content: "";
    align-self: start;
    width: 10px;
    height: 16px;
    margin: .3em 14px 0 0;
    padding: 0;

    font-size: 16px;
    border: none;

    background-color: currentColor;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M315.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-208 208c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L281.4 256 84.7 59.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l208 208z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M315.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-208 208c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L281.4 256 84.7 59.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l208 208z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* on a band or a dark page the mark takes the accent as it reads on the dark */
:is(.piece-band, .piece-band-image, .piece-dark) div.list > p::before {
    color: var(--accent-dark);
}

/* - - - buttons - - - */

/* An <a>, never a <button> inside one. Two at most, side by side. */

.piece-btn {
    display: grid;
    justify-self: start;
    padding: 14px 32px;

    background-color: var(--accent);
    border: solid 1px var(--accent);
    border-radius: var(--piece-radius-btn, 32px);
    text-decoration: none;

    transition: ease all .3s;
}

.piece-btn :is(h4, p, span) {
    margin: 0;

    color: var(--on-accent);
    text-align: center;
}

.piece-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px var(--shade-deep);
}

/* - */

.piece-btn-alt {
    background-color: transparent;
}

.piece-btn-alt :is(h4, p, span) {
    color: var(--accent-text);
}

/* - inside a band, the solid one turns white so it cannot vanish - */

:is(.piece-band, .piece-band-image, .piece-cover) .piece-btn {
    background-color: var(--paper);
    border-color: var(--paper);
}

:is(.piece-band, .piece-band-image, .piece-cover) .piece-btn :is(h4, p, span) {
    color: var(--ink);
}

:is(.piece-band, .piece-band-image, .piece-cover) .piece-btn-alt {
    background-color: transparent;
    border-color: var(--on-ink-muted);
}

:is(.piece-band, .piece-band-image, .piece-cover) .piece-btn-alt :is(h4, p, span) {
    color: var(--on-ink);
}

/* - */

.piece-btn-row {
    display: grid;
    grid-gap: 16px;
    justify-content: start;
}

/* a row of buttons under a heading or text needs more than the 16px the
   grid gives everything else, or it reads as part of the line above */
* + .piece-btn-row {
    margin-top: 12px;
}

.piece-centre .piece-btn-row,
.piece-centre .piece-btn {
    justify-content: center;
    justify-self: center;
}

/* - - - a divider, for pages with no bands - - - */

/* - */

@media(min-width: 768px) {
    .piece-btn-row {
        grid-auto-flow: column;
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Set pieces - the designed layer */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* The pieces that make a page look designed rather than assembled:
   hierarchy ( eyebrow, display heading, lead ), framed imagery, numbers
   and steps, refined cards, option cards, a softer tinted band, photo
   covers and the call-to-action banner. */

/* - - - hierarchy - - - */

/* a short label over a heading - spaced capitals and a rule leading in */
.piece-eyebrow {
    display: grid;
    grid-template-columns: 32px auto;
    grid-gap: 12px;
    align-items: center;
    justify-self: start;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent-text);
}

.piece-eyebrow::before {
    content: "";
    height: 2px;

    background-color: var(--accent);
}

.piece-centre .piece-eyebrow,
.piece-intro .piece-eyebrow,
.piece-eyebrow.piece-centre {
    justify-self: center;
}

/* - a heading that sets a section, larger and tighter than the
     template's default - */

.piece-display {
    font-size: clamp(32px, 4.2vw, 54px);
    line-height: 1.08;
    letter-spacing: -.02em;
}

h2.piece-display {
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.12;
}

/* one or two words of the heading picked out - the client's own words */
.piece-accent {
    color: var(--accent);
}

/* long words in big, tracked headings wrap rather than overflow a phone */
.piece-display {
    overflow-wrap: break-word;
}

/* a heading block for a section: eyebrow, heading, lead - centred and
   kept to a readable width */
.piece-intro {
    display: grid;
    grid-gap: 16px;
    justify-items: center;
    justify-self: center;
    width: 100%;
    max-width: 760px;

    text-align: center;
}

.piece-intro :is(h1, h2, h3, p) {
    justify-self: center;
    text-align: center;
}

/* - - - numbers and steps - - - */

/* figures the copy already states - years, jobs, rating */

:is(.piece-step-mark, .piece-stat-mark) :is(i, svg) {
    display: block;

    width: 34px;
    height: 34px;

    font-size: 34px;
}

:is(.piece-step-mark, .piece-stat-mark) svg.piece-decal {
    width: 80px;
    height: 80px;
}

/* - - - cards - - - */

/* The refined card: a hairline border, an accent bar that grows on
   hover, and a lift. Reads well on white and on the tinted band. */
.piece-card {
    position: relative;
    display: grid;
    grid-gap: 12px;
    align-content: start;
    padding: 32px 28px;
    box-sizing: border-box;
    overflow: hidden;

    background-color: var(--paper);
    border: solid 1px var(--shade-light);
    border-radius: var(--piece-radius-card, 16px);
    box-shadow: 0 1px 2px var(--shade-faint);

    transition: ease all .3s;
}

.piece-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 48px;
    height: 4px;

    background-color: var(--accent);

    transition: ease all .3s;
}

.piece-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -24px var(--shade);
}

.piece-card:hover::before {
    width: 100%;
}

.piece-card :is(h3, h4) {
    color: var(--colour1);
    letter-spacing: 2px;
}

.piece-card :is(p, li) {
    color: var(--text-soft);
}

/* - - - more on the cards - - - */

/* The card family. Every card is the same HTML on every template; the
   skins give them the template's surface - its corners, border or
   shadow, tint or white, brackets or bars - by listing these classes
   with .piece-card in their card rules.

     service cards      .piece-card, with an icon, a price and a link
     price cards        .piece-option, with a price per period and ticks
     product cards      .piece-product
     info / stat cards  .piece-stats.piece-stats-cards
     team cards         .piece-member
     testimonial cards  .piece-testimonial
     category cards     .piece-category ( a link to another page )
     article cards      .piece-article ( a link to a post )

   See section 7 of assets/claude/page-rules.md for when each is used. */

/* - card titles: the heading font at its regular weight, whatever the
     template does with h3 - */

:is(.piece-card, .piece-option, .piece-product, .piece-member, .piece-category, .piece-article) :is(h3, h4) {
    font-size: 20px;
    font-weight: var(--heading-regular, 600);
    line-height: 1.3;
    text-transform: uppercase;

}

/* - the shared surface of the newer cards - */

:is(.piece-product, .piece-member, .piece-testimonial, .piece-category, .piece-article, :where(.piece-stats-cards) > .piece-stat) {
    position: relative;
    display: grid;
    align-content: start;
    box-sizing: border-box;
    overflow: hidden;

    text-align: left;
    text-decoration: none;

    background-color: var(--paper);
    border: solid 1px var(--shade-light);
    border-radius: var(--piece-radius-card, 16px);
    box-shadow: 0 1px 2px var(--shade-faint);

    transition: ease all .3s;
}

/* the ones that are links lift a little */
:is(a.piece-category, a.piece-article, .piece-product):hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -26px var(--shade);
}

:is(.piece-product, .piece-member, .piece-testimonial, .piece-category, .piece-article) :is(h3, h4) {
    margin: 0;

    color: var(--ink);
}

:is(.piece-product, .piece-member, .piece-testimonial, .piece-category, .piece-article) p {
    margin: 0;

    color: var(--text-soft);
}

/* a picture across the top of a card, edge to edge */
:is(.piece-product, .piece-member, .piece-category, .piece-article) > .piece-shot {
    width: 100%;
    border-radius: 0;
}

/* - - - service cards: icons, prices, links, dark and tinted - - - */

/* the icon: a small tile of the tint, top left - or riding the photo's
   lower edge on a picture card */
:is(.piece-card, :where(.piece-stats-cards) > .piece-stat) > :is(i, svg) {
    justify-self: start;
    box-sizing: content-box;
    width: 26px;
    height: 26px;
    padding: 13px;

    font-size: 26px;
    color: var(--accent);

    background-color: var(--tint);
    border-radius: var(--piece-radius-icon, 50%);
}

/* a decal of the site's industry in the icon's place ( the page builder,
   drawn inline by the build ) - a drawing, so more of the tile is given
   to it: the same size tile overall */
:is(.piece-card, :where(.piece-stats-cards) > .piece-stat) > svg.piece-decal {
    width: 38px;
    height: 38px;
    padding: 7px;
}

/* - - - category cards - - - */

/* An overview that sends people on: each card a link to one of the
   site's own pages - a photo, an icon, the name, an optional count from
   the copy, and an arrow. */

:is(.piece-category-body, .piece-article-body) {
    position: relative;
}

:is(.piece-category-body, .piece-article-body)::after {
    content: "\2192";
    position: absolute;
    right: 20px;
    bottom: 16px;

    font-size: 18px;
    line-height: 1;
    color: var(--ink);

    transition: ease transform .3s;
}

:is(.piece-category, .piece-article):hover :is(.piece-category-body, .piece-article-body)::after {
    transform: translateX(4px);
}

/* - - - the tinted band - - - */

/* A pale wash of the accent - for a section that wants separating
   without the weight of a dark band. Up to two of these a page. */
.piece-band-tint {
    padding: 80px 0;

    background-color: var(--tint);
}

/* - - - the ornament before the close - - - */

/* A short line, a small trade icon, a short line - a quiet full stop
   between two sections, always the one before the close. It has a
   section of its own:

     <section class="piece-divide">
         <div class="workspace">
             <div class="element piece-divider">
                 <i class="fa-light fa-border-all"></i>
             </div>
         </div>
     </section>

   The section takes a little space back from the sections either side,
   and sits exactly halfway between them. */
/* pulled in a little, so it sits closer to both neighbours */
.piece-divide .workspace {
    margin-top: -16px;
    margin-bottom: -16px;
}

.piece-divider {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-gap: 24px;
    align-items: center;
    width: 100%;
    max-width: 760px;
    justify-self: center;

    color: var(--accent);
}

.piece-divider::before,
.piece-divider::after {
    content: "";
    height: 1.5px;

    background-color: var(--colour2);
}

.piece-divider :is(i, svg) {
    font-size: var(--piece-mark, 34px);
    width: var(--piece-mark, 34px);
    height: var(--piece-mark, 34px);

    color: var(--accent);
}

/* a decal of the site's industry ( Finishing touches step ) - a drawing,
   so half as big again as an icon */
.piece-divider svg.piece-decal {
    width: calc(var(--piece-mark, 34px) * 1.6);
    height: calc(var(--piece-mark, 34px) * 1.6);
}

/* a small version of the logo in the middle instead ( Finishing touches
   step ) - as it is, or masked so it takes the accent colour */
.piece-divider-mark {
    display: block;
    height: var(--piece-mark, 34px);
    width: auto;
    max-width: 240px;
}

/* - the lines as set ( Finishing touches, or the divider's own attribute
     window ): how long each is, how thick, what colour - over whatever
     the template does with them - */
.piece-divider[ style*="--divider-len"] {
    grid-template-columns: var(--divider-len) auto var(--divider-len) !important;
    justify-content: center;
}

.piece-divider[ style*="--divider-thick"]::before,
.piece-divider[ style*="--divider-thick"]::after {
    height: var(--divider-thick) !important;
    border-width: 0 !important;
}

.piece-divider[ style*="--divider-mark"] :is(i, svg),
.piece-dark .piece-divider[ style*="--divider-mark"] :is(i, svg) {
    color: var(--divider-mark) !important;
}

.piece-divider[ style*="--divider-colour"]::before,
.piece-divider[ style*="--divider-colour"]::after {
    background: var(--divider-colour) !important;
}

/* a second heading further down the same text column ( "Why choose us"
   under "Services" on a short page ) gets room above it */
.piece-split .element > :is(h2, h3).piece-display:not( :first-child) {
    margin-top: 24px;
}

/* - - - the close - - - */

/* The page's last words, centred on the page's own background: a display
   heading, a short capitals line, one button. No box, no band - the
   space around it does the work. */
.piece-close .piece-narrow {
    display: grid;
    grid-gap: 16px;
    justify-items: center;
}

/* 64px under the heading in all - the grid's 16px plus this */
.piece-close .piece-btn-row {
    margin-top: 48px;
}

.piece-close h3 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Dark pages */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* For a brand that is dark at heart - charcoal, black, slate, a deep
   navy logo on a dark template - every section of the page carries
   .piece-dark, alternating with .piece-dark .piece-dark-alt for rhythm.
   The pieces inside turn themselves over: light text, the accent as it
   shows on the dark, cards as faint panels, the featured option and the
   floating card in white so they still lift.

   When every section is dark ( a photo cover counts ), #page-content goes
   dark too, so the gaps the template leaves between sections do not show
   as white stripes. */

#page-content:has(> section.piece-dark):not( :has(> section:not(.piece-dark, .piece-cover))) {
    background-color: var(--ink);
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Template parts */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* The testimonials section's tint: a fill laid over the background photo
   and under the reviews, covering everything the photo covers - both grid
   rows ( the reviews and the dots under them ) and the container's own
   padding.

   It is taken out of the grid and pinned to all four edges of the
   container, which becomes its positioning box. isolation gives the
   container a stacking context of its own, so z-index -1 puts the fill
   above the container's background ( the photo ) but below everything in
   it - the reviews, the arrows and the dots - whatever their own z-index.
   var( --ink ) at .7 keeps white text readable on any photo - the page
   builder's Testimonials panel can set its own strength, inline on the
   fill ( styleTestimonials() in site-style.php ). */

.testimonial-container {
    position: relative;

    isolation: isolate;
}

.testimonial-fill {
    position: absolute;

    z-index: -1;

    top: 0;

    right: 0;

    bottom: 0;

    left: 0;

    background-color: var(--ink);

    opacity: .7;

    pointer-events: none;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Contact pieces */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* The contact page's sections ( blueprint-blocks.js ): the details come
   from the Details step as keywords, the form is the templates' own,
   commented out until the contact form switch is on.

     .piece-contact-cards   the details as cards - each a .piece-card, so
                            every template's card look and icon carry
     .piece-contact-lines   the details as lines: icon, label, detail
     .piece-contact-pair    Details + form: the details beside the form,
                            or a feature of their own while it is off
     .piece-contact-bar     the contact block - the lines in a row

   Each skin adds its own touches below the pieces. */

/* - - - the cards - - - */

.piece-contact-card {
    justify-items: start;
}

.piece-contact-card p {
    overflow-wrap: anywhere;
}

.piece-contact-card a {
    color: inherit;
    text-decoration: none;
}

.piece-contact-card a:hover {
    color: var(--accent-text);
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* More set pieces: the pull quote, the icon row, the number feature,
   questions and the picture pair */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Each is built from words the copy already has ( blueprint-blocks.js ),
   for the moments a page would otherwise be one more picture beside
   text. The same HTML on every template; the skins' radii, heading
   weights and the palette's roles give each its template's feel. */

/* - - - how many to a row: the page builder's Per row on the grids the
     stylesheet lays out by itself ( steps, figures, featured services ) -
     two a row on a tablet, the number chosen on a wide screen; a phone
     keeps each grid's own - - - */

@media(min-width: 600px) {
    #page-content :is(.piece-per-2, .piece-per-3, .piece-per-4, .piece-per-5) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }
}

/* - - - the gallery section's viewer - - - */

/* The gallery is a page builder section, so its viewer
   ( #preview-container ) now sits inside #page-content, where the
   gallery pages had it just outside. A template that layers
   #page-content ( Fish: z-index 6 ) would keep the viewer under its
   own fixed bars - so while the viewer is open, the content is lifted
   over them. */
#page-content:has(#preview-container:not(.hide)) {
    z-index: 1000;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* The footer's Privacy Policy link */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Every template prints it after the copyright line ( switched off in
   Site style on the Details step, it is commented out ). Kept whole on a
   phone, and
   underlined, so it reads as a link even where it shares the line's
   colour. */
/* !important, as each footer styles its links by id ( #bottom-bar a ) */
a[ href="gdpr.php"] {
    white-space: nowrap !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px;
}

a[ href="gdpr.php"]:hover {
    text-decoration-thickness: 2px !important;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Section trims */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* A shaped edge on a section's top or bottom, from the page builder's
   Trim fold: a strip just outside the section, in the section's own
   colour, cut to the trim's shape by its SVG ( a mask - the black parts
   show ). It lies over the edge of the section next to it, so the two
   meet in a wave, a torn edge or a brush stroke instead of a straight
   line. A white section's trim is the page's own colour ( --trim-page,
   set by a skin whose page is not white ). */

@media(min-width: 768px) {
    :root {
        --trim-room-s: 32px;
        --trim-room-m: 56px;
        --trim-room-l: 88px;
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Fluid page width */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* The templates give each section a middle column exactly as wide as the
   breakpoint - auto 1200px auto from 1200px up. A media query counts the
   scrollbar and the page does not, so with a scrollbar showing ( Windows,
   or a Mac with a mouse ) the page was some 15px too wide just above each
   breakpoint - 768-782, 992-1006, 1200-1214px - and scrolled sideways.
   The column is never wider than the screen now, and exactly as before
   wherever there is room. Each template's skin does the same for the
   other parts it fixes at those widths ( its nav, top bar, rules ). */

@media(min-width: 768px) {
    section {
        grid-template-columns: auto min(768px, 100%) auto;
    }
}

@media(min-width: 992px) {
    section {
        grid-template-columns: auto min(992px, 100%) auto;
    }
}

@media(min-width: 1200px) {
    section {
        grid-template-columns: auto min(1200px, 100%) auto;
    }
}

/* - a small phone: a long word or address ( the privacy policy's
     tables, an email address anywhere ) breaks rather than push the page
     sideways - */

@media(max-width: 767px) {

    #page-content p,
    #page-content li,
    #page-content td,
    #page-content th,
    a[ href^="mailto:"] {
        overflow-wrap: anywhere;
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Where the keyboard is */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Every link, button and question shows a clear ring when it is reached
   with the keyboard - in the page, the header and the footer alike, on
   any template, skin or look. currentColor, so it shows on whatever the
   colours are; a mouse click never shows it. */

:is(a, button, summary, [ tabindex]):focus-visible {
    outline: solid 2px currentColor;
    outline-offset: 3px;
}

#page-content :is(a, summary, button):focus-visible {
    outline-color: var(--accent);
}

#page-content :is(.piece-dark, .piece-band, .piece-band-image, .piece-cover, .piece-cta-band) :is(a, summary, button):focus-visible {
    outline-color: var(--accent-dark);
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Fonts - Adobe Fonts: ivyora-display headings ( the Font choice step ) */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* served by Adobe Fonts - the project's stylesheet is linked in the
   head of every page */

html body :is(h1, h2, h3),
html body .piece-stat b,
html body .piece-float b,
html body .piece-feature-cost {
    font-family: "ivyora-display", sans-serif;
    font-weight: 500;
    letter-spacing: 0;
}

/* the family only - the skin's heading style sets the weight, case
   and tracking of display headings */
.piece-display {
    font-family: "ivyora-display", sans-serif;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Skin - Archmage: fine line */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Drafting-table precision: square corners, 1px hairlines instead of
   heavy frames, and corner brackets that mark out cards and photos like
   a draughtsman's crop marks. Thin outline buttons, eyebrows between two
   rules, lots of air. */

/* - cards: a hairline, with accent corner brackets - */

:is(.piece-card, .piece-contact-panel, .piece-contact-form, .piece-step, .piece-option, .piece-product, .piece-member, .piece-testimonial, .piece-category, .piece-article, :where(.piece-stats-cards) > .piece-stat, .piece-feature) {
    position: relative;

    border: solid 1px var(--tint-line);
    box-shadow: none;
    overflow: visible;
}

:is(.piece-card, .piece-contact-panel, .piece-contact-form, .piece-step, .piece-option, .piece-product, .piece-member, .piece-testimonial, .piece-category, .piece-article, :where(.piece-stats-cards) > .piece-stat, .piece-feature):hover {
    transform: none;
    box-shadow: none;
}

.piece-card::before {
    display: none;
}

:is(.piece-card, .piece-contact-panel, .piece-contact-form, .piece-step, .piece-option, .piece-product, .piece-member, .piece-testimonial, .piece-category, .piece-article, :where(.piece-stats-cards) > .piece-stat, .piece-feature)::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: -1px;

    pointer-events: none;

    background:
        linear-gradient(var(--accent), var(--accent)) top left / 22px 2px no-repeat,
        linear-gradient(var(--accent), var(--accent)) top left / 2px 22px no-repeat,
        linear-gradient(var(--accent), var(--accent)) bottom right / 22px 2px no-repeat,
        linear-gradient(var(--accent), var(--accent)) bottom right / 2px 22px no-repeat;
}

/* - photos in splits get the same brackets, set off the picture - */

.piece-split > .element > .piece-shot {
    overflow: visible;
    position: relative;
}

.piece-split > .element > .piece-shot::after {
    content: "";
    position: absolute;
    inset: -12px;

    pointer-events: none;

    background:
        linear-gradient(var(--accent), var(--accent)) top left / 40px 1px no-repeat,
        linear-gradient(var(--accent), var(--accent)) top left / 1px 40px no-repeat,
        linear-gradient(var(--accent), var(--accent)) bottom right / 40px 1px no-repeat,
        linear-gradient(var(--accent), var(--accent)) bottom right / 1px 40px no-repeat;
}

/* - eyebrows between two rules - */

.piece-eyebrow {
    grid-template-columns: 28px auto 28px;
    letter-spacing: .26em;
    color: var(--colour2);
}

.piece-eyebrow::before,
.piece-eyebrow::after {
    content: "";
    height: 1px;

    background-color: var(--colour2);
}

/* the heading's line in the secondary colour, the heading itself in the
   primary - see "Headings" below */
.piece-heading {
    border-bottom-width: 1px;
    border-color: var(--colour2);
}

/* - icons in a hairline square - */

:is(.piece-menu-head, .piece-feature, .piece-card, .piece-contact-line, :where(.piece-stats-cards) > .piece-stat) > :is(i, svg) {
    border-width: 1px;
}

:is(.piece-dark, .piece-band) p.piece-eyebrow {
    color: color-mix(in srgb, var(--colour2) 65%, #fff);
}

/* - - - headings: tracked capitals - - - */

/* Headings

   Like lettering on a drawing: section headings in spaced capitals at a
   measured size and a mid weight, never shouted, all in the brand's
   primary colour ( --colour1 ) - one colour, not a mix: picked-out words
   and the second half of a two-part heading ( still on its own line ) take
   the heading's colour too. The line under a heading group and the
   eyebrow are the secondary ( --colour2 ). On the dark both are lifted
   with a little white. The business name under the opening heading stays
   in light sentence case, so the capitals have something to sit against. */

.piece-display {
    font-size: clamp(26px, 2.8vw, 40px);
    font-weight: var(--heading-regular);
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #093b84;
}

/* one colour: the words picked out, or the second half, as the rest -
   weighted to match the shared dark-page rule, which it follows */
:is(h1, h2, h3).piece-display :is(.piece-accent, .piece-second) {
    color: inherit;
}

/* the strapline in a heading group */
.piece-heading h3 {
    color: var(--colour1);
}

/* on a dark page or band: the two colours lifted, so they show */
:is(.piece-dark, .piece-band) .piece-display,
:is(.piece-dark, .piece-band) .piece-heading h3 {
    color: color-mix(in srgb, var(--colour1) 65%, #fff);
}

:is(.piece-dark, .piece-band) .piece-heading {
    border-color: color-mix(in srgb, var(--colour2) 65%, #fff);
}

h2.piece-display {
    font-size: clamp(22px, 2.3vw, 32px);
    line-height: 1.35;
}

.piece-heading h3 {
    font-size: 19px;
    font-weight: var(--heading-light);
    letter-spacing: .02em;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Archmage, through every section */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* The template's own touches, carried into the newer pieces:

     the hero's frame     a hairline box with "Welcome to" set into its top
                          edge and the name between two accent rules - the
                          pull quote is framed so, its marks set into the
                          top and bottom edges, and the close is framed
                          with its heading between the two rules
     the footer's frame   "Contact Details" in a hairline box, rows parted
                          by hairlines - the figures stand in hairline
                          columns and the questions are parted the same
     the fine line        hairline squares round the icon row, the steps
                          counted in tracked figures, questions in small
                          tracked capitals like the headings */

/* - - - the hero's frame: the pull quote - - - */

.piece-band-tint :is(.piece-pull-open, .piece-pull-close) {
    background-color: var(--tint);
}

/* - - - the hero's frame: the close - - - */

.piece-close .piece-narrow {
    padding: 56px 48px;
    box-sizing: border-box;

    border: solid 1px var(--colour2);
}

.piece-close .piece-display {
    padding: 16px 0;

    border-top: solid 1px var(--accent);
    border-bottom: solid 1px var(--accent);
}

/* - - - the fine line - - - */

/* a phone: the frames keep their line, with less room inside */
@media(max-width: 599px) {

    .piece-close .piece-narrow {
        padding: 40px 20px;
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* The buttons - Archmage: the brackets */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* After the corner brackets that mark out the cards and photos: tracked
   capitals inside four corner marks of the accent. Under the pointer the
   marks run along the edges until they meet as a full hairline frame,
   then the accent wipes in behind the words from the left, like a pen
   stroke. The outline partner's marks are in the words' own colour, and
   it fills with that colour. The marks are eight hairlines painted on
   ::before; the fill is ::after. */

/* One set of rules paints every button in the page - in every section,
   the price cards, the banner and the close - and each place only says
   which colours to use:

     --b-fill / --b-on     the solid button and its words
     --b-line / --b-text   the outline button's line and words
     --b-hov / --b-on-hov  what it turns to under the pointer
     --b-plain             words that stand on the section itself
     --b-ground            the section's own colour, behind them

   Scoped to #page-content, so it outranks the shared per-section button
   rules without a pile of !importants. The second of a pair
   ( .piece-btn-alt ) and the price cards' own buttons, except the
   featured card's, take the outline. */

#page-content .piece-btn {
    --b-fill: var(--accent);
    --b-on: var(--on-accent);
    --b-line: var(--accent);
    --b-text: var(--accent-text);
    --b-hov: var(--ink);
    --b-on-hov: var(--on-ink);
    --b-plain: var(--ink);
    --b-ground: var(--paper);
}

/* on the dark, a band, a photo, the featured price card */
#page-content :is(.piece-dark, .piece-band, .piece-band-image, .piece-cover, .piece-option-featured) .piece-btn {
    --b-fill: var(--accent-dark);
    --b-on: var(--on-accent-dark);
    --b-line: var(--glow-edge);
    --b-text: var(--on-ink);
    --b-hov: var(--paper);
    --b-on-hov: var(--ink);
    --b-plain: var(--on-ink);
    --b-ground: var(--ink);
}

/* the shared rules' text arrow - the button draws its own here, or none */
#page-content .piece-btn :is(h4, span)::after {
    content: none;
}

#page-content .piece-btn {
    position: relative;
    isolation: isolate;
    display: inline-grid;
    place-items: center;
    padding: 16px 30px;

    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;

    --b-mark: var(--b-fill);
}

#page-content .piece-btn :is(h4, p, span) {
    margin: 0;

    font-size: 12px;
    font-weight: var(--heading-regular, 500);
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--b-plain);

    transition: color .3s ease;
}

/* the corner marks */
#page-content .piece-btn::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(var(--b-mark), var(--b-mark)) top left / 14px 1px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) top left / 1px 14px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) top right / 14px 1px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) top right / 1px 14px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) bottom left / 14px 1px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) bottom left / 1px 14px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) bottom right / 14px 1px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) bottom right / 1px 14px no-repeat;

    transition: background-size .5s cubic-bezier(.6, 0, .2, 1);
}

#page-content .piece-btn:is( :hover, :focus-visible)::before {
    background-size: 51% 1px, 1px 51%, 51% 1px, 1px 51%, 51% 1px, 1px 51%, 51% 1px, 1px 51%;
}

#page-content .piece-btn:is( :hover, :focus-visible) :is(h4, p, span) {
    color: var(--b-on);

    transition-delay: .3s;
}

#page-content :is(.piece-btn-alt, .piece-option:not(.piece-option-featured) > .piece-btn) {
    --b-mark: var(--b-plain);
}

#page-content :is(.piece-btn-alt, .piece-option:not(.piece-option-featured) > .piece-btn):is( :hover, :focus-visible) :is(h4, p, span) {
    color: var(--b-ground);
}

/* the fill, wiping in from the left once the frame has closed */
#page-content .piece-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background-color: var(--b-fill);
    transform: scaleX(0);
    transform-origin: left;

    transition: transform .45s cubic-bezier(.6, 0, .2, 1);
}

#page-content .piece-btn:is( :hover, :focus-visible)::after {
    transform: none;
    transition-delay: .25s;
}

#page-content :is(.piece-btn-alt, .piece-option:not(.piece-option-featured) > .piece-btn)::after {
    background-color: var(--b-plain);
}

@media(prefers-reduced-motion: reduce) {

    #page-content .piece-btn::before,
    #page-content .piece-btn::after,
    #page-content .piece-btn :is(h4, p, span) {
        transition-duration: .01s;
        animation: none;
    }
}


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Frame - Archmage: the template's own fixes */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* What this template needs whatever its page sections hold - its
   skin ( skins/archmage.css ) styles the sections; this goes in after it. */

/* - the template sets its headings in the primary. In the page sections
     that is taken darker when it would not read on white
     ( #093b84, from styleSchemePalette() ) - a pale primary
     made pale headings. Only as particular as the template's own
     headings, so a skin that colours headings still wins - */

:where(#page-content) :is(h1, h2, h3) {
    color: #093b84;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Fluid page width - Archmage */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* custom.css keeps the sections from growing wider than the screen when
   a scrollbar shows; these are the other parts this template fixes at
   the breakpoints' widths, given the same treatment. */

@media(min-width: 768px) {
    hr {
        width: min(750px, 100%);
    }
}

@media(min-width: 992px) {
    hr {
        width: min(950px, 100%);
    }
}

@media(min-width: 1200px) {
    hr {
        width: min(1200px, 100%);
    }
}


/* - a small phone with a scrollbar ( a narrow desktop window ): the logo,
     320px at most, is never wider than the screen either - */

@media(max-width: 600px) {
    #nav-logo a img {
        max-width: min(320px, 100%);
    }
}


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* The banner's buttons - Archmage */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* The hero's "Get in touch" and the feature boxes' buttons drawn as the
   page's own ( skins/archmage.css, "The buttons" ): the brackets that
   close and fill. A feature box's button is its <h4 class="btn"> inside
   the link - the link is the button here, the <h4> its words. */

html body .slider-get-in-touch a:not(#_) {
    --b-fill: var(--accent-dark);
    --b-on: var(--on-accent-dark);
    --b-line: var(--glow-edge);
    --b-text: var(--on-ink);
    --b-hov: var(--paper);
    --b-on-hov: var(--ink);
    --b-plain: var(--on-ink);
    --b-ground: var(--ink);
}

html body .slider-get-in-touch a:not(#_) {
    margin: 0;
    text-decoration: none;
    background-image: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    filter: none;
    width: auto;
    min-height: 44px;
    box-sizing: border-box;
}

html body .slider-get-in-touch a:not(#_) :is(h3, h4) {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
    grid-row: auto;
    box-shadow: none;
    line-height: 1.2;
}

html body .slider-get-in-touch a:not(#_)::before,
html body .slider-get-in-touch a:not(#_)::after {
    content: none;
}

html body .slider-get-in-touch:not(#_) {
    padding: 0;
    border: none;
    background-color: transparent;
}

html body .slider-get-in-touch:not(#_):hover {
    background-color: transparent;
}

html body .slider-get-in-touch a:not(#_) {
    position: relative;
    isolation: isolate;
    display: inline-grid;
    place-items: center;
    padding: 16px 30px;

    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;

    --b-mark: var(--b-fill);
}

html body .slider-get-in-touch a:not(#_) :is(h3, h4) {
    margin: 0;

    font-size: 12px;
    font-weight: var(--heading-regular, 500);
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--b-plain);

    transition: color .3s ease;
}

/* the corner marks */
html body .slider-get-in-touch a:not(#_)::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(var(--b-mark), var(--b-mark)) top left / 14px 1px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) top left / 1px 14px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) top right / 14px 1px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) top right / 1px 14px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) bottom left / 14px 1px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) bottom left / 1px 14px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) bottom right / 14px 1px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) bottom right / 1px 14px no-repeat;

    transition: background-size .5s cubic-bezier(.6, 0, .2, 1);
}

html body .slider-get-in-touch a:not(#_):is( :hover, :focus-visible)::before {
    background-size: 51% 1px, 1px 51%, 51% 1px, 1px 51%, 51% 1px, 1px 51%, 51% 1px, 1px 51%;
}

html body .slider-get-in-touch a:not(#_):is( :hover, :focus-visible) :is(h3, h4) {
    color: var(--b-on);

    transition-delay: .3s;
}

/* the fill, wiping in from the left once the frame has closed */
html body .slider-get-in-touch a:not(#_)::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background-color: var(--b-fill);
    transform: scaleX(0);
    transform-origin: left;

    transition: transform .45s cubic-bezier(.6, 0, .2, 1);
}

html body .slider-get-in-touch a:not(#_):is( :hover, :focus-visible)::after {
    transform: none;
    transition-delay: .25s;
}

@media(prefers-reduced-motion: reduce) {

    html body .slider-get-in-touch a:not(#_)::before,
    html body .slider-get-in-touch a:not(#_)::after,
    html body .slider-get-in-touch a:not(#_) :is(h3, h4) {
        transition-duration: .01s;
        animation: none;
    }
}

html body .feature-container a:not(#_):has(> h4.btn) {
    --b-fill: var(--accent-dark);
    --b-on: var(--on-accent-dark);
    --b-line: var(--glow-edge);
    --b-text: var(--on-ink);
    --b-hov: var(--paper);
    --b-on-hov: var(--ink);
    --b-plain: var(--on-ink);
    --b-ground: var(--ink);
}

html body .feature-container a:not(#_):has(> h4.btn) {
    margin: 0;
    text-decoration: none;
    background-image: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    filter: none;
    width: auto;
    min-height: 44px;
    box-sizing: border-box;
}

html body .feature-container a:not(#_):has(> h4.btn) h4.btn {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
    grid-row: auto;
    box-shadow: none;
    line-height: 1.2;
}

html body .feature-container a:not(#_):has(> h4.btn)::before,
html body .feature-container a:not(#_):has(> h4.btn)::after {
    content: none;
}

html body .feature-container a:not(#_):has(> h4.btn) {
    position: relative;
    isolation: isolate;
    display: inline-grid;
    place-items: center;
    padding: 6px 30px;

    background-color: #0e5ed3;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;

    --b-mark: var(--b-fill);
}

html body .feature-container a:not(#_):has(> h4.btn) h4.btn {
    margin: 0;

    font-size: 14px;
    font-family: "ivyora-display", serif;
    font-weight: 500;
    font-style: normal;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--b-plain);

    transition: color .3s ease;
}

/* the corner marks */
html body .feature-container a:not(#_):has(> h4.btn)::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(var(--b-mark), var(--b-mark)) top left / 14px 1px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) top left / 1px 14px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) top right / 14px 1px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) top right / 1px 14px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) bottom left / 14px 1px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) bottom left / 1px 14px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) bottom right / 14px 1px no-repeat,
        linear-gradient(var(--b-mark), var(--b-mark)) bottom right / 1px 14px no-repeat;

    transition: background-size .5s cubic-bezier(.6, 0, .2, 1);
}

html body .feature-container a:not(#_):has(> h4.btn):is( :hover, :focus-visible)::before {
    background-size: 51% 1px, 1px 51%, 51% 1px, 1px 51%, 51% 1px, 1px 51%, 51% 1px, 1px 51%;
}

html body .feature-container a:not(#_):has(> h4.btn):is( :hover, :focus-visible) h4.btn {
    color: var(--b-on);

    transition-delay: .3s;
}

/* the fill, wiping in from the left once the frame has closed */
html body .feature-container a:not(#_):has(> h4.btn)::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background-color: var(--b-fill);
    transform: scaleX(0);
    transform-origin: left;

    transition: transform .45s cubic-bezier(.6, 0, .2, 1);
}

html body .feature-container a:not(#_):has(> h4.btn):is( :hover, :focus-visible)::after {
    transform: none;
    transition-delay: .25s;
}

@media(prefers-reduced-motion: reduce) {

    html body .feature-container a:not(#_):has(> h4.btn)::before,
    html body .feature-container a:not(#_):has(> h4.btn)::after,
    html body .feature-container a:not(#_):has(> h4.btn) h4.btn {
        transition-duration: .01s;
        animation: none;
    }
}


/* The footer - the page builder's Footer panel */

html body #footer {
    background-color: #093b84 !important;
}

html body #footer p:not(.bottom-bar *),
html body #footer li:not(.bottom-bar *),
html body #footer address:not(.bottom-bar *),
html body #footer td:not(.bottom-bar *),
html body #footer dd:not(.bottom-bar *),
html body #footer span:not(.bottom-bar *) {
    color: #ffffff !important;
}

html body #footer h1:not(.bottom-bar *),
html body #footer h2:not(.bottom-bar *),
html body #footer h3:not(.bottom-bar *),
html body #footer h4:not(.bottom-bar *),
html body #footer h5:not(.bottom-bar *) {
    color: #ffffff !important;
}

html body #footer a:not(.bottom-bar *),
html body #footer a p:not(.bottom-bar *),
html body #footer a span:not(.bottom-bar *),
html body #footer a h2:not(.bottom-bar *),
html body #footer a h3:not(.bottom-bar *),
html body #footer a h4:not(.bottom-bar *) {
    color: #ffffff !important;
}

html body #footer i:not(.bottom-bar *),
html body #footer svg.svg-inline--fa:not(.bottom-bar *),
html body #footer .footer-icon:not(.bottom-bar *) {
    color: #ffffff !important;
}

html body #footer .footer-box,
html body #footer .footer-box-line,
html body #footer .footer-box-content .element {
    border-color: #ffffff !important;
}

html body .bottom-bar {
    background-color: #011847 !important;
}

html body .bottom-bar,
html body .bottom-bar :is(p, a, span) {
    color: #ffffff !important;
}

/* The nav - the page builder's Nav panel */

html body #nav {
    background: #fafcfb !important;
    border-color: #fafcfb !important;
}

html body #nav .page-link p,
html body #nav .nav-phone h2 {
    color: #171717 !important;
}

html body #nav .active-link p {
    color: #093b84 !important;
}

html body #nav .page-link p {
    font-family: "ivyora-display", sans-serif !important;
}

/* The heroes - the page builder's Hero panel */

#slider .slide-img {
    opacity: 0.5 !important;
}

html body #slider .slider-txt h1,
html body .hero-wrap .hero-wrap-heading {
    color: #ffffff !important;
}

html body #banner .banner-box-top h2 {
    color: #ffffff !important;
}

html body #banner .banner-box-content p,
html body #banner .banner-box-content a {
    color: #ffffff !important;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* One-off tweaks for this site go below */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* From Uiverse.io by e-coders */
.but2 {
    appearance: none;
    transition: 2.5s;
    text-transform: uppercase;
    background-color: #0e5ed3;
    border: none;
    border-radius: 50px;
    /*    backdrop-filter: blur(2px);*/

    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: "ivyora-display", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 17px;
    line-height: normal;
    margin: 0;
    /*    min-height: 3.75em;*/
    min-width: 0;
    outline: none;
    padding: 0.7em 1.6em;
    text-align: center;
    text-decoration: none;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    will-change: transform;
    letter-spacing: 3px;
}

.but2:disabled {
    pointer-events: none;
}

.but2:hover {
    color: #fff;
    background-color: var(--colour2);
    /*background: linear-gradient(90deg, rgba(222, 156, 140, 1) 0%, rgba(245, 227, 212, 1) 100%);    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;*/
    transform: translateY(-2px);
}

.but2:active {
    box-shadow: none;
    transform: translateY(0);
}

but2:hover .fas {
    color: black;
}

.mt {

    margin-top: 20px;

}

.mb {

    margin-bottom: 20px;
}

.zoom {
    transition: transform .2s;
}

.zoom:hover {
    transform: scale(1.05);
}
