/* Hyperial Group — static recreation of the Divi/WordPress site */

:root {
    --navy: #2e3857;
    --navy-deep: #212529;
    --ink: #333333;
    --muted: #888888;
    --body: #666666;
    --paper: #ffffff;
    --mist: #f4f6f8;
    --line: #e5e5e5;
    --accent: #2ea3f2;
    --accent-hot: #3ec8f0;
    --btn: #2ec4e8;
    --btn-hover: #1aafd4;
    --ok: #0b6b3a;
    --ok-bg: #e6f6ec;
    --danger: #9b1c1c;
    --danger-bg: #fde8e8;
    --font: "Open Sans", Arial, sans-serif;
    --mtn-top-white: url("data:image/svg+xml;utf8,<svg width='100%25' height='100px' viewBox='0 0 1280 140' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><g fill='%23ffffff'><path d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V0H0v90.72z' fill-opacity='.5'/><path d='M0 0v47.44L170 0l626.48 94.89L1110 87.11l170-39.67V0H0z'/></g></svg>");
    --mtn-bot-white: url("data:image/svg+xml;utf8,<svg width='100%25' height='100px' viewBox='0 0 1280 140' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><g fill='%23ffffff'><path d='M0 47.44L170 0l626.48 94.89L1110 87.11l170-39.67V140H0V47.44z' fill-opacity='.5'/><path d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V140H0V90.72z'/></g></svg>");
    --mtn-bot-navy: url("data:image/svg+xml;utf8,<svg width='100%25' height='100px' viewBox='0 0 1280 140' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><g fill='%23212529'><path d='M0 47.44L170 0l626.48 94.89L1110 87.11l170-39.67V140H0V47.44z' fill-opacity='.5'/><path d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V140H0V90.72z'/></g></svg>");
    --mtn-bot-gray: url("data:image/svg+xml;utf8,<svg width='100%25' height='100px' viewBox='0 0 1280 140' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><g fill='%23939393'><path d='M0 47.44L170 0l626.48 94.89L1110 87.11l170-39.67V140H0V47.44z' fill-opacity='.5'/><path d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V140H0V90.72z'/></g></svg>");
    --mtn-top-black: url("data:image/svg+xml;utf8,<svg width='100%25' height='100px' viewBox='0 0 1280 140' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><g fill='%23000000'><path d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V0H0v90.72z' fill-opacity='.5'/><path d='M0 0v47.44L170 0l626.48 94.89L1110 87.11l170-39.67V0H0z'/></g></svg>");
    --mtn-bot-black: url("data:image/svg+xml;utf8,<svg width='100%25' height='100px' viewBox='0 0 1280 140' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><g fill='%23000000'><path d='M0 47.44L170 0l626.48 94.89L1110 87.11l170-39.67V140H0V47.44z' fill-opacity='.5'/><path d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V140H0V90.72z'/></g></svg>");
    --mtn-bot-blue: url("data:image/svg+xml;utf8,<svg width='100%25' height='100px' viewBox='0 0 1280 140' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><g fill='%234d7af6'><path d='M0 47.44L170 0l626.48 94.89L1110 87.11l170-39.67V140H0V47.44z' fill-opacity='.5'/><path d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V140H0V90.72z'/></g></svg>");
    --max: 1140px;
    --header-h: 80px;
    --radius: 6px;
    --card-radius: 12px;
    --shadow: 0 12px 30px rgba(20, 28, 48, 0.12);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    background: var(--paper);
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--btn-hover); }

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: 0;
    z-index: 10000;
    padding: 8px 14px;
    background: var(--accent);
    color: #fff;
    transform: translateY(-200%);
}
.skip-link:focus {
    transform: translateY(12px);
    color: #fff;
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.mtn {
    --mtn-top-h: 0px;
    --mtn-bot-h: 0px;
    --mtn-top-svg: none;
    --mtn-bot-svg: none;
    position: relative;
    overflow: hidden;
}
.mtn::before,
.mtn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 2;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.mtn::before {
    top: 0;
    height: var(--mtn-top-h);
    background-image: var(--mtn-top-svg);
}
.mtn::after {
    bottom: 0;
    height: var(--mtn-bot-h);
    background-image: var(--mtn-bot-svg);
}
.mtn > * { position: relative; z-index: 1; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.1);
}

.header-inner {
    display: flex;
    align-items: center;
    min-height: var(--header-h);
    gap: 24px;
    position: relative;
}

.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 66px; width: auto; }

.header-tools {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-toggle {
    appearance: none;
    background: none;
    border: 0;
    color: var(--accent);
    cursor: pointer;
    padding: 10px;
    display: grid;
    place-items: center;
    gap: 5px;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
}

.site-nav a {
    display: block;
    padding: 10px 14px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--accent); }

@media (max-width: 980px) {
    .site-nav {
        display: none;
        position: absolute;
        left: 0; right: 0;
        top: 100%;
        background: #fff;
        box-shadow: 0 12px 24px rgba(0,0,0,.12);
        padding: 8px 0 16px;
        z-index: 30;
    }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
    .site-nav a { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
}

@media (min-width: 981px) {
    .nav-toggle,
    .header-tools { display: none; }
    .site-nav { margin-left: auto; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, color .2s, border-color .2s;
}
.btn-primary {
    background: var(--btn);
    color: #fff;
    border-color: var(--btn);
}
.btn-primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: #fff; }
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.45);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Hero */
.hero {
    position: relative;
    color: #fff;
    background-color: var(--navy);
    background-image: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 110px 0 88px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 90px;
    background-image: url("data:image/svg+xml;utf8,<svg width='100%25' height='100px' viewBox='0 0 1280 140' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><g fill='%23ffffff'><path d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V0H0v90.72z' fill-opacity='.5'/><path d='M0 0v47.44L170 0l626.48 94.89L1110 87.11l170-39.67V0H0z'/></g></svg>");
    background-size: 100% 90px;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 2;
}
.hero-intro {
    position: relative;
    z-index: 3;
    max-width: 40rem;
    padding-top: 12px;
}
.hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.hero .lede {
    color: #b7bec8;
    font-size: 1.15rem;
    margin: 0 0 28px;
}

.post-card {
    background: #fff;
    color: var(--ink);
    border-radius: var(--card-radius);
    padding: 22px 24px 18px;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}
.post-card h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    line-height: 1.35;
    font-weight: 600;
}
.post-card h2 a { color: #333; text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-meta {
    margin: 0 0 10px;
    color: #8a8a8a;
    font-size: 13px;
    line-height: 1.5;
}
.post-card p { margin: 0 0 10px; color: #666; font-size: 14.5px; }
.more-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.more-link:hover { text-decoration: underline; }

/* Offerings */
.offerings {
    background: var(--navy-deep);
    color: #cfd6df;
    padding: 28px 0 72px;
}
.offer-head {
    max-width: 42rem;
    margin: 0 auto 40px;
    text-align: center;
}
.offer-kicker {
    margin: 0 0 8px;
    color: var(--accent-hot);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.offer-head h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 600;
    line-height: 1.25;
}
.offer-head p {
    margin: 0;
    font-size: 1.05rem;
    color: #b7bec8;
}
.blurb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.blurb {
    text-align: center;
    padding: 28px 22px 30px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--card-radius);
}
.blurb:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(62, 200, 240, 0.28);
}
.blurb-icon {
    width: 72px; height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent-hot);
    color: #fff;
}
.blurb-icon > i {
    font-size: 1.65rem;
    line-height: 1;
    width: auto;
    height: auto;
    max-width: none;
}
.blurb-icon .cloud-fax-icon {
    width: 40px;
    height: 40px;
    display: block;
}
.blurb h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 600;
}
.blurb p { margin: 0; font-size: 15px; line-height: 1.65; }
.blurb a { color: var(--accent-hot); }

/* Features */
.features {
    background:
        linear-gradient(#eef1f4, #e8edf2);
    padding: 70px 0 50px;
    position: relative;
}
.features::before,
.features::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 70px;
    pointer-events: none;
}
.features::before {
    top: 0;
    background-image: url("data:image/svg+xml;utf8,<svg width='100%25' height='80' viewBox='0 0 1280 140' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><g fill='%23212529'><path d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V0H0v90.72z' fill-opacity='.5'/><path d='M0 0v47.44L170 0l626.48 94.89L1110 87.11l170-39.67V0H0z'/></g></svg>");
    background-size: 100% 70px;
}
.features::after {
    bottom: 0;
    transform: scaleY(-1);
    background-image: url("data:image/svg+xml;utf8,<svg width='100%25' height='80' viewBox='0 0 1280 140' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><g fill='%232e3857'><path d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V0H0v90.72z' fill-opacity='.5'/><path d='M0 0v47.44L170 0l626.48 94.89L1110 87.11l170-39.67V0H0z'/></g></svg>");
    background-size: 100% 70px;
}
.feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: center;
    padding: 36px 0 10px;
}
.feature img { max-height: 180px; width: auto; margin: 0 auto 12px; display: block; }
.feature h2 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 1.45rem;
    font-weight: 600;
}
.feature p { margin: 0 0 8px; color: #5b6570; }
.features .cta-row { position: relative; z-index: 1; text-align: center; margin-top: 8px; padding-bottom: 56px; }

/* Contact */
.contact-band {
    background: linear-gradient(90deg, #0c0605 0%, #538bf8 100%);
    color: #d7dde5;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.contact-band::before,
.contact-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 2;
    height: 80px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.contact-band::before {
    top: 0;
    background-image: var(--mtn-top-black);
}
.contact-band::after {
    bottom: 0;
    background-image: var(--mtn-bot-black);
}
.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-copy h2 {
    color: #fff;
    font-size: 2rem;
    margin: 0 0 14px;
    font-weight: 600;
}
.contact-phones a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
}
.contact-phones a:hover { color: var(--accent-hot); }

.contact-form-wrap iframe {
    display: block;
    width: 100%;
    height: 425px;
    background: transparent;
}

/* Footer */
.site-footer {
    background: #1b1f27;
    color: #aaa;
    padding: 22px 0;
    font-size: 14px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a {
    display: grid;
    place-items: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #2a313d;
    color: #fff;
    text-decoration: none;
}
.social a:hover { background: var(--accent); color: #fff; }
.copyright { margin: 0; }

/* Inner pages */
.page-hero {
    background: linear-gradient(180deg, #f7f8fa, #fff);
    padding: 48px 0 20px;
    border-bottom: 1px solid #eee;
}
.page-hero h1 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
}
.page-body { padding: 40px 0 20px; }
.page-body .prose { max-width: 740px; }
.prose h2, .prose h3 { color: var(--navy); }
.prose p { margin: 0 0 16px; }

.about-hero {
    --mtn-top-h: 96px;
    --mtn-bot-h: 70px;
    --mtn-top-svg: var(--mtn-top-white);
    --mtn-bot-svg: var(--mtn-bot-blue);
    background-image: linear-gradient(180deg, #2d3757 0%, #212529 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 88px 0 80px;
}
.about-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.3;
}
.about-hero p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.8;
}
.about-hero-art img {
    display: block;
    width: 77%;
    max-width: 520px;
    height: auto;
    margin-left: auto;
}

.about-mid {
    --mtn-bot-h: 100px;
    --mtn-bot-svg: var(--mtn-bot-navy);
    background-image: linear-gradient(113deg, #00000a 0%, #4d7af6 100%);
    padding: 56px 0 130px;
}
.about-pullquote {
    margin: 0;
    color: #fff;
    font-size: clamp(1.35rem, 2.4vw, 1.875rem);
    font-weight: 500;
    line-height: 1.5;
}

.about-story {
    --mtn-bot-h: 100px;
    --mtn-bot-svg: var(--mtn-bot-black);
    background: #212529;
    color: rgba(255, 255, 255, 0.82);
    padding: 36px 0 110px;
}
.about-story .story h2,
.about-story .prose h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 600;
    line-height: 1.3;
}

.about-split,
.quote-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}
.quote-panel {
    background: var(--navy);
    color: #fff;
    padding: 36px 32px;
    border-radius: 8px;
    font-size: 1.25rem;
    line-height: 1.45;
    font-weight: 500;
}
.quote-panel p { margin: 0; }

.story {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: start;
}
.story h2 { margin-top: 0; color: var(--navy); }

.testi-banner {
    --mtn-top-h: 49px;
    --mtn-bot-h: 44px;
    --mtn-top-svg: var(--mtn-top-white);
    --mtn-bot-svg: var(--mtn-bot-white);
    margin-top: 10px;
    line-height: 0;
}
.banner {
    display: block;
    width: 100%;
    height: auto;
}

.testi-quotes {
    --mtn-bot-h: 63px;
    --mtn-bot-svg: var(--mtn-bot-gray);
    padding: 48px 0 90px;
}
.testi-quotes .prose { max-width: 740px; }
.testi-quotes h1 {
    margin: 0 0 28px;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 600;
}

.quote-block {
    padding: 0 0 22px;
    margin: 0 0 22px;
    border: 0;
    border-bottom: 1px solid #ccc;
}
.quote-block:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.quote-block p.quote { font-size: 1.05rem; color: #555; }
.quoter { color: #333; font-weight: 600; margin: 0; }
.quoter span { display: block; font-weight: 500; color: #777; }

.article { padding: 48px 0 20px; }
.article-header { max-width: 760px; margin-bottom: 24px; }
.article-header h1 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.25;
}
.article-body {
    max-width: 760px;
    font-size: 1.05rem;
}
.article-body p { margin: 0 0 16px; }
.article-body ol, .article-body ul { margin: 0 0 16px; padding-left: 1.3em; }
.article-body li { margin: 6px 0; }

.blog-list { display: grid; gap: 18px; padding: 10px 0 30px; }
.blog-list .post-card { margin: 0; }

.error-page { padding: 80px 0 40px; text-align: center; }
.error-page h1 { color: var(--navy); }

.search-results { padding: 40px 0 20px; }
.search-results h1 { color: var(--navy); }
.result { padding: 16px 0; border-bottom: 1px solid var(--line); }
.result h2 { margin: 0 0 6px; font-size: 1.2rem; }
.result h2 a { color: var(--navy); text-decoration: none; }
.result h2 a:hover { color: var(--accent); }

@media (max-width: 900px) {
    .blurb-grid { grid-template-columns: 1fr 1fr; }
    .feature-grid,
    .contact-grid,
    .about-split,
    .quote-split,
    .story {
        grid-template-columns: 1fr;
    }
    .about-hero-art img { width: 100%; max-width: 420px; margin-inline: auto; }
    .testi-banner { --mtn-top-h: 10px; --mtn-bot-h: 10px; }
    .hero { padding: 80px 0 56px; }
    .footer-inner { flex-direction: column; }
}
@media (max-width: 600px) {
    .blurb-grid { grid-template-columns: 1fr; }
}
