:root {
    --color-bg: #e7eaf2;
    --color-surface: #f5f6fa;
    --color-text: #172137;
    --color-muted: #3f5a97;
    --color-accent: #9a2246;
    --color-on-accent: #ffffff;
    --color-border: #cdd3e1;
}

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

html {
    font-size: 117.0%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif;
    line-height: 1.51;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    font-family: Avenir, Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif;
    font-weight: 700;
    line-height: 1.10;
    margin: 1.92rem 0 0.72rem;
}

h1 {
    font-size: 3.79rem;
}

h2 {
    font-size: 1.95rem;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin: 0 0 1.2rem;
}

a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--color-accent);
}

a:hover {
    border-bottom-color: currentColor;
    color: var(--color-accent);
}

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

.g3-shell {
    max-width: 982px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.g3-top {
    padding: 1.8rem 0;
    background: var(--color-accent);
    color: var(--color-on-accent);
    position: sticky;
}

.g3-top .g3-shell {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.g3-top a {
    color: var(--color-on-accent);
    border: 0;
}

.g3-main {
    padding: 2.39rem 0 3.59rem;
}

.g3-wordmark {
    font-family: Avenir, Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif;
    font-weight: 600;
    font-size: 1.48rem;
    text-decoration: none;
    color: var(--color-on-accent);
    border: 0;
    text-transform: lowercase;
    letter-spacing: 0.074em;
}

.g3-menu {
    display: flex;
    gap: 1.22rem;
    flex-wrap: wrap;
}

.g3-item {
    text-decoration: none;
    border: 0;
    color: var(--color-on-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.g3-item[aria-current] {
    font-weight: 700;
}

.g3-welcome {
    padding: 1.8rem 0 2.39rem;
}

.g3-statement {
    font-size: 3.79rem;
    margin-top: 0;
}

.g3-hero-text {
    color: inherit;
    font-size: 1.14rem;
    max-width: 41ch;
    margin: 0 0 1.2rem;
}

.g3-welcome .g3-art {
    width: 100%;
    border-radius: 0px;
    margin-bottom: 1.8rem;
    aspect-ratio: 16 / 5;
    object-fit: cover;
}

.g3-button {
    display: inline-block;
    padding: 0.72rem 1.44rem;
    background: var(--color-accent);
    color: var(--color-on-accent);
    border-radius: 0px;
    text-decoration: none;
    border: 0;
    font-weight: 600;
}

.g3-area {
    margin: 2.99rem 0;
}

.g3-overline {
    font-size: 1.95rem;
}

.g3-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(209px, 1fr));
    gap: 1.8rem;
}

.g3-service {
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    border-radius: 0px;
}

.g3-service h3 {
    margin-top: 0;
    font-size: 1.4rem;
}

.g3-quote {
    font-family: Avenir, Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif;
    font-size: 1.95rem;
    margin: 3.59rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--color-accent);
}

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

.g3-card {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-border);
}

.g3-card ul, .g3-entries ul {
    list-style: none;
    padding: 0;
}

.g3-name {
    margin: 0 0 0.36rem;
    font-size: 1.35rem;
}

.g3-name a {
    color: inherit;
    text-decoration: none;
    border: 0;
}

.g3-info {
    color: var(--color-muted);
    font-size: 0.82rem;
    margin: 0 0 0.48rem;
    font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}

.g3-summary {
    margin: 0;
}

.g3-period {
    font-size: 1.4rem;
    color: var(--color-muted);
    margin: 1.8rem 0 0.48rem;
}

.g3-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 0.99rem;
}

.g3-box {
    margin: 0;
    border: 1px solid var(--color-border);
    border-radius: 0px;
    overflow: hidden;
}

.g3-thumb {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.g3-card-body {
    padding: 0.72rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.g3-article {
    max-width: 615px;
    margin: 0 auto;
}

.g3-article figure {
    margin: 1.8rem 0;
}

.g3-article img {
    border-radius: 0px;
    width: 100%;
}

blockquote {
    margin: 1.8rem 0;
    padding: 0.24rem 1.44rem;
    border-left: 4px solid var(--color-accent);
    color: var(--color-muted);
}

pre {
    background: var(--color-surface);
    padding: 1.2rem;
    overflow-x: auto;
    border-radius: 0px;
    font-size: 0.88rem;
    line-height: 1.5;
}

code {
    font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}

.g3-label {
    display: inline-block;
    margin: 0 0.48rem 0.48rem 0;
    padding: 0.18rem 0.72rem;
    font-size: 0.8rem;
    border-radius: 0px;
    background: var(--color-surface);
    color: var(--color-muted);
}

.g3-more {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    margin: 3.59rem auto 0;
    max-width: 615px;
    padding-top: 1.8rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.92rem;
}

.g3-foot {
    padding: 2.39rem 0;
    color: var(--color-muted);
    font-size: 0.88rem;
    border-top: 1px solid var(--color-border);
}

.g3-foot .g3-shell {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.8rem;
}

.g3-foot p {
    margin: 0 0 0.36rem;
}

@media (max-width: 640px) {
    .g3-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    h1 {
        font-size: 2.72rem;
    }

    .g3-statement {
        font-size: 2.72rem;
    }

}

