:root {
    --bg: #0b0d0e;
    --panel: rgba(17, 20, 21, 0.68);
    --panel-strong: rgba(8, 10, 11, 0.82);
    --line: rgba(255, 255, 255, 0.16);
    --text: #f7f4ee;
    --muted: #b9b0a5;
    --orange: #ff5a14;
    --orange-2: #ff8a2a;
    --sand: #d5c2a1;
    --sea: #1f6f7a;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 90, 20, 0.18), transparent 24rem),
        radial-gradient(circle at 86% 28%, rgba(31, 111, 122, 0.16), transparent 22rem),
        linear-gradient(145deg, #070809 0%, #101314 55%, #090a0b 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: 0.24;
    background-image:
        linear-gradient(30deg, rgba(255, 255, 255, 0.045) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.045) 87.5%, rgba(255, 255, 255, 0.045)),
        linear-gradient(150deg, rgba(255, 255, 255, 0.045) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.045) 87.5%, rgba(255, 255, 255, 0.045)),
        linear-gradient(30deg, rgba(255, 255, 255, 0.045) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.045) 87.5%, rgba(255, 255, 255, 0.045)),
        linear-gradient(150deg, rgba(255, 255, 255, 0.045) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.045) 87.5%, rgba(255, 255, 255, 0.045));
    background-position: 0 0, 0 0, 18px 32px, 18px 32px;
    background-size: 36px 64px;
}

a {
    color: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
    border-bottom: 1px solid var(--line);
    background: rgba(5, 6, 7, 0.76);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    text-decoration: none;
}

.brand-mark {
    display: block;
    width: 2.65rem;
    height: 2.65rem;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: #050607;
    box-shadow: 0 0 0 2px rgba(255, 90, 20, 0.26), 0 12px 32px rgba(0, 0, 0, 0.35);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    line-height: 1;
    text-transform: none;
}

.brand small {
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.72rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.7rem, 2vw, 1.6rem);
    color: #efe9df;
    font-size: 0.86rem;
    font-weight: 750;
}

.site-nav a {
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--orange-2);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.55rem 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.site-alert-banner {
    position: fixed;
    top: 4.65rem;
    left: clamp(0.75rem, 3vw, 2rem);
    right: clamp(0.75rem, 3vw, 2rem);
    z-index: 19;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.site-alert-banner[hidden] {
    display: none;
}

.site-alert-banner.is-tide,
.site-alert-banner.is-weather {
    border-color: rgba(255, 90, 20, 0.62);
    background: linear-gradient(135deg, rgba(255, 90, 20, 0.92), rgba(18, 11, 8, 0.94));
}

.site-alert-banner.is-notice {
    border-color: rgba(213, 194, 161, 0.34);
    background: rgba(8, 10, 11, 0.88);
}

.site-alert-banner strong,
.site-alert-banner span {
    display: block;
}

.site-alert-banner strong {
    color: #fff;
    font-size: 0.88rem;
    text-transform: uppercase;
}

.site-alert-banner span {
    color: #f8eadc;
    font-size: 0.9rem;
}

.site-alert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.hero {
    position: relative;
    min-height: 86svh;
    display: grid;
    align-items: center;
    padding: 7rem clamp(1rem, 6vw, 5rem) 4rem;
    overflow: hidden;
}

.subhero {
    position: relative;
    min-height: 56svh;
    display: grid;
    align-items: end;
    padding: 8rem clamp(1rem, 6vw, 5rem) 4rem;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5, 6, 7, 0.9), rgba(5, 6, 7, 0.58)),
        linear-gradient(0deg, var(--bg), transparent 50%),
        url("images/li4x4-hero.png") center / cover;
}

.subhero h1 {
    max-width: 12ch;
}

.pass-hero {
    background-position: center 62%;
}

.contact-hero {
    background-position: center 48%;
}

.gear-hero {
    background-position: center 54%;
}

.faq-hero {
    background-position: center 44%;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("images/li4x4-hero.png");
    background-size: cover;
    background-position: center;
    filter: saturate(0.95) contrast(1.08);
    transform: scale(1.02);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(5, 6, 7, 0.92) 0%, rgba(5, 6, 7, 0.62) 42%, rgba(5, 6, 7, 0.2) 100%),
        linear-gradient(0deg, var(--bg) 0%, transparent 32%),
        repeating-linear-gradient(-10deg, rgba(255, 90, 20, 0.18) 0 2px, transparent 2px 14px);
    mix-blend-mode: normal;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--orange-2);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.02;
}

h1 {
    max-width: 13ch;
    font-size: clamp(2.85rem, 7vw, 5.7rem);
    text-transform: uppercase;
}

h2 {
    font-size: clamp(2rem, 5vw, 4.6rem);
    text-transform: uppercase;
}

h3 {
    font-size: 1.35rem;
}

.lede {
    max-width: 43rem;
    margin: 1rem 0 0;
    color: #efe7dc;
    font-size: clamp(1rem, 2vw, 1.24rem);
}

.hero-actions,
.join-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.button {
    display: inline-flex;
    min-height: 2.85rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 0.78rem 1.05rem;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.button.primary {
    border-color: rgba(255, 90, 20, 0.74);
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    color: #160905;
}

.button.ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    backdrop-filter: blur(10px);
}

.button.compact {
    min-height: 2.55rem;
    padding: 0.6rem 0.85rem;
}

.button:disabled,
.button.is-disabled {
    cursor: default;
    opacity: 0.68;
}

.glass {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.quick-panel {
    position: absolute;
    right: clamp(1rem, 5vw, 4rem);
    bottom: 2rem;
    z-index: 3;
    width: min(24rem, calc(100% - 2rem));
    border-radius: 8px;
    padding: 1.1rem;
}

.quick-panel span,
.quick-panel small {
    color: var(--muted);
}

.quick-panel strong {
    display: block;
    margin: 0.15rem 0;
    color: #fff;
    font-size: 1.2rem;
}

.section {
    padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 5vw, 4rem);
}

.intro-grid,
.map-section,
.join-band {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.intro-copy {
    columns: 2 18rem;
    color: var(--muted);
    font-size: 1.04rem;
}

.section-heading {
    max-width: 52rem;
    margin-bottom: 1.65rem;
}

.conditions-band,
.news-section,
.matrix-section {
    background:
        linear-gradient(rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035)),
        linear-gradient(135deg, rgba(255, 90, 20, 0.11), rgba(31, 111, 122, 0.08));
}

.notice-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    border-radius: 8px;
    padding: 1rem 1.1rem;
}

.notice-strip strong {
    color: var(--orange-2);
    text-transform: uppercase;
}

.notice-strip span {
    color: var(--muted);
}

.pass-section {
    padding-top: 1rem;
}

.start-section {
    padding-top: 1rem;
}

.flow-grid,
.guide-tools {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.flow-step {
    position: relative;
    min-height: 15rem;
    border-radius: 8px;
    padding: 1.2rem;
}

.flow-step span {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 90, 20, 0.42);
    border-radius: 50%;
    background: rgba(255, 90, 20, 0.14);
    color: var(--orange-2);
    font-weight: 950;
}

.flow-step p,
.tool-copy,
.tool-result p,
.recommendation p,
.recommendation li {
    color: var(--muted);
}

.guide-tools {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
    padding-top: 1rem;
}

.wizard-card {
    border-radius: 8px;
    padding: 1.2rem;
}

.wizard-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 0.75rem;
    align-items: end;
    margin: 1.2rem 0;
}

.wizard-form label {
    display: grid;
    gap: 0.4rem;
    color: var(--sand);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tool-result {
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.22);
    color: var(--muted);
}

.recommendation > span {
    color: var(--orange-2);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.recommendation h3 {
    margin: 0.35rem 0 0.6rem;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 1rem 0;
}

.mini-grid > div {
    border-top: 1px solid var(--line);
    padding-top: 0.75rem;
}

.mini-grid strong {
    display: block;
    color: var(--sand);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.mini-grid ul {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
}

.pass-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.pass-card {
    display: grid;
    gap: 1rem;
    border-radius: 8px;
    padding: 1.2rem;
}

.pass-card > span {
    color: var(--orange-2);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.pass-card dl {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.pass-card dt {
    color: var(--sand);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.pass-card dd {
    margin: 0.15rem 0 0;
    color: var(--muted);
}

.pass-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-self: end;
}

.table-shell {
    overflow-x: auto;
    border-radius: 8px;
}

.pass-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.pass-table th,
.pass-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.pass-table th {
    color: var(--orange-2);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.pass-table td {
    color: var(--muted);
}

.pass-table td:first-child {
    color: var(--text);
    font-weight: 850;
}

.pass-table a {
    color: var(--orange-2);
    font-weight: 900;
    text-decoration: none;
}

.rules-section {
    padding-top: 1rem;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.rules-card {
    border-radius: 8px;
    padding: 1.2rem;
}

.rules-card > span {
    color: var(--orange-2);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.rules-card h3 {
    margin: 0.45rem 0 0.8rem;
}

.rules-card p,
.rules-card li {
    color: var(--muted);
}

.rules-card .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gear-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
    padding-top: 1rem;
}

.gear-copy {
    position: sticky;
    top: 7rem;
}

.gear-copy p,
.gear-kit p,
.gear-card p {
    color: var(--muted);
}

.gear-kit-grid,
.gear-grid {
    display: grid;
    gap: 1rem;
}

.gear-kit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gear-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gear-kit,
.gear-card {
    border-radius: 8px;
    padding: 1.2rem;
}

.gear-card {
    display: grid;
    gap: 0.8rem;
    align-content: start;
    min-height: 17rem;
}

.gear-kit span,
.gear-card span {
    color: var(--orange-2);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gear-card .button {
    align-self: end;
}

.gear-alt {
    background:
        linear-gradient(rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035)),
        linear-gradient(135deg, rgba(255, 90, 20, 0.11), rgba(31, 111, 122, 0.08));
}

.conditions-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    max-width: 760px;
    margin-bottom: 1rem;
    border-radius: 8px;
    padding: 0.75rem;
}

.conditions-toolbar label {
    color: var(--muted);
    font-weight: 800;
}

select {
    min-width: min(18rem, 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.68rem 0.8rem;
    background: rgba(0, 0, 0, 0.42);
    color: var(--text);
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.78rem 0.85rem;
    background: rgba(0, 0, 0, 0.42);
    color: var(--text);
    font: inherit;
}

textarea {
    resize: vertical;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.contact-copy {
    position: sticky;
    top: 7rem;
}

.contact-copy p {
    color: var(--muted);
}

.contact-detail {
    display: grid;
    gap: 0.2rem;
    margin-top: 1.4rem;
    border-radius: 8px;
    padding: 1rem;
}

.contact-detail span {
    color: var(--orange-2);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-detail a {
    color: var(--text);
    font-weight: 850;
    text-decoration: none;
}

.contact-form {
    position: relative;
    display: grid;
    gap: 1rem;
    border-radius: 8px;
    padding: clamp(1rem, 3vw, 1.5rem);
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--sand);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-message {
    border-radius: 8px;
    padding: 0.9rem 1rem;
}

.form-message.success {
    border: 1px solid rgba(95, 220, 147, 0.34);
    background: rgba(33, 134, 83, 0.2);
}

.form-message.error {
    border: 1px solid rgba(255, 90, 20, 0.48);
    background: rgba(255, 90, 20, 0.12);
}

.form-message ul {
    margin: 0.45rem 0 0;
    padding-left: 1.2rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.auth-page {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 6rem 1rem;
}

.auth-card {
    width: min(34rem, 100%);
    border-radius: 8px;
    padding: clamp(1.2rem, 4vw, 2rem);
}

.auth-brand {
    margin-bottom: 1.5rem;
}

.auth-card h1 {
    max-width: none;
    margin-bottom: 1rem;
    font-size: clamp(2.1rem, 6vw, 3.6rem);
}

.auth-card p,
.auth-links {
    color: var(--muted);
}

.auth-links a {
    color: var(--orange-2);
    font-weight: 850;
    text-decoration: none;
}

.admin-shell {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 1rem;
    padding: 7rem clamp(1rem, 4vw, 3rem) 3rem;
}

.admin-sidebar,
.admin-panel {
    border-radius: 8px;
    padding: 1rem;
}

.admin-sidebar {
    position: sticky;
    top: 6rem;
    align-self: start;
    display: grid;
    gap: 0.35rem;
}

.admin-sidebar a {
    border-radius: 8px;
    padding: 0.7rem 0.8rem;
    color: var(--text);
    font-weight: 850;
    text-decoration: none;
}

.admin-sidebar a.is-active,
.admin-sidebar a:hover {
    background: rgba(255, 90, 20, 0.18);
    color: var(--orange-2);
}

.admin-panel h1 {
    max-width: none;
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.admin-stat-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.18);
}

.admin-stat-grid strong {
    display: block;
    color: var(--orange-2);
    font-size: 2.2rem;
}

.admin-stat-grid span {
    color: var(--muted);
    font-weight: 850;
    text-transform: uppercase;
}

.admin-editor {
    margin-bottom: 1.5rem;
}

.check-label {
    align-self: end;
}

.content-page {
    width: min(58rem, calc(100% - 2rem));
    margin: 4rem auto;
    border-radius: 8px;
}

.faq-section {
    display: grid;
    gap: 4rem;
}

.faq-list {
    display: grid;
    gap: 0.8rem;
}

.comms-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: -0.5rem 0 1rem;
}

.faq-item {
    border-radius: 8px;
    padding: 1rem 1.15rem;
}

.faq-item summary {
    cursor: pointer;
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 900;
}

.faq-item p {
    margin: 0.8rem 0 0;
    color: var(--muted);
}

.links-page {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(2rem, 6vw, 4rem) 1rem;
}

.links-card {
    width: min(34rem, 100%);
    border-radius: 8px;
    padding: clamp(1.1rem, 4vw, 1.8rem);
    text-align: center;
}

.links-logo {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 90, 20, 0.34), 0 20px 55px rgba(0, 0, 0, 0.38);
}

.links-card h1 {
    max-width: none;
    margin-top: 0.7rem;
    font-size: clamp(2.3rem, 7vw, 4rem);
}

.links-card p {
    color: var(--muted);
}

.links-qr {
    display: grid;
    place-items: center;
    gap: 0.6rem;
    margin: 1rem auto 1.2rem;
}

.links-qr img {
    width: min(17rem, 76vw);
    border-radius: 8px;
    padding: 0.65rem;
    background: #fff;
}

.links-qr span {
    color: var(--muted);
    font-size: 0.8rem;
}

.link-button-list {
    display: grid;
    gap: 0.7rem;
    text-align: left;
}

.link-button {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font: inherit;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
}

.link-button:hover,
.link-button:focus-visible {
    border-color: rgba(255, 90, 20, 0.6);
    background: rgba(255, 90, 20, 0.14);
}

.link-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    color: #160905;
    font-size: 0.72rem;
    font-weight: 950;
}

.link-button strong {
    color: var(--text);
    font-size: 1rem;
}

.comms-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.comms-strip span {
    border: 1px solid rgba(255, 90, 20, 0.32);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    color: var(--orange-2);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.conditions-grid,
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.condition-card,
.beach-card,
.post-card,
.event-row {
    border-radius: 8px;
    padding: 1.2rem;
}

.condition-card span,
.beach-card span,
.post-card span,
.event-row span,
.event-row time small {
    color: var(--orange-2);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.condition-card strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.35rem;
}

.condition-card p,
.beach-card p,
.post-card p,
.event-row p,
.map-copy p,
.site-footer p {
    color: var(--muted);
}

.beach-card {
    min-height: 19rem;
}

.beach-card h3,
.post-card h3 {
    margin: 0.45rem 0 0.8rem;
}

.status-row {
    display: grid;
    gap: 0.4rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.status-row small {
    color: var(--muted);
}

.map-copy {
    max-width: 36rem;
}

.map-frame {
    height: min(68vh, 42rem);
    min-height: 24rem;
    overflow: hidden;
    border-radius: 8px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(0.9) contrast(1.05);
}

.timeline {
    display: grid;
    gap: 0.85rem;
}

.event-row {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr) minmax(8rem, 16rem);
    gap: 1rem;
    align-items: center;
}

.event-row time {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 950;
    text-transform: uppercase;
}

.event-row time small {
    display: block;
}

.post-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
}

.post-card time {
    display: block;
    color: var(--sand);
    font-size: 0.86rem;
}

.join-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(100deg, rgba(255, 90, 20, 0.2), transparent 58%),
        rgba(0, 0, 0, 0.38);
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.7fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(255, 90, 20, 0.12), transparent 42%),
        #080a0b;
}

.footer-brand {
    max-width: 34rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text);
    text-decoration: none;
}

.footer-logo img {
    width: 4rem;
    height: 4rem;
    border: 1px solid rgba(255, 90, 20, 0.42);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.footer-logo strong,
.site-footer strong {
    display: block;
    text-transform: none;
}

.footer-logo small {
    display: block;
    margin-top: 0.12rem;
    color: var(--muted);
    font-weight: 800;
}

.site-footer p {
    color: var(--muted);
}

.footer-app-card {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(255, 90, 20, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.footer-app-card p {
    max-width: 26rem;
    margin: 0.25rem 0 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(8rem, 1fr));
    gap: 1.5rem;
}

.site-footer span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--orange-2);
    font-weight: 900;
    text-transform: uppercase;
}

.site-footer a {
    display: block;
    color: var(--text);
    text-decoration: none;
}

.site-footer a + a {
    margin-top: 0.3rem;
}

.footer-text-button {
    display: block;
    margin-top: 0.3rem;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.social-icon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.site-footer .social-icon-row a {
    display: grid;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
    border: 1px solid rgba(255, 90, 20, 0.32);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: var(--orange-2);
    font-size: 0.66rem;
    font-weight: 950;
    text-decoration: none;
}

.site-footer .social-icon-row a + a {
    margin-top: 0;
}

.site-footer .social-icon-row a:hover,
.site-footer .social-icon-row a:focus-visible {
    background: rgba(255, 90, 20, 0.16);
}

.install-help {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 80;
    width: min(28rem, calc(100vw - 2rem));
    padding: 1rem;
    border-radius: 8px;
    background: rgba(8, 10, 11, 0.94);
    color: var(--text);
}

.install-help strong {
    display: block;
    padding-right: 2rem;
}

.install-help p {
    margin: 0.5rem 0;
    color: var(--muted);
}

.install-help ul {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    color: var(--sand);
}

.install-help li + li {
    margin-top: 0.4rem;
}

.install-help-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    cursor: pointer;
}

@media (max-width: 860px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1rem 1rem;
        border-bottom: 1px solid var(--line);
        background: rgba(5, 6, 7, 0.94);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 0.8rem 0;
    }

    .site-alert-banner {
        top: 4.8rem;
        flex-direction: column;
        align-items: stretch;
    }

    .hero {
        min-height: 88svh;
        padding-top: 7.5rem;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(5, 6, 7, 0.92), rgba(5, 6, 7, 0.52)),
            linear-gradient(0deg, var(--bg), transparent 38%);
    }

    .quick-panel {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 2rem;
    }

    .intro-grid,
    .map-section,
    .join-band,
    .contact-section,
    .gear-layout,
    .admin-shell,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-sidebar {
        position: static;
    }

    .contact-copy,
    .gear-copy {
        position: static;
    }

    .conditions-grid,
    .card-grid,
    .pass-card-grid,
    .rules-grid,
    .flow-grid,
    .gear-grid,
    .gear-kit-grid,
    .guide-tools,
    .wizard-form,
    .mini-grid {
        grid-template-columns: 1fr;
    }

    .event-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-app-card {
        align-items: stretch;
        flex-direction: column;
    }

    .pass-table,
    .pass-table thead,
    .pass-table tbody,
    .pass-table tr,
    .pass-table th,
    .pass-table td {
        display: block;
        min-width: 0;
    }

    .pass-table thead {
        display: none;
    }

    .pass-table tr {
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--line);
    }

    .pass-table td {
        display: grid;
        grid-template-columns: 9rem minmax(0, 1fr);
        gap: 0.75rem;
        border: 0;
        padding: 0.45rem 1rem;
    }

    .pass-table td::before {
        content: attr(data-label);
        color: var(--orange-2);
        font-size: 0.72rem;
        font-weight: 900;
        text-transform: uppercase;
    }
}

@media (max-width: 520px) {
    .brand small {
        display: none;
    }

    h1 {
        font-size: 3.1rem;
    }

    .conditions-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    select,
    input,
    textarea,
    .conditions-toolbar .button {
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}
