/* ==========================================================================
   Andersen Shingle Worx - global styles
   ========================================================================== */

:root {
    --ink: #101418;
    --ink-soft: #1b2228;
    --ink-line: rgba(255, 255, 255, 0.12);
    --gold: #c79a5b;
    --gold-deep: #a3763a;
    --paper: #ffffff;
    --paper-alt: #f4f2ee;
    --body: #40464c;
    --heading-font: 'Oswald', 'Arial Narrow', Impact, sans-serif;
    --body-font: 'Source Sans 3', 'Segoe UI', Helvetica, Arial, sans-serif;
    --shell: 1200px;
    --shadow-sm: 0 2px 10px rgba(16, 20, 24, 0.08);
    --shadow-md: 0 14px 40px rgba(16, 20, 24, 0.14);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body-font);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--body);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5 {
    font-family: var(--heading-font);
    color: var(--ink);
    margin: 0 0 0.6em;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

h1:focus,
h2:focus {
    outline: none;
}

p {
    margin: 0 0 1.1em;
}

figure,
blockquote {
    margin: 0;
}

a {
    color: var(--gold-deep);
    text-decoration: none;
    transition: color 0.18s ease;
}

a:hover {
    color: var(--ink);
}

ul {
    margin: 0 0 1.1em;
    padding-left: 1.1rem;
}

/* --------------------------------------------------------------- layout -- */

.shell {
    width: min(100% - 2.5rem, var(--shell));
    margin-inline: auto;
}

.shell--narrow {
    width: min(100% - 2.5rem, 860px);
    margin-inline: auto;
}

.section {
    padding: 5.5rem 0;
}

.section--tight {
    padding: 3.5rem 0;
}

.section--alt {
    background: var(--paper-alt);
}

.section--dark {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.78);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: #fff;
}

.section-head {
    text-align: center;
    margin-bottom: 3rem;
}

.section-head h2 {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.section-head p {
    max-width: 60ch;
    margin-inline: auto;
    opacity: 0.88;
}

.rule {
    width: 84px;
    height: 3px;
    background: var(--gold);
    border: 0;
    margin: 0 auto 1.4rem;
}

.rule--left {
    margin-left: 0;
}

.eyebrow {
    display: block;
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 0.9rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* -------------------------------------------------------------- buttons -- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.95rem 2rem;
    border: 2px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--gold {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: var(--gold-deep);
    border-color: var(--gold-deep);
    color: #fff;
}

.btn--dark {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.btn--dark:hover {
    background: transparent;
    color: var(--ink);
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
}

.btn--ghost:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

.btn--block {
    width: 100%;
}

/* ----------------------------------------------------------------- hero -- */

.hero {
    position: relative;
    min-height: min(84vh, 760px);
    display: flex;
    align-items: center;
    color: #fff;
    isolation: isolate;
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    /* Darker behind the left-aligned copy, opening up the photo on the right. */
    background:
        linear-gradient(90deg, rgba(16, 20, 24, 0.72) 0%, rgba(16, 20, 24, 0.5) 48%, rgba(16, 20, 24, 0.15) 100%),
        linear-gradient(180deg, rgba(16, 20, 24, 0.32) 0%, rgba(16, 20, 24, 0) 40%, rgba(16, 20, 24, 0.5) 100%);
}

.hero__inner {
    padding: 7rem 0 5rem;
    max-width: 720px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero__lead {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* interior page banner */
.banner {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 6.5rem 0 4.5rem;
    isolation: isolate;
    background: var(--ink);
    overflow: hidden;
}

.banner__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    opacity: 0.55;
}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(16, 20, 24, 0.8), rgba(16, 20, 24, 0.6));
}

.banner h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.25rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.banner p {
    max-width: 62ch;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
}

/* ----------------------------------------------------------- highlights -- */

.highlight-bar {
    background: var(--gold);
    color: var(--ink);
    padding: 1.15rem 0;
}

.highlight-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 2.5rem;
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.86rem;
    text-align: center;
}

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

.card {
    background: #fff;
    border: 1px solid rgba(16, 20, 24, 0.08);
    border-radius: 3px;
    padding: 2.25rem 1.85rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.card--center {
    text-align: center;
}

.card h3 {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card p:last-child {
    margin-bottom: 0;
}

.card__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.card--center .card__icon {
    margin-inline: auto;
}

.card__icon svg {
    width: 26px;
    height: 26px;
}

/* ---------------------------------------------------------- split media -- */

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 3.25rem;
    align-items: center;
}

.split__media img {
    width: 100%;
    border-radius: 3px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.split h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.35rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.check-list li {
    position: relative;
    padding-left: 1.9rem;
    margin-bottom: 0.55rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.65rem;
    height: 0.35rem;
    border-left: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(-45deg);
}

/* -------------------------------------------------------------- gallery -- */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.gallery__item {
    position: relative;
    padding: 0;
    border: 0;
    background: var(--ink);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: zoom-in;
    border-radius: 3px;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
    transform: scale(1.06);
    opacity: 0.82;
}

.gallery__item:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(9, 11, 13, 0.92);
    display: grid;
    place-items: center;
    padding: 2rem;
}

.lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    width: auto;
    object-fit: contain;
    border-radius: 3px;
}

.lightbox__close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: 0;
    color: #fff;
    font-size: 2.25rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
}

.lightbox__nav:hover {
    background: var(--gold);
    color: var(--ink);
}

.lightbox__nav--prev {
    left: 1.25rem;
}

.lightbox__nav--next {
    right: 1.25rem;
}

/* -------------------------------------------------------------- reviews -- */

.review-summary {
    text-align: center;
    margin-bottom: 2.5rem;
}

.review-summary__score {
    font-family: var(--heading-font);
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
}

.stars {
    color: var(--gold);
    letter-spacing: 0.22em;
    font-size: 1.05rem;
}

.review {
    background: #fff;
    border: 1px solid rgba(16, 20, 24, 0.08);
    border-top: 3px solid var(--gold);
    padding: 1.9rem 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review__quote {
    font-style: italic;
    color: var(--ink-soft);
    flex: 1;
    margin: 0 0 0.5rem;
}

.review__who {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.1rem;
}

.review__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--gold);
    font-family: var(--heading-font);
    font-size: 1.15rem;
}

.review__name {
    display: block;
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink);
    line-height: 1.2;
}

.review__meta {
    display: block;
    font-size: 0.85rem;
    color: #7b8288;
}

/* ---------------------------------------------------------------- forms -- */

.quote-form {
    background: #fff;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--gold);
}

.field {
    margin-bottom: 1.1rem;
}

.field label {
    display: block;
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    padding: 0.75rem 0.9rem;
    border: 1px solid #d4d7da;
    border-radius: 2px;
    background: #fbfbfa;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(199, 154, 91, 0.18);
}

.field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0 1.1rem;
}

.form-note {
    font-size: 0.85rem;
    color: #7b8288;
    margin-top: 1rem;
}

.form-success {
    background: #f1f7ef;
    border: 1px solid #b9d8ad;
    border-left: 4px solid #4f9034;
    padding: 1.25rem 1.4rem;
    color: #2f5b1f;
}

/* -------------------------------------------------------------- contact -- */

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--ink-line);
}

.contact-list li:last-child {
    border-bottom: 0;
}

.contact-list--light li {
    border-bottom-color: rgba(16, 20, 24, 0.1);
}

.contact-list--light strong {
    color: var(--gold-deep);
}

.contact-list svg {
    width: 22px;
    height: 22px;
    flex: none;
    color: var(--gold);
    margin-top: 0.35rem;
}

.contact-list strong {
    display: block;
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    color: var(--gold);
}

.section--dark .contact-list a {
    color: #fff;
}

.section--dark .contact-list a:hover {
    color: var(--gold);
}

/* ------------------------------------------------------------- partners -- */

.partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem 2rem;
}

.partner {
    border: 1px solid rgba(16, 20, 24, 0.14);
    padding: 0.85rem 1.6rem;
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
    color: var(--ink);
    background: #fff;
}

.partner--logo {
    display: grid;
    place-items: center;
    width: 210px;
    height: 128px;
    padding: 0.75rem;
    background: var(--ink);
    border-color: var(--ink);
}

.partner--logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ----------------------------------------------------------------- team -- */

.team-card {
    background: #fff;
    border: 1px solid rgba(16, 20, 24, 0.08);
    box-shadow: var(--shadow-sm);
    text-align: center;
    overflow: hidden;
}

.team-card__photo {
    aspect-ratio: 4 / 3;
    background: var(--ink);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__initials {
    font-family: var(--heading-font);
    font-size: 2.75rem;
    color: var(--gold);
    letter-spacing: 0.08em;
}

.team-card__body {
    padding: 1.5rem 1.25rem 1.9rem;
}

.team-card h3 {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.team-card__role {
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    color: var(--gold-deep);
}

.team-card__area {
    font-size: 0.92rem;
    margin: 0.7rem 0 0;
    color: #6d747a;
}

/* ---------------------------------------------------------------- steps -- */

.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
}

.step {
    position: relative;
    padding-top: 3.9rem;
}

.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--heading-font);
    font-size: 2.6rem;
    color: var(--gold);
    line-height: 1;
}

.step h3 {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ----------------------------------------------------------------- misc -- */

.cta-strip {
    background: var(--ink);
    color: #fff;
    text-align: center;
    padding: 3.5rem 0;
}

.cta-strip h2 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

.finance-card {
    background: linear-gradient(135deg, var(--ink) 0%, #23303a 100%);
    color: rgba(255, 255, 255, 0.82);
    padding: 3rem 2.5rem;
    text-align: center;
    border-top: 4px solid var(--gold);
}

.finance-card h2 {
    color: #fff;
}

.finance-figures {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin: 2rem 0;
}

.finance-figures div {
    min-width: 150px;
}

.finance-figures span {
    display: block;
    font-family: var(--heading-font);
    font-size: 2.25rem;
    color: var(--gold);
    line-height: 1.1;
}

.finance-figures small {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 860px) {
    /* Copy spans the full width here, so fall back to an even scrim. */
    .hero::after {
        background: linear-gradient(180deg, rgba(16, 20, 24, 0.6) 0%, rgba(16, 20, 24, 0.45) 45%, rgba(16, 20, 24, 0.7) 100%);
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3.75rem 0;
    }

    .quote-form {
        padding: 1.75rem 1.25rem;
    }

    .hero__actions .btn {
        width: 100%;
    }
}

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

/* ------------------------------------------------------------ validation -- */

.valid.modified:not([type=checkbox]) {
    border-color: #4f9034;
}

.invalid {
    border-color: #b3261e;
}

.validation-message {
    color: #b3261e;
    font-size: 0.85rem;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 30vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #c79a5b;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-family: 'Oswald', Arial, sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    inset: calc(30vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}