/* Keep the public home in the site's graphite, chalk and brass palette. */
.home-composition {
    --home-muted: var(--chalk-300);
    position: relative;
    isolation: isolate;
    background-color: var(--iron-950);
    background-image: none;
}
.home-composition .hero {
    min-height: 740px;
    min-height: clamp(700px, 78svh, 840px);
    align-items: stretch;
    background: var(--iron-950);
}
.home-composition .hero::before {
    inset: 0 0 0 18%;
    background-position: 50% 55%;
    opacity: 1;
    mask-image: linear-gradient(90deg, transparent, #000 28%);
}
.home-composition .hero::after {
    background: linear-gradient(90deg, var(--iron-950), #131315db 26%, #13131555 56%, #13131500 80%), linear-gradient(180deg, #131315a6, #13131500 22%), linear-gradient(0deg, var(--iron-950), #131315a6 12%, #13131500 48%);
    opacity: 1;
}
.home-composition .hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 2.75rem;
    padding-block: 9rem 4rem;
}
.home-composition .hero__copy {
    max-width: 38rem;
    width: 56%;
    text-align: left;
}
/* Align the W, not the projecting sword handle, to the text column. */
.home-composition .hero h1 { width: 116%; margin: 0 0 0 -12.6%; line-height: 1; }
.home-wordmark { display: block; width: 100%; height: auto; image-rendering: pixelated; filter: drop-shadow(0 8px 16px #0007); }
.home-composition .hero__copy > p {
    max-width: 35rem;
    margin: 2rem 0 0;
    color: var(--chalk-100);
    font: 400 clamp(1.35rem, 2vw, 1.7rem)/1.45 var(--serif);
    text-wrap: pretty;
    text-shadow: 0 2px 12px #0009;
}
.home-composition .hero__actions { justify-content: start; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.home-composition .hero__actions .button { min-height: 3.5rem; padding-inline: 1.75rem; background: var(--coin-500); color: #1a1508; border: 0; }
.home-composition .hero__actions .button:hover { background: var(--coin-300); }
.hero__secondary { min-height: 3.5rem; padding-block: .8rem; color: var(--chalk-100); text-decoration: underline; text-decoration-color: #b9b8b466; text-underline-offset: 5px; }
.hero__secondary:hover { color: var(--coin-300); }
.hero__secondary svg { width: 20px; height: 20px; }
.home-live { display: flex; flex-direction: column; align-items: start; gap: .2rem; max-width: 35rem; scroll-margin-top: 7rem; }
.home-live__season { min-width: 0; }
.home-live h2 { margin: 0; color: var(--chalk-100); font: 500 1.5rem/1.4 var(--serif); overflow-wrap: anywhere; }
.home-live__pass { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .8rem; color: var(--chalk-300); font-size: .9rem; }
.home-live__pass p { margin: 0; }
.home-live__pass small { display: block; max-width: 30rem; font-size: .875rem; }
.home-live__pass .text-link { font-size: .9rem; text-decoration-color: #c9b88866; text-underline-offset: 4px; }
.home-live__price { margin-left: .5rem; color: var(--coin-300); white-space: nowrap; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: start; gap: 1.75rem 3rem; width: 100%; }
.home-live__server { display: flex; flex-direction: column; align-items: start; flex: none; gap: 0; }
.home-caption { display: inline-flex; align-items: center; gap: .5rem; color: var(--chalk-300); font: .9rem/1.5 var(--ui); }
.home-live__server .hero__server-dot { width: 5px; height: 5px; box-shadow: none; }
.home-address { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: .35rem 0; border: 0; background: none; cursor: pointer; color: var(--chalk-100); font-size: .95rem; }
.home-address svg { width: 14px; height: 14px; color: var(--chalk-300); }
.home-address:hover { color: var(--coin-300); }
.home-content { position: relative; background: none; }
.home-section-head h2 { margin: 0; font: 500 clamp(2.6rem, 4vw, 3.75rem)/1.04 var(--serif); letter-spacing: -.025em; }
.home-section-head .text-link { font-size: .95rem; flex: none; padding-block: .65rem; text-underline-offset: 5px; }
.home-section-head p { margin: 1.25rem 0 0; color: var(--home-muted); font-size: .95rem; line-height: 1.6; text-wrap: pretty; }

/* The flags are the objects on display, without individual card frames. */
.home-banners { position: relative; padding-block: 4.5rem 5.5rem; }
.home-factions-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.home-banners .home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.home-banners .home-section-head h2 { font-size: 3.2rem; }
.home-banner-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
.home-banner-gallery:has(> :only-child) { grid-template-columns: minmax(0, 22rem); }
.home-banner-gallery:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 22rem)); }
.home-standard { min-width: 0; position: relative; }
.home-banner-link { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.home-banner-link .faction-standard { width: 100%; max-width: 288px; align-self: center; }
.home-banner-caption { display: flex; flex-direction: column; flex: 1; margin-top: 1.1rem; }
.home-banner-caption h3 { display: flex; align-items: baseline; gap: .5rem; margin: 0; font: 500 clamp(1.6rem, 2.1vw, 1.9rem)/1.1 var(--serif); overflow-wrap: anywhere; transition: color .2s; }
.home-banner-caption h3 > span { min-width: 0; }
.home-banner-caption h3 > svg { display: none; }
.home-banner-caption > p { color: var(--chalk-300); font: 1.07rem/1.45 var(--serif); margin: .75rem 0 1.1rem; overflow-wrap: anywhere; }
.home-banner-caption .faction-meta { margin-top: auto; padding-top: .5rem; font-size: .9rem; gap: .5rem .9rem; }
.home-banner-caption .recruitment-state { font-size: .9rem; }
.home-banner-caption .faction-member-count svg { width: 16px; height: 16px; }
.home-banner-link:hover h3 { color: var(--coin-300); }
.home-banner-link:focus-visible { outline: 2px solid var(--coin-300); outline-offset: 8px; }
.home-banners__empty { color: var(--home-muted); font: 1.25rem/1.5 var(--serif); padding-block: 3rem; }
#home-factions-title { scroll-margin-top: 7rem; }

/* One section heading; covers retain their original proportions. */
.home-journal { position: relative; }
.home-editorial { padding-block: 2rem 6rem; }
.home-journal .home-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.home-journal .home-section-head .text-link { color: var(--chalk-300); text-decoration-color: #a99a6c70; }
.home-journal__layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.home-journal__stories { display: flex; flex-direction: column; min-width: 0; }
.home-story { display: block; color: inherit; text-decoration: none; min-width: 0; }
.home-story:not(:last-child) { padding-bottom: 1.75rem; border-bottom: 1px solid var(--iron-700); }
.home-story + .home-story { padding-top: 1.75rem; }
.home-story:not(.home-story--lead) h3 { font-size: 1.65rem; }
.home-story:only-child { max-width: 44rem; }
.home-story__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--chalk-300); }
.home-story__meta svg { transition: transform .2s; }
.home-story time { font: .85rem/1.5 var(--ui); }
.home-story h3 { font: 500 clamp(1.8rem, 2.5vw, 2.25rem)/1.12 var(--serif); letter-spacing: -.015em; margin: .85rem 0 0; text-wrap: pretty; overflow-wrap: anywhere; }
.home-story--lead h3 { font-size: clamp(2rem, 2.8vw, 2.5rem); }
.home-story p { max-width: 36rem; font-size: 1rem; line-height: 1.6; color: var(--chalk-300); margin: .9rem 0 0; }
.home-story__image { display: block; margin: 0; overflow: hidden; }
.home-story__image img { display: block; width: 100%; height: auto; transition: filter .35s; }
.home-story:hover .home-story__meta svg { transform: translateX(4px); }
.home-story:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.home-story__image:hover img { filter: brightness(1.035); }
.home-journal__empty { color: var(--chalk-300); padding-block: 1.5rem; }
.home-journal__layout:not(:has(.home-story__image)) { display: block; }
.home-editorial:not(:has(.home-story__image)) .home-section-head { flex-direction: row; justify-content: space-between; margin-bottom: 2.5rem; }
.home-editorial:not(:has(.home-story__image)) .home-journal__stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.home-editorial:not(:has(.home-story__image)) .home-story { grid-area: auto; padding: 0; border: 0; }
.home-editorial:not(:has(.home-story__image)) .home-story:only-child { grid-column: 1 / -1; }
.home-composition a:focus-visible, .home-composition button:focus-visible { outline: 2px solid var(--coin-300); outline-offset: 5px; }
.home-composition + .site-footer { background: var(--iron-950); }
.home-composition + .site-footer nav { font-size: .9rem; }

@media (max-width: 1279px) {
    .home-composition .hero h1 { width: 100%; margin: 0; }
}
@media (max-width: 1100px) {
    .home-composition .hero__copy { width: 65%; }
    .home-composition .hero::before { inset-inline-start: 6%; }
    .home-factions-layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .home-banners .home-section-head { flex-direction: row; align-items: end; justify-content: space-between; gap: 2rem; }
    .home-banners .home-section-head h2 { font-size: 3rem; }
    .home-section-head p { margin-top: .75rem; }
    .home-banner-gallery { gap: 2rem; }
    .home-banner-caption h3 { font-size: 1.9rem; }
    .hero__foot { align-items: end; }
    .home-live__server { flex-direction: column; align-items: start; gap: 0; }
}
@media (min-width: 651px) and (max-width: 900px) {
    .home-journal__layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .home-journal__stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
    .home-story--lead { grid-column: 1 / -1; }
    .home-story:not(:last-child) { border: 0; padding: 0; }
    .home-story + .home-story { border-top: 1px solid var(--iron-700); padding-top: 1.5rem; }
}
@media (max-width: 650px) {
    .home-composition .hero { min-height: auto; }
    .home-composition .hero::before { inset: 0; background-position: 56% 50%; mask-image: none; opacity: .72; }
    .home-composition .hero::after { background: linear-gradient(90deg, #131315b3, #13131526), linear-gradient(0deg, var(--iron-950), #13131500 80%); }
    .home-composition .hero__inner { padding-block: 10rem 2.5rem; gap: 3rem; }
    .home-composition .hero__copy { width: 100%; }
    .home-composition .hero h1 { width: 100%; margin: 0; }
    .home-composition .hero__copy > p { font-size: 1.45rem; line-height: 1.4; margin-top: 2rem; }
    .home-composition .hero__actions { gap: .75rem; }
    .home-composition .hero__actions .button, .hero__secondary { min-height: 3.25rem; }
    .hero__secondary { padding-inline: 0; }
    .home-live { flex-direction: column; align-items: start; gap: .25rem; }
    .home-live h2 { font-size: 1.3rem; }
    .home-live__pass { gap: .2rem .6rem; }
    .hero__foot { flex-direction: column; align-items: start; gap: 1.5rem; }
    .home-live__server { flex-direction: row; justify-content: start; align-items: center; flex-wrap: wrap; gap: 0 1rem; }
    .home-caption { font-size: .875rem; }
    .home-address { font-size: .95rem; }
    .home-banners { padding-block: 2.5rem 3.5rem; }
    .home-banners .home-section-head { flex-wrap: wrap; gap: .5rem 1rem; }
    .home-banners .home-section-head h2 { font-size: 2.6rem; }
    .home-section-head p { font-size: .9rem; }
    .home-factions-layout { gap: 2rem; }
    .home-banner-gallery, .home-banner-gallery:has(> :only-child), .home-banner-gallery:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
    .home-banner-link { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: .65rem 1.25rem; align-items: center; }
    .home-banner-link .faction-standard { width: 128px; grid-column: 1; grid-row: 1 / 3; padding-bottom: 16px; }
    .home-banner-caption { display: contents; }
    .home-banner-caption h3 { grid-column: 2; align-self: end; font-size: 1.8rem; }
    .home-banner-caption > p { grid-column: 2; margin: 0; align-self: start; font-size: 1.1rem; }
    .home-banner-caption .faction-meta { grid-column: 2; margin: 0; padding: .35rem 0 0; font-size: .875rem; gap: .35rem .75rem; }
    .home-standard[data-long-name] .home-banner-caption h3 { font-size: 1.5rem; }
    .home-standard[data-long-name] .faction-standard { grid-row: 1; }
    .home-standard[data-long-name] .home-banner-caption h3 { align-self: center; }
    .home-standard[data-long-name] .home-banner-caption > p { grid-column: 1 / -1; margin-top: .5rem; }
    .home-standard[data-long-name] .faction-meta { grid-column: 1 / -1; justify-content: start; }
    .home-journal .home-section-head, .home-editorial:not(:has(.home-story__image)) .home-section-head { flex-direction: row; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.75rem; }
    .home-journal .home-section-head h2 { font-size: 2.6rem; }
    .home-editorial { display: block; padding-block: 2.75rem 3rem; }
    .home-journal__layout { display: block; }
    .home-story__image { margin-bottom: 1.5rem; }
    .home-journal__stories, .home-editorial:not(:has(.home-story__image)) .home-journal__stories { display: flex; flex-direction: column; gap: 0; }
    .home-story--lead { margin-bottom: 0; }
    .home-story--lead h3 { font-size: 2.2rem; }
    .home-story:not(.home-story--lead), .home-editorial:not(:has(.home-story__image)) .home-story:not(.home-story--lead) { padding-block: 1.5rem; }
    .home-story:last-child { padding-bottom: 0; }
    .home-story h3 { font-size: 1.8rem; }
    .home-story p { font-size: .95rem; }
}
@media (max-width: 360px) {
    .home-banner-link { grid-template-columns: 100px minmax(0, 1fr); gap: .65rem 1rem; }
    .home-banner-link .faction-standard { width: 100px; }
    .home-banner-caption h3 { font-size: 1.55rem; }
    .home-banner-caption > p { font-size: 1rem; }
    .home-banner-caption .faction-meta { grid-column: 1 / -1; justify-content: end; }
}
@media (prefers-reduced-motion: reduce) {
    .home-composition .hero__actions .button, .hero__secondary, .home-story__image img, .home-story__meta svg, .home-banner-caption h3, .home-standard::before { transition: none; }
}
