.omgro-shell {
    --paper: #f7f3ea;
    --ink: #192d20;
    --secondary: #3b5348;
    --brass: #675439;
    --line: #a2957b;
    --action: #213d2b;
    --action-hover: #345841;
    --serif: Georgia, 'Times New Roman', serif;
    --landscape: url('../img/sage-river-landscape.webp');
    margin: 0;
    min-height: 100vh;
    position: relative;
    isolation: isolate;
    color: var(--ink);
    background: var(--paper);
    font: 100%/1.45 system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.omgro-shell::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: clamp(24rem, 42vw, 39rem);
    background:
        linear-gradient(180deg, #f7f3ea22, #f7f3ea18 52%, var(--paper) 100%),
        var(--landscape) center top / cover no-repeat;
    pointer-events: none;
}

.omgro-shell *, .omgro-shell *::before, .omgro-shell *::after { box-sizing: border-box; }
.omgro-shell :where(h1, h2, p) { margin: 0; }
.omgro-shell a { color: inherit; }
.omgro-shell a:focus-visible { outline: 3px solid #37654d; outline-offset: 3px; }
.page-width { width: min(68rem, calc(100% - clamp(2rem, 7vw, 6rem))); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: .5rem; padding: .6rem .9rem; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); background: #f7f3eae0; }
.site-header__inner { min-height: 3.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.site-header__inner--signed { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); gap: .5rem; }
.site-header__inner--signed > :is(.account-link, .panel-nav) { justify-self: end; }
.wordmark, .account-link { min-height: 2.75rem; display: inline-flex; align-items: center; text-decoration: none; }
.wordmark img { display: block; width: clamp(7.4rem, 12vw, 10rem); height: auto; }
.account-link { padding-inline: .2rem; font-size: .94rem; font-weight: 650; }
.account-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.guest-account-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .55rem; }
.guest-account-nav .account-link--register {
    padding-inline: .7rem;
    border-radius: .35rem;
    background: var(--action);
    color: #fffdf5;
    white-space: nowrap;
}
.guest-account-nav .account-link--register:hover { background: var(--action-hover); }
.funding-links { display: flex; gap: .35rem; }
.funding-links a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    padding: .35rem .68rem;
    border: 1px solid var(--line);
    border-radius: .42rem;
    background: #fbf7ec;
    font-size: .83rem;
    font-weight: 650;
    text-decoration: none;
}
.funding-links a:hover { background: #e9eddf; }

.home-main { padding-top: clamp(1rem, 2.6vw, 1.7rem); }
.home-notice {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .9rem;
    padding: .5rem .75rem;
    border: 1px solid #b69556;
    border-radius: .35rem;
    background: #f9edcf;
    color: #553918;
    font-size: .9rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}
.home-notice::before {
    content: '';
    flex: none;
    width: .44rem;
    height: .44rem;
    margin-inline: .12rem;
    background: #8a5b20;
    transform: rotate(45deg);
}
.home-feedback {
    margin-bottom: .9rem;
    padding: .6rem .8rem;
    border: 1px solid #819378;
    border-radius: .35rem;
    background: #edf2e7;
    color: var(--ink);
    font-size: .9rem;
    overflow-wrap: anywhere;
}
.home-feedback p + p { margin-top: .25rem; }
.home-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .97fr);
    align-items: center;
    gap: 1.25rem;
}
.home-intro h1 { font: 700 clamp(2rem, 4.7vw, 3.6rem)/1.08 var(--serif); letter-spacing: -.038em; }
.home-intro__copy p { margin-top: .3rem; color: var(--secondary); font-size: clamp(.94rem, 1.65vw, 1.12rem); }
.home-intro__illustration { display: block; justify-self: end; width: min(100%, 29rem); }
.home-intro__illustration img { display: block; width: 100%; height: auto; }

.home-divider { display: block; margin: .45rem 0 .4rem; }
.home-divider img { display: block; width: 100%; height: auto; }
.home-divider--upper {
    --rail-position: 79%;
    position: relative;
    background: linear-gradient(#a98b56 0 1px, #4f6067 1px 3px, #766443 3px) center var(--rail-position) / calc(100% - .65rem) 4px no-repeat;
}
.home-divider--upper::before, .home-divider--upper::after {
    content: '';
    position: absolute;
    top: calc(var(--rail-position) - 1px);
    width: .42rem;
    height: .42rem;
    border: 1px solid #786240;
    background: #c1a66d;
    transform: translateY(-50%) rotate(45deg);
}
.home-divider--upper::before { left: .12rem; }
.home-divider--upper::after { right: .12rem; }
.home-divider--upper img { width: clamp(8.25rem, 22vw, 11.25rem); margin-inline: auto; }
.home-story, .server-glance { border: 1px solid var(--line); border-radius: .35rem; }
.home-story { padding: clamp(.75rem, 2vw, 1.25rem) 1rem; background: #fdfaf3e8; text-align: center; }
.home-story h2 { font: 700 clamp(1.125rem, 3vw, 2rem)/1.15 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.home-story h2 span { display: block; }
.home-story h2 span + span { margin-top: .2em; }
.home-story__flourish { display: block; width: 9rem; height: auto; margin: .25rem auto .3rem; }
.home-story p { max-width: 65ch; margin-inline: auto; color: var(--secondary); font-size: .92rem; }
.home-story p + p { margin-top: .3rem; }
.server-glance { margin-top: .8rem; padding: .85rem 1rem; background: #f7f3eae8; }
.server-glance h2 { font: 700 clamp(1.18rem, 2.2vw, 1.42rem)/1.2 var(--serif); }
.server-glance__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.5rem; margin-top: .55rem; }
.server-glance__group h3 { margin: 0 0 .25rem; color: var(--brass); font-size: .84rem; font-weight: 730; }
.server-glance__details { margin: 0; font-size: .84rem; }
.server-glance__details div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: .55rem; padding-block: .24rem; border-top: 1px solid #a2957b40; }
.server-glance__details dt { color: var(--secondary); }
.server-glance__details dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.home-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 9rem));
    justify-content: center;
    gap: clamp(.4rem, 1.5vw, .8rem);
    margin-top: .85rem;
}
.home-action {
    display: flex;
    aspect-ratio: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .35rem;
    border: 1px solid #97845c;
    border-radius: .6rem;
    background: linear-gradient(160deg, #fffcf3, #e9eadb);
    box-shadow: inset 0 0 0 2px #f9f5e8, 0 2px 3px #44331b13;
    font-size: .96rem;
    font-weight: 700;
    line-height: 1.18;
    text-decoration: none;
}
.home-action img { display: block; width: 56%; height: auto; }
.home-action:is(:hover, :focus-visible) { border-color: #657a5b; background: linear-gradient(160deg, #fffdf5, #dce5d4); }
@media (prefers-reduced-motion: no-preference) {
    .home-action, .home-action img { transition: transform 150ms ease-out; }
    .home-action:focus-visible img { transform: scale(1.08); }
    .home-action:active, .home-action:active img { transform: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .home-action:hover { transform: translateY(-2px); }
    .home-action:hover img { transform: scale(1.08); }
    .home-action:active { transform: none; }
}
.home-footer { margin-top: .65rem; padding-bottom: .8rem; }

@media (max-width: 600px) {
    .omgro-shell { --landscape: url('../img/sage-river-landscape-small.webp'); }
    .omgro-shell::before { height: 30rem; }
    .site-header__inner { min-height: 3.15rem; gap: .5rem; }
    .site-header__inner--signed { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .25rem; }
    .site-header__inner--signed .wordmark img { width: clamp(4rem, 22vw, 6.5rem); }
    .site-header__inner--signed .account-link { font-size: .82rem; }
    .guest-account-nav { gap: .35rem; }
    .guest-account-nav .account-link { font-size: .82rem; }
    .guest-account-nav .account-link--register { padding-inline: .45rem; }
    .funding-links { gap: .25rem; }
    .funding-links a { padding-inline: .36rem; font-size: .75rem; }
    .home-intro { grid-template-columns: minmax(0, 1fr); gap: .72rem; }
    .home-intro h1 { font-size: clamp(1.92rem, 7.2vw, 2.4rem); }
    .home-intro__copy p { font-size: .95rem; }
    .home-intro__illustration { width: min(100%, 24rem); justify-self: center; }
    .home-actions { grid-template-columns: repeat(2, minmax(0, 8rem)); }
    .home-action { font-size: .88rem; }
    .server-glance { padding: .7rem .8rem; }
    .server-glance__groups { grid-template-columns: minmax(0, 1fr); }
}
