:root {
    --ink: #171326;
    --muted: #667085;
    --line: #e4e7ec;
    --paper: #fffdf8;
    --soft: #f5f4f1;
    --night: #171326;
    --plum: #35124a;
    --blue: #1464c8;
    --cyan: #00a7c8;
    --teal: #009b93;
    --teal-dark: #066b66;
    --magenta: #d50a6f;
    --rose: #e11d48;
    --orange: #ff6b1a;
    --amber: #ffbf2e;
    --green: #33a13b;
    --danger: #dc2626;
    --shadow: 0 22px 60px rgba(23, 19, 38, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(255, 191, 46, 0.08) 0 12%, transparent 12% 100%),
        linear-gradient(315deg, rgba(0, 167, 200, 0.1) 0 16%, transparent 16% 100%),
        var(--soft);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

main {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
    padding: 10px max(5vw, calc((100vw - 1180px) / 2));
    background: rgba(255, 253, 248, 0.94);
    border-bottom: 4px solid var(--magenta);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 26px rgba(23, 19, 38, 0.08);
    transition: background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease, border-color 180ms ease;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 4px;
    background: linear-gradient(90deg, var(--magenta), var(--orange), var(--amber), var(--teal), var(--blue), var(--plum));
    opacity: 1;
    transition: opacity 180ms ease;
}

.public-body .site-header {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

.public-body .site-header.is-at-top {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.public-body .site-header.is-at-top::after {
    opacity: 0;
}

.public-body .site-header.is-at-top .brand strong,
.public-body .site-header.is-at-top .nav-actions a {
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
}

.public-body .site-header.is-at-top .brand small {
    color: rgba(255, 255, 255, 0.76);
}

.public-body .site-header.is-at-top .nav-actions a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-wordmark {
    width: 150px;
    max-width: 34vw;
    height: 44px;
    object-fit: contain;
    object-position: left center;
    flex: 0 0 auto;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--teal), var(--rose));
    color: #fff;
    font-weight: 900;
}

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

.brand-text {
    min-width: 0;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-actions a,
.link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--muted);
    background: transparent;
    font-weight: 700;
}

.nav-actions a:hover,
.link-button:hover {
    color: var(--ink);
    background: #f0ecf7;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 720px) minmax(260px, 360px);
    align-items: end;
    justify-content: space-between;
    column-gap: 64px;
    min-height: 610px;
    padding: 82px max(5vw, calc((100vw - 1180px) / 2)) 76px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 78% 28%, rgba(255, 107, 26, 0.26), transparent 32%),
        linear-gradient(120deg, rgba(10, 9, 19, 0.96), rgba(30, 15, 53, 0.92) 52%, rgba(4, 55, 78, 0.88)),
        url("hut18-hero.png");
    background-position: center;
    background-size: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("logo-hut18-vertical-transparent.png");
    background-position: calc(100% + 74px) center;
    background-repeat: no-repeat;
    background-size: min(590px, 42vw);
    opacity: 0.11;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 88px;
    background: linear-gradient(0deg, rgba(245, 244, 241, 0.98), rgba(245, 244, 241, 0));
    pointer-events: none;
}

.hero-geo {
    position: absolute;
    z-index: 1;
    width: 160px;
    height: 260px;
    opacity: 0.9;
    pointer-events: none;
}

.hero-geo::before,
.hero-geo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 0 34%, var(--orange) 34% 50%, transparent 50% 100%),
        linear-gradient(45deg, var(--magenta) 0 24%, transparent 24% 100%),
        linear-gradient(135deg, transparent 0 58%, var(--teal) 58% 78%, transparent 78% 100%),
        linear-gradient(45deg, transparent 0 68%, var(--amber) 68% 82%, transparent 82% 100%);
    clip-path: polygon(0 0, 100% 18%, 70% 100%, 0 78%);
}

.hero-geo::after {
    inset: 54px 30px auto auto;
    width: 74px;
    height: 74px;
    background: var(--paper);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.hero-geo-left {
    left: -108px;
    bottom: 84px;
    transform: rotate(-8deg);
}

.hero-geo-right {
    right: -54px;
    top: 122px;
    transform: rotate(180deg);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(720px, 100%);
    padding: 0;
}

.hero-logo {
    display: block;
    width: min(460px, 100%);
    height: auto;
    margin-bottom: 20px;
    filter:
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.28))
        drop-shadow(0 16px 26px rgba(0, 0, 0, 0.34));
}

.event-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0 0 14px;
    padding: 6px 10px;
    border-left: 5px solid var(--amber);
    background: rgba(213, 10, 111, 0.9);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--rose);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero .eyebrow {
    color: #62e7df;
}

.hero-title-top,
.hero-title-bottom {
    display: block;
}

.hero h1,
.login-panel h1,
.admin-panel h1 {
    margin: 0;
    font-size: 3.15rem;
    line-height: 1;
    letter-spacing: 0;
}

.hero-copy {
    width: min(600px, 100%);
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 900;
    line-height: 1.1;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--magenta);
    color: #fff;
    box-shadow: 0 12px 28px rgba(213, 10, 111, 0.34);
}

.button-primary:hover {
    background: #b2085d;
}

.button-ghost {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.button-download {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 155, 147, 0.2);
}

.button-download:hover {
    background: var(--teal-dark);
}

.button-light {
    background: #eef3f5;
    color: var(--ink);
}

.button-light:hover {
    background: #dfe7eb;
}

.button-danger {
    background: #fff1f2;
    color: var(--danger);
    border-color: #fecdd3;
}

.button-danger:hover {
    background: #ffe4e6;
}

.hero-metrics {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(18, 12, 30, 0.84);
    color: #fff;
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.hero-metrics div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.04);
}

.hero-metrics div:nth-child(1) {
    border-left: 5px solid var(--orange);
}

.hero-metrics div:nth-child(2) {
    border-left: 5px solid var(--cyan);
}

.hero-metrics div:nth-child(3) {
    border-left: 5px solid var(--amber);
}

.hero-metrics strong,
.hero-metrics span {
    display: block;
}

.hero-metrics strong {
    font-size: 2rem;
    line-height: 1;
}

.hero-metrics span {
    margin-top: 0;
    color: rgba(255, 255, 255, 0.72);
}

.section {
    width: min(1180px, calc(100% - 10vw));
    margin: 0 auto;
    padding: 56px 0 72px;
}

.section-tight {
    padding: 0;
}

.notice-band {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding: 22px 26px;
    border: 0;
    border-left: 8px solid var(--amber);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 107, 26, 0.18), transparent 36%),
        linear-gradient(90deg, var(--plum), #1d255c 62%, var(--teal-dark));
    color: #fff;
    box-shadow: 0 22px 56px rgba(23, 19, 38, 0.26);
    overflow: hidden;
}

.notice-band::after {
    content: "";
    position: absolute;
    right: -22px;
    top: -26px;
    width: 132px;
    height: 132px;
    background:
        linear-gradient(45deg, var(--orange) 0 28%, transparent 28% 100%),
        linear-gradient(135deg, transparent 0 40%, var(--magenta) 40% 58%, transparent 58% 100%),
        linear-gradient(45deg, transparent 0 62%, var(--cyan) 62% 82%, transparent 82% 100%);
    clip-path: polygon(20% 0, 100% 10%, 84% 100%, 0 78%);
    opacity: 0.92;
}

.notice-band span {
    display: block;
    color: rgba(255, 255, 255, 0.74);
    font-weight: 800;
}

.notice-band strong {
    display: block;
    margin-top: 2px;
    font-size: 1.35rem;
}

.notice-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.notice-band > * {
    position: relative;
    z-index: 1;
}

.event-bands {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(1180px, calc(100% - 10vw));
    margin: 22px auto 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(23, 19, 38, 0.12);
}

.event-bands div {
    display: grid;
    gap: 3px;
    min-height: 96px;
    padding: 20px 22px;
    color: #fff;
}

.event-bands div:nth-child(1) {
    background: var(--orange);
}

.event-bands div:nth-child(2) {
    background: var(--magenta);
}

.event-bands div:nth-child(3) {
    background: var(--teal);
}

.event-bands div:nth-child(4) {
    background: var(--blue);
}

.event-bands span {
    font-size: 0.84rem;
    font-weight: 900;
    text-transform: uppercase;
}

.event-bands strong {
    align-self: end;
    font-size: 1.28rem;
    line-height: 1.12;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding-top: 0;
}

.section-heading h2,
.admin-panel h2 {
    margin: 0;
    font-size: 2.25rem;
    line-height: 1.15;
}

.search-box {
    width: min(360px, 100%);
}

label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cfd8df;
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.filter-tab {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--night);
    color: #fff;
    font-weight: 900;
}

.filter-tab:hover,
.filter-tab.is-active {
    border-color: transparent;
    background: var(--magenta);
    color: #fff;
    box-shadow: 0 10px 24px rgba(213, 10, 111, 0.24);
}

.competition-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.competition-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 22px;
    border: 0;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 248, 0.94)),
        var(--paper);
    box-shadow: 0 16px 34px rgba(23, 19, 38, 0.13);
    overflow: hidden;
}

.competition-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    background: linear-gradient(90deg, var(--magenta), var(--orange), var(--amber), var(--teal), var(--blue));
}

.competition-card::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -56px;
    width: 160px;
    height: 160px;
    background:
        linear-gradient(135deg, transparent 0 36%, var(--cyan) 36% 54%, transparent 54% 100%),
        linear-gradient(45deg, transparent 0 58%, var(--orange) 58% 77%, transparent 77% 100%),
        linear-gradient(135deg, var(--magenta) 0 24%, transparent 24% 100%);
    opacity: 0.16;
    clip-path: polygon(10% 0, 100% 18%, 78% 100%, 0 78%);
    pointer-events: none;
}

.competition-card:nth-child(2n)::before {
    background: linear-gradient(90deg, var(--teal), var(--cyan), var(--blue), var(--magenta));
}

.competition-card:nth-child(3n)::before {
    background: linear-gradient(90deg, var(--amber), var(--orange), var(--magenta), var(--plum));
}

.competition-number {
    position: absolute;
    right: 18px;
    top: 24px;
    color: rgba(23, 19, 38, 0.08);
    font-size: 4.2rem;
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
}

.competition-card[hidden] {
    display: none;
}

.card-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 6px;
    background: var(--night);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
}

.competition-card h3,
.admin-item h3 {
    position: relative;
    z-index: 1;
    margin: 18px 0 8px;
    font-size: 1.46rem;
    line-height: 1.2;
}

.competition-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
}

.meta-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin: 22px 0;
}

.meta-list div {
    display: grid;
    gap: 2px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(23, 19, 38, 0.08);
}

.meta-list dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.meta-list dd {
    margin: 0;
    font-weight: 800;
}

.card-actions {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.card-actions small,
.soft-label,
.admin-item small,
.hint {
    color: var(--muted);
}

.soft-label {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 10px;
    border-radius: 8px;
    background: #f0ecf7;
    font-weight: 800;
}

.empty-state {
    display: grid;
    justify-items: start;
    gap: 8px;
    padding: 28px;
    border: 1px dashed #b8c5ce;
    border-radius: 8px;
    background: var(--paper);
}

.empty-state strong {
    font-size: 1.2rem;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
}

.empty-state.compact {
    padding: 18px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 24px 5vw;
    border-top: 0;
    background:
        linear-gradient(90deg, rgba(213, 10, 111, 0.18), transparent 38%),
        var(--night);
    color: rgba(255, 255, 255, 0.78);
}

.site-footer span:first-child {
    color: #fff;
    font-weight: 900;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(12, 34, 22, 0.35);
}

.whatsapp-float:hover {
    background: #16a34a;
    color: #fff;
}

.whatsapp-float svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.admin-body {
    background:
        linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(246, 248, 251, 0) 280px),
        var(--soft);
}

.admin-main {
    width: min(1180px, calc(100% - 10vw));
    margin: 0 auto;
    padding: 36px 0 72px;
}

.inline-form {
    margin: 0;
}

.flash {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-weight: 800;
}

.flash-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.flash-error {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #991b1b;
}

.flash-submission {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 2px solid #22c55e;
    border-left: 8px solid #15803d;
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(255, 255, 255, 0.96)),
        #ffffff;
    color: #14532d;
}

.flash-submission-head {
    font-size: 1.08rem;
    font-weight: 900;
}

.flash-submission-code-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-weight: 800;
}

.flash-submission-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #166534;
    color: #fff;
    font-size: 1.06rem;
    letter-spacing: 0;
}

.flash-submission-help {
    margin: 0;
    color: #14532d;
    font-weight: 700;
}

.flash-submission .button {
    width: fit-content;
}

.login-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 30px;
    align-items: start;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.login-panel h1 {
    font-size: 2.6rem;
}

.login-panel p {
    color: var(--muted);
}

.stack-form,
.lomba-form {
    display: grid;
    gap: 16px;
}

.admin-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.admin-summary div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.admin-summary span,
.upload-box p {
    color: var(--muted);
    font-weight: 800;
}

.admin-summary strong {
    display: block;
    margin-top: 6px;
    font-size: 1.7rem;
}

.admin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 18px;
    align-items: start;
}

.admin-form-toggle {
    display: none;
    border: 0;
    color: #fff;
    background: linear-gradient(90deg, var(--magenta), var(--orange), var(--amber), var(--teal), var(--blue));
    box-shadow: 0 12px 28px rgba(23, 19, 38, 0.22);
}

.admin-form-toggle:hover {
    color: #fff;
    background: linear-gradient(90deg, #b2085d, #e95b12, #d9a114, #067e78, #1152a0);
}

.admin-panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(23, 32, 42, 0.08);
}

.panel-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.panel-heading .button {
    flex: 0 0 auto;
}

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

.upload-box {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px dashed #b8c5ce;
    border-radius: 8px;
    background: #fbfcfd;
}

.upload-box p {
    margin: 0;
    font-size: 0.92rem;
}

.current-file {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #dfe7eb;
    border-radius: 8px;
    background: #fff;
}

.submission-highlight {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #d7deeb;
    border-left: 8px solid #334155;
    border-radius: 8px;
    background: #fff;
}

.submission-highlight.status-waiting {
    border-left-color: #1d4ed8;
    background: #f8fbff;
}

.submission-highlight.status-approved {
    border-left-color: #15803d;
    background: #f3fff7;
}

.submission-highlight.status-needs-revision {
    border-left-color: #c2410c;
    background: #fff8f3;
}

.submission-highlight-head {
    display: grid;
    gap: 8px;
}

.submission-highlight-head p {
    margin: 0;
    color: #334155;
    font-weight: 700;
}

.submission-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #fff;
    font-weight: 900;
    font-size: 0.9rem;
}

.submission-highlight.status-waiting .submission-status-badge {
    background: #1d4ed8;
}

.submission-highlight.status-approved .submission-status-badge {
    background: #15803d;
}

.submission-highlight.status-needs-revision .submission-status-badge {
    background: #c2410c;
}

.submission-detail-grid {
    display: grid;
    gap: 10px;
}

.submission-detail-grid div {
    display: grid;
    gap: 3px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #cbd5e1;
}

.submission-detail-grid strong {
    font-size: 0.8rem;
    color: #475569;
    text-transform: uppercase;
}

.submission-detail-grid span {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}

.submission-review-note {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #e2e8f0;
}

.submission-review-note strong {
    color: #334155;
}

.submission-review-note p {
    margin: 0;
    color: #0f172a;
    font-weight: 700;
}

.mural-flow-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 14px;
}

.mural-flow-strip div {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid #d9e1e8;
    border-radius: 8px;
    background: #f8fafc;
}

.mural-flow-strip strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--night);
    color: #fff;
    font-size: 0.78rem;
    line-height: 1;
}

.mural-flow-strip span {
    font-weight: 800;
    color: #334155;
    font-size: 0.9rem;
}

.mural-flow-actions {
    margin-top: 14px;
}

.mural-guide-list {
    display: grid;
    gap: 10px;
}

.mural-guide-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid #dbe4ec;
    border-radius: 8px;
    background: #fbfdff;
}

.mural-guide-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--night);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 900;
}

.mural-guide-item h3 {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.3;
}

.mural-guide-item p {
    margin: 4px 0 0;
    color: var(--muted);
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
}

.checkbox-row input {
    width: 18px;
    min-height: 18px;
}

.admin-list {
    display: grid;
    gap: 12px;
}

.admin-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 16px;
    border: 1px solid #e3e9ee;
    border-radius: 8px;
    background: #fbfcfd;
}

.admin-item h3 {
    margin-top: 10px;
    font-size: 1.1rem;
}

.admin-item p {
    margin: 0 0 4px;
    color: var(--muted);
}

.item-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.item-actions form {
    margin: 0;
}

code {
    padding: 2px 5px;
    border-radius: 5px;
    background: #eef3f5;
    color: var(--teal-dark);
}

@media (max-width: 1020px) {
    .hero {
        grid-template-columns: 1fr;
        row-gap: 24px;
        min-height: auto;
        padding-bottom: 54px;
    }

    .hero::before {
        background-size: 460px;
        background-position: 112% 52%;
    }

    .hero-metrics {
        width: min(520px, 100%);
    }

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

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

    .admin-layout,
    .login-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .public-body .notice-band {
        display: none;
    }

    .public-body .event-bands {
        display: none;
    }

    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 18px;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        min-height: auto;
        padding: 74px 18px 34px;
    }

    .hero::before {
        background-position: 120% 56%;
        background-size: 360px;
        opacity: 0.12;
    }

    .hero-logo {
        width: min(420px, 100%);
    }

    .hero h1 {
        font-size: 2.55rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-metrics {
        width: 100%;
    }

    .hero-metrics div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 14px;
    }

    .section,
    .event-bands,
    .admin-main {
        width: calc(100% - 36px);
    }

    .notice-band,
    .section-heading,
    .site-footer,
    .panel-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .search-box,
    .section-heading {
        width: 100%;
    }

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

    .admin-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    .admin-summary div {
        padding: 10px;
    }

    .admin-summary span {
        font-size: 0.78rem;
    }

    .admin-summary strong {
        margin-top: 2px;
        font-size: 1.05rem;
        line-height: 1.1;
    }

    .admin-layout {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-form-toggle {
        display: inline-flex;
        width: 100%;
    }

    .admin-form-panel {
        display: none;
    }

    .admin-form-panel.is-open {
        display: block;
    }

    .admin-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .item-actions {
        justify-content: flex-start;
        gap: 6px;
    }

    .admin-panel h2 {
        font-size: 1.75rem;
        line-height: 1.15;
    }

    .admin-item h3 {
        margin-top: 8px;
        font-size: 1.45rem;
        line-height: 1.2;
    }

    .admin-item p {
        font-size: 0.95rem;
    }

    .login-panel,
    .admin-panel {
        padding: 20px;
    }

    .login-panel h1,
    .admin-panel h1 {
        font-size: 2rem;
        line-height: 1.08;
    }

    .admin-body .site-header {
        position: sticky;
        top: 0;
        z-index: 60;
        align-items: stretch;
        gap: 10px;
        padding: 10px 14px;
    }

    .admin-body .brand {
        width: 100%;
        align-items: center;
        gap: 10px;
    }

    .admin-body .brand-wordmark {
        width: 98px;
        height: 34px;
    }

    .admin-body .brand-text strong {
        font-size: 1.05rem;
        line-height: 1.15;
    }

    .admin-body .brand small {
        font-size: 0.86rem;
    }

    .admin-body .nav-actions {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .admin-body .nav-actions a,
    .admin-body .nav-actions .link-button {
        width: auto;
        min-height: 34px;
        padding: 7px 10px;
        border-radius: 999px;
        white-space: nowrap;
        font-size: 0.88rem;
        background: #eef3f5;
        color: var(--ink);
    }

    .admin-body .nav-actions .inline-form {
        display: inline-flex;
        margin: 0;
    }

    .admin-files-body .admin-panel {
        padding: 14px;
    }

    .admin-files-body .panel-heading {
        margin-bottom: 12px;
    }

    .admin-files-body .panel-heading h2 {
        font-size: 1.35rem;
        line-height: 1.15;
    }

    .admin-files-body label {
        gap: 6px;
        font-size: 0.9rem;
    }

    .admin-files-body input,
    .admin-files-body textarea {
        min-height: 40px;
        padding: 8px 10px;
    }

    .admin-files-body .hint {
        font-size: 0.85rem;
    }

    .admin-files-body .admin-item {
        padding: 10px;
        gap: 8px;
    }

    .admin-files-body .admin-item h3 {
        margin: 6px 0 6px;
        font-size: 1rem;
    }

    .admin-files-body .admin-item p,
    .admin-files-body .admin-item small {
        font-size: 0.9rem;
    }

    .admin-files-body .item-actions {
        gap: 6px;
    }

    .admin-files-body .item-actions .button {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 0.88rem;
    }

    .admin-lomba-body .admin-panel {
        padding: 14px;
    }

    .admin-lomba-body .panel-heading {
        margin-bottom: 12px;
    }

    .admin-lomba-body .admin-panel h1 {
        font-size: 1.45rem;
        line-height: 1.15;
    }

    .admin-lomba-body .admin-panel h2 {
        font-size: 1.35rem;
        line-height: 1.15;
    }

    .admin-lomba-body .lomba-form,
    .admin-lomba-body .stack-form {
        gap: 12px;
    }

    .admin-lomba-body .form-grid {
        gap: 10px;
    }

    .admin-lomba-body label {
        gap: 6px;
        font-size: 0.9rem;
    }

    .admin-lomba-body input,
    .admin-lomba-body textarea {
        min-height: 40px;
        padding: 8px 10px;
    }

    .admin-lomba-body .upload-box {
        gap: 8px;
        padding: 12px;
    }

    .admin-lomba-body .upload-box p,
    .admin-lomba-body .current-file {
        font-size: 0.88rem;
    }

    .admin-lomba-body .button {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .admin-lomba-body .admin-form-toggle {
        min-height: 38px;
    }

    .mural-upload-body .admin-main {
        padding-top: 20px;
    }

    .mural-upload-body .admin-panel {
        padding: 14px;
    }

    .mural-upload-body .panel-heading {
        margin-bottom: 12px;
    }

    .mural-upload-body .admin-panel h1 {
        font-size: 1.45rem;
        line-height: 1.15;
    }

    .mural-upload-body .lomba-form {
        gap: 12px;
    }

    .mural-upload-body .form-grid {
        gap: 10px;
    }

    .mural-upload-body label {
        gap: 6px;
        font-size: 0.9rem;
    }

    .mural-upload-body input,
    .mural-upload-body textarea {
        min-height: 40px;
        padding: 8px 10px;
    }

    .mural-upload-body .hint,
    .mural-upload-body .empty-state p {
        font-size: 0.88rem;
    }

    .mural-upload-body .button {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .mural-upload-body .empty-state.compact {
        padding: 12px;
        margin-top: 12px;
    }

    .mural-upload-body .mural-flow-strip,
    .mural-status-body .mural-flow-strip {
        gap: 6px;
        margin-bottom: 12px;
    }

    .mural-upload-body .mural-flow-strip div,
    .mural-status-body .mural-flow-strip div {
        padding: 8px 9px;
    }

    .mural-upload-body .mural-flow-strip span,
    .mural-status-body .mural-flow-strip span {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .mural-status-body .admin-main {
        padding-top: 20px;
    }

    .mural-status-body .admin-panel {
        padding: 14px;
    }

    .mural-status-body .panel-heading {
        margin-bottom: 12px;
    }

    .mural-status-body .admin-panel h1,
    .mural-status-body .admin-panel h2 {
        font-size: 1.4rem;
        line-height: 1.15;
    }

    .mural-status-body .stack-form,
    .mural-status-body .lomba-form {
        gap: 12px;
    }

    .mural-status-body label {
        gap: 6px;
        font-size: 0.9rem;
    }

    .mural-status-body input,
    .mural-status-body textarea {
        min-height: 40px;
        padding: 8px 10px;
    }

    .mural-status-body .submission-highlight {
        gap: 10px;
        padding: 12px;
        margin-top: 12px;
    }

    .mural-status-body .submission-status-badge {
        min-height: 30px;
        padding: 6px 10px;
        font-size: 0.82rem;
    }

    .mural-status-body .submission-highlight-head p,
    .mural-status-body .submission-review-note p {
        font-size: 0.9rem;
    }

    .mural-status-body .submission-detail-grid {
        gap: 8px;
    }

    .mural-status-body .submission-detail-grid div {
        padding-bottom: 8px;
    }

    .mural-status-body .submission-detail-grid span {
        font-size: 0.98rem;
    }

    .mural-status-body .button {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .mural-status-body .mural-guide-item {
        padding: 10px;
        gap: 8px;
    }

    .mural-status-body .mural-guide-step {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .mural-status-body .mural-guide-item h3 {
        font-size: 0.98rem;
    }

    .mural-status-body .mural-guide-item p {
        font-size: 0.9rem;
    }

    .public-body .hero {
        min-height: auto;
        padding: 70px 14px 26px;
    }

    .public-body .hero-logo {
        width: min(280px, 82vw);
        margin-bottom: 16px;
    }

    .public-body .hero h1 {
        font-size: 2rem;
        line-height: 1.08;
    }

    .public-body .hero-copy {
        margin-top: 12px;
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .public-body .hero-actions {
        margin-top: 16px;
    }

    .public-body .hero-metrics {
        margin-top: 16px;
    }

    .public-body .hero-metrics div {
        padding: 10px 12px;
    }

    .public-body .hero-metrics strong {
        font-size: 1.3rem;
    }

    .public-body .hero-metrics span {
        font-size: 0.84rem;
    }

    .public-body .notice-band {
        margin-top: 16px;
        padding: 14px;
        gap: 10px;
    }

    .public-body .notice-band strong {
        font-size: 1.05rem;
    }

    .public-body .notice-band p {
        font-size: 0.9rem;
    }

    .public-body .event-bands {
        margin-top: 14px;
    }

    .public-body .event-bands div {
        min-height: 74px;
        padding: 12px 14px;
    }

    .public-body .event-bands strong {
        font-size: 1rem;
    }

    .public-body .section {
        padding: 34px 0 44px;
    }

    .public-body .section-heading {
        gap: 12px;
        margin-bottom: 16px;
    }

    .public-body .section-heading h2 {
        font-size: 1.55rem;
        line-height: 1.15;
    }

    .public-body .filter-tabs {
        margin-bottom: 16px;
        gap: 6px;
    }

    .public-body .competition-grid {
        gap: 12px;
    }

    .public-body .competition-card {
        min-height: auto;
        padding: 14px;
    }

    .public-body .competition-number {
        top: 16px;
        right: 14px;
        font-size: 3rem;
    }

    .public-body .competition-card h3 {
        margin: 12px 0 6px;
        font-size: 1.25rem;
    }

    .public-body .competition-card p,
    .public-body .meta-list dd,
    .public-body .card-actions small {
        font-size: 0.92rem;
    }

    .public-body .meta-list {
        margin: 14px 0;
        gap: 8px;
    }

    .public-body .meta-list div {
        padding-bottom: 8px;
    }

    .public-body .card-actions {
        gap: 6px;
    }

    .public-body .card-actions .button {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 0.88rem;
    }
}

@media (max-width: 420px) {
    .brand {
        align-items: flex-start;
    }

    .brand-wordmark {
        width: 132px;
        max-width: 46vw;
        height: 42px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .nav-actions a,
    .link-button,
    .button,
    .filter-tab {
        width: 100%;
    }

    .admin-body .admin-item .button,
    .admin-body .admin-item .item-actions form,
    .admin-body .admin-item .item-actions .button {
        width: auto;
    }

    .admin-body .admin-item .item-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .admin-body .admin-item .item-actions .button {
        min-height: 36px;
        padding: 8px 12px;
        font-size: 0.95rem;
    }

    .admin-body .admin-panel h2 {
        font-size: 1.55rem;
    }

    .admin-body .admin-item h3 {
        font-size: 1.1rem;
    }

    .admin-body .admin-item small {
        font-size: 0.9rem;
    }

    .mural-upload-body .button {
        width: auto;
    }

    .mural-status-body .button {
        width: auto;
    }

    .mural-upload-body .mural-flow-strip,
    .mural-status-body .mural-flow-strip {
        grid-template-columns: 1fr;
    }

    .public-body .hero {
        padding: 66px 12px 24px;
    }

    .public-body .hero-logo {
        width: min(240px, 78vw);
    }

    .public-body .hero h1 {
        font-size: 1.8rem;
    }

    .public-body .section-heading h2 {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

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

    .event-bands div {
        min-height: 88px;
    }

    .competition-card {
        padding: 18px;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 12px;
        min-height: 42px;
        padding: 9px 12px;
        gap: 6px;
        font-size: 0.86rem;
    }

    .whatsapp-float svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================= */
/* RAPIN HP - HERO HUT 18 */
/* Tambahkan di paling bawah assets/styles.css */
/* ============================= */

@media (max-width: 760px) {
    .public-body .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        min-height: 58px;
        padding: 8px 14px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        background: rgba(12, 10, 26, 0.82);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: none;
    }

    .public-body .site-header::after {
        display: none;
    }

    .public-body .brand {
        gap: 8px;
        min-width: 0;
        align-items: center;
    }

    .public-body .brand-wordmark {
        width: 104px;
        max-width: 34vw;
        height: 34px;
        object-fit: contain;
    }

    .public-body .brand-text {
        display: none;
    }

    .public-body .nav-actions {
        width: auto;
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .public-body .nav-actions a {
        width: auto;
        min-height: 32px;
        padding: 6px 9px;
        border-radius: 999px;
        font-size: 0.82rem;
        line-height: 1;
        color: #fff;
        background: rgba(255, 255, 255, 0.10);
        border: 1px solid rgba(255, 255, 255, 0.18);
        text-shadow: none;
        white-space: nowrap;
    }

    .public-body .nav-actions a:hover {
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
    }

    .hero {
        display: block;
        min-height: 100svh;
        padding: 76px 18px 38px;
        background:
            linear-gradient(
                180deg,
                rgba(12, 10, 26, 0.86) 0%,
                rgba(17, 12, 39, 0.92) 48%,
                rgba(7, 38, 56, 0.92) 100%
            ),
            url("hut18-hero.png");
        background-size: cover;
        background-position: center top;
    }

    .hero::before {
        background-size: 330px;
        background-position: 130% 56%;
        opacity: 0.10;
    }

    .hero-content {
        width: 100%;
    }

    .event-kicker {
        min-height: auto;
        margin-bottom: 16px;
        padding: 8px 12px;
        border-left: 0;
        border-radius: 0;
        font-size: 0.78rem;
        line-height: 1.2;
    }

    .hero-logo {
        width: min(360px, 92vw);
        margin: 0 auto 26px;
        filter:
            drop-shadow(0 0 8px rgba(255, 255, 255, 0.26))
            drop-shadow(0 12px 20px rgba(0, 0, 0, 0.34));
    }

    .hero .eyebrow {
        margin-bottom: 8px;
        font-size: 0.82rem;
        color: #39f2df;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.2rem, 10vw, 3rem);
        line-height: 1.04;
        letter-spacing: -0.03em;
    }

    .hero-copy {
        width: 100%;
        margin-top: 16px;
        font-size: 1rem;
        line-height: 1.55;
        color: rgba(255, 255, 255, 0.88);
    }

    .hero-actions {
        display: flex;
        gap: 10px;
        margin-top: 24px;
        flex-wrap: wrap;
    }

    .hero-actions .button {
        width: auto;
        min-height: 44px;
        padding: 11px 15px;
        border-radius: 9px;
        font-size: 0.95rem;
    }
}

@media (max-width: 420px) {
    .public-body .site-header {
        padding: 8px 10px;
    }

    .public-body .brand-wordmark {
        width: 96px;
        max-width: 31vw;
        height: 32px;
    }

    .public-body .nav-actions {
        gap: 5px;
    }

    .public-body .nav-actions a {
        padding: 6px 8px;
        font-size: 0.78rem;
    }

    .hero {
        padding: 72px 18px 34px;
    }

    .event-kicker {
        font-size: 0.74rem;
        padding: 8px 10px;
    }

    .hero-logo {
        width: min(330px, 90vw);
        margin-bottom: 24px;
    }

    .hero h1 {
        font-size: 2.28rem;
    }

    .hero-copy {
        font-size: 0.98rem;
    }

    .hero-actions {
        gap: 8px;
    }

    .hero-actions .button {
        min-height: 42px;
        padding: 10px 14px;
        font-size: 0.92rem;
    }
}

@media (max-width: 360px) {
    .public-body .brand-wordmark {
        width: 84px;
    }

    .public-body .nav-actions a {
        padding: 6px 7px;
        font-size: 0.72rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-logo {
        width: min(290px, 88vw);
    }
}

/* Berlaku untuk desktop dan HP */
.hero {
    position: relative;
    background:
        linear-gradient(
            180deg,
            rgba(12, 10, 26, 0.92) 0%,
            rgba(17, 12, 39, 0.96) 55%,
            rgba(7, 38, 56, 1) 100%
        ),
        url("hut18-hero.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* Hilangkan efek fade putih di bawah hero */
.hero::after {
    display: none !important;
    content: none !important;
}

/* Final override mobile: pusatkan komposisi hero agar rapi */
@media (max-width: 760px) {
    .public-body .hero-content {
        max-width: 430px;
        margin: 0 auto;
        text-align: center;
    }

    .public-body .event-kicker {
        margin-left: auto;
        margin-right: auto;
    }

    .public-body .hero .eyebrow {
        text-align: center;
    }

    .public-body .hero-copy {
        margin-left: auto;
        margin-right: auto;
    }

    .public-body .hero-actions {
        justify-content: center;
    }

    .public-body .hero-metrics {
        max-width: 430px;
        margin: 22px auto 0;
    }
}

@media (max-width: 420px) {
    .public-body .hero-content {
        max-width: 100%;
    }

    .public-body .filter-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .public-body .filter-tab {
        width: auto;
        min-width: 78px;
        flex: 0 0 auto;
        min-height: 32px;
        padding: 6px 10px;
        font-size: 0.86rem;
    }
}

/* Final tidy pass for mobile home */
@media (max-width: 760px) {
    .public-body .site-header {
        padding: 8px 12px;
        gap: 8px;
    }

    .public-body .brand-wordmark {
        width: 92px;
        height: 30px;
    }

    .public-body .nav-actions {
        max-width: calc(100vw - 118px);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .public-body .nav-actions a {
        min-height: 30px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .public-body .hero {
        min-height: auto;
        padding: 64px 14px 22px;
    }

    .public-body .hero-logo {
        width: min(250px, 76vw);
        margin-bottom: 14px;
    }

    .public-body .hero .eyebrow {
        margin-bottom: 6px;
    }

    .public-body .hero h1 {
        font-size: 2.05rem;
        line-height: 1.08;
    }

    .public-body .hero-copy {
        max-width: 330px;
        margin-top: 10px;
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .public-body .hero-actions {
        margin-top: 14px;
    }

    .public-body .hero-actions .button {
        min-height: 40px;
        padding: 9px 14px;
        font-size: 0.92rem;
    }

    .public-body .hero-metrics {
        margin-top: 14px;
        border-radius: 10px;
    }

    .public-body .hero-metrics div {
        padding: 10px 12px;
    }

    .public-body .hero-metrics strong {
        font-size: 1.15rem;
    }

    .public-body .hero-metrics span {
        font-size: 0.82rem;
    }

    .public-body .section {
        padding: 0px 0 38px;
    }
}

@media (max-width: 420px) {
    .public-body .site-header {
        padding: 7px 10px;
    }

    .public-body .brand-wordmark {
        width: 84px;
        height: 28px;
    }

    .public-body .nav-actions {
        max-width: calc(100vw - 104px);
    }

    .public-body .nav-actions a {
        padding: 6px 9px;
        font-size: 0.76rem;
    }

    .public-body .hero {
        padding: 62px 12px 20px;
    }

    .public-body .hero-logo {
        width: min(220px, 72vw);
    }

    .public-body .hero h1 {
        font-size: 1.85rem;
    }

    .public-body .hero-copy {
        font-size: 0.92rem;
    }
}

/* Mobile first-open full screen */
@media (max-width: 760px) {
    .public-body {
        overflow-x: hidden;
    }

    .public-body .site-header {
        min-height: 52px;
        padding: 7px 10px;
        gap: 6px;
        overflow: hidden;
    }

    .public-body .brand {
        flex: 0 0 auto;
    }

    .public-body .brand-wordmark {
        width: 78px;
        height: 26px;
    }

    .public-body .nav-actions {
        margin-left: auto;
        max-width: none;
        overflow: visible;
        gap: 5px;
        flex-wrap: nowrap;
    }

    .public-body .nav-actions a {
        min-height: 28px;
        padding: 5px 8px;
        font-size: 0.74rem;
        border-radius: 999px;
    }

    .public-body .hero {
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 64px 12px 18px;
    }

    .public-body .hero-content {
        max-width: 340px;
        min-height: calc(100svh - 84px);
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .public-body .hero-logo {
        width: min(210px, 62vw);
        margin: 0 auto 10px;
    }

    .public-body .hero h1 {
        font-size: 1.95rem;
        line-height: 1.06;
    }

    .public-body .hero-copy {
        max-width: 320px;
        margin: 8px auto 0;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .public-body .hero-actions {
        margin-top: 12px;
        justify-content: center;
    }

    .public-body .hero-actions .button {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 0.88rem;
    }

    .public-body .hero-metrics {
        display: none;
    }
}

/* Final mobile harmony: title + logo */
.hero-title-top,
.hero-title-bottom {
    display: block;
}

.hero-title-top {
    color: #70f0ff;
    text-shadow: 0 2px 14px rgba(0, 167, 200, 0.35);
}

.hero-title-bottom {
    color: #fff;
}

@media (max-width: 760px) {
    .public-body .hero .eyebrow {
        display: none;
    }

    .public-body .hero-logo {
        width: min(270px, 78vw);
        margin: 0 auto 16px;
    }

    .public-body .hero h1 {
        display: grid;
        gap: 8px;
        font-size: 1.95rem;
        line-height: 1.04;
    }

    .public-body .hero-title-top {
        font-size: 0.82em;
        font-weight: 900;
        letter-spacing: 0;
    }

    .public-body .hero-title-bottom {
        font-size: 1em;
        font-weight: 900;
    }
}

@media (max-width: 420px) {
    .public-body .hero-logo {
        width: min(238px, 76vw);
    }

    .public-body .hero h1 {
        font-size: 1.8rem;
        gap: 7px;
    }
}

@media (min-width: 761px) {
    .public-body .hero {
        min-height: 100svh;
    }
}
