:root {
    --ink: #07090c;
    --panel: #10151c;
    --panel-2: #151b24;
    --line: rgba(255, 255, 255, 0.12);
    --text: #f8fafc;
    --muted: #a7b0bd;
    --gold: #e6b84a;
    --green: #28d887;
    --ocean: #2dd4bf;
    --danger: #ff5a67;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 20% 8%, rgba(45, 212, 191, 0.2), transparent 28rem),
        radial-gradient(circle at 78% 0%, rgba(230, 184, 74, 0.16), transparent 26rem),
        linear-gradient(135deg, #050608 0%, #0a1119 45%, #08120e 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem clamp(1rem, 4vw, 3rem);
    background: rgba(5, 6, 8, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.brand span:last-child {
    overflow-wrap: anywhere;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid rgba(230, 184, 74, 0.7);
    background: linear-gradient(135deg, #151b24, #020305);
    color: var(--gold);
    border-radius: 8px;
}

nav {
    display: flex;
    align-items: center;
    gap: clamp(0.55rem, 2vw, 1.2rem);
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 750;
    font-size: 0.95rem;
}

nav a:hover,
.section-head a:hover,
.inline-link:hover,
.back-link:hover {
    color: var(--green);
}

main {
    min-height: calc(100vh - 9rem);
}

.flash {
    max-width: 76rem;
    margin: 1rem auto 0;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(40, 216, 135, 0.35);
    background: rgba(40, 216, 135, 0.12);
    color: #c9ffe3;
    border-radius: 8px;
}

.hero {
    min-height: calc(100vh - 4.2rem);
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem);
}

.hero-copy {
    max-width: 43rem;
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--green);
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 0.9rem;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(3rem, 7vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: 0;
    margin-bottom: 1.1rem;
}

.hero-title span {
    display: block;
}

h2 {
    font-size: clamp(1.55rem, 3vw, 2.5rem);
    letter-spacing: 0;
}

h3 {
    font-size: 1.05rem;
}

p {
    color: var(--muted);
    line-height: 1.65;
}

.hero-copy p {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    max-width: 37rem;
}

.hero-actions,
.product-card-foot,
.control-row,
.guide-toolbar,
.section-head,
.cart-total,
.order-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    border: 0;
    border-radius: 8px;
    padding: 0.82rem 1.1rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
}

.btn.primary {
    color: #02120b;
    background: linear-gradient(135deg, var(--green), var(--gold));
}

.btn.secondary,
.btn.ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
}

.btn.mini {
    min-height: 2rem;
    padding: 0.45rem 0.75rem;
    color: #03110a;
    background: var(--green);
}

.legal-note {
    margin-top: 1rem;
    font-size: 0.88rem !important;
    color: #d2c69f;
}

.hero-product {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: clamp(21rem, 42vw, 31rem);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.chain-orbit {
    position: absolute;
    width: min(30vw, 21rem);
    aspect-ratio: 1;
    border: 0.5rem dashed rgba(203, 213, 225, 0.2);
    border-radius: 50%;
    transform: rotate(-22deg);
    z-index: 0;
}

.product-art {
    width: 100%;
    height: auto;
}

.product-photo {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 44%;
    border-radius: 6px;
    background: #050608;
}

.hero-art {
    width: min(35rem, 95%);
    z-index: 1;
}

.hero-hawaii-art {
    width: min(39rem, 100%);
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-logo-art {
    display: block;
    width: min(34rem, 100%);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 52%, rgba(203, 213, 225, 0.15), transparent 36%),
        radial-gradient(circle at 52% 48%, rgba(45, 212, 191, 0.12), transparent 54%);
    filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.38));
}

.detail-art {
    width: min(34rem, 100%);
}

.detail-art.product-photo {
    aspect-ratio: auto;
    max-height: min(72vh, 46rem);
    object-fit: contain;
}

.card-art {
    width: 100%;
    display: block;
}

.page-band,
.split-band,
.product-detail,
.auth-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.split-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--line);
}

.section-head {
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-head h1,
.section-head h2 {
    margin-bottom: 0;
}

.section-head a,
.inline-link,
.back-link {
    color: var(--muted);
    font-weight: 800;
    text-decoration: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 18rem));
    justify-content: start;
    gap: 1rem;
}

.product-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 18rem));
}

.product-card,
.dashboard-panel,
.order-card,
.cart-table,
.checkout-panel,
.auth-panel,
.buy-panel,
.calibration-panel,
.calibration {
    background: linear-gradient(180deg, rgba(21, 27, 36, 0.96), rgba(8, 12, 16, 0.96));
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.product-card {
    overflow: hidden;
}

.product-art-link {
    display: block;
    padding: 0.75rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 8px, transparent 8px 16px);
}

.product-card-body {
    padding: 1rem;
}

.product-card p {
    min-height: 3.3rem;
    font-size: 0.93rem;
}

.product-card-foot {
    justify-content: space-between;
}

.price {
    color: var(--gold);
    font-size: 2rem !important;
    font-weight: 950;
}

.shipping-note {
    color: #c9ffe3;
    font-weight: 900;
    margin-top: -0.45rem;
}

.shipping-note.compact {
    display: block;
    font-size: 0.78rem;
    margin: 0.45rem 0 0.85rem;
}

.shipping-note.restriction {
    color: #d9e4ef;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0.35rem 0 0.9rem;
    max-width: 44rem;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(21rem, 1.05fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.product-display {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(40, 216, 135, 0.12), rgba(230, 184, 74, 0.1)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 10px, transparent 10px 20px);
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
    gap: 0.55rem;
}

.product-gallery-link {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    padding: 0.16rem;
    cursor: pointer;
    background: rgba(5, 8, 12, 0.72);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.product-gallery-link.active {
    border-color: rgba(40, 216, 135, 0.82);
    box-shadow: 0 0 0 1px rgba(40, 216, 135, 0.24);
}

.product-gallery-link:hover {
    border-color: rgba(230, 184, 74, 0.78);
}

.product-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

body.lightbox-open {
    overflow: hidden;
}

.image-lightbox[hidden] {
    display: none;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding: clamp(0.75rem, 3vw, 2rem);
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 7, 0.9);
    backdrop-filter: blur(10px);
}

.image-lightbox-panel {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 72rem);
    height: min(100%, 44rem);
    padding: clamp(3.25rem, 5vw, 4rem) clamp(3.75rem, 6vw, 5rem) clamp(3.2rem, 5vw, 4rem);
    background: rgba(8, 12, 16, 0.96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.image-lightbox-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    border-radius: 6px;
    background: #050608;
}

.image-lightbox-close,
.image-lightbox-nav {
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    touch-action: manipulation;
}

.image-lightbox-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
}

.image-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 4.5rem;
    border-radius: 8px;
    font-size: 2.4rem;
    line-height: 1;
}

.image-lightbox-nav.prev {
    left: 0.85rem;
}

.image-lightbox-nav.next {
    right: 0.85rem;
}

.image-lightbox-close:hover,
.image-lightbox-nav:hover {
    border-color: rgba(40, 216, 135, 0.8);
    background: rgba(40, 216, 135, 0.16);
}

.image-lightbox-meta {
    position: absolute;
    right: 1rem;
    bottom: 0.85rem;
    left: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.buy-panel,
.auth-panel {
    padding: 1rem;
    display: grid;
    gap: 1rem;
}

.fixed-finish {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.fixed-finish span {
    color: var(--muted);
    font-weight: 800;
}

.fixed-finish strong {
    color: var(--green);
    font-size: 1.05rem;
}

label {
    color: #dbe3ed;
    display: grid;
    gap: 0.35rem;
    font-weight: 800;
}

input,
select {
    width: 100%;
    color: var(--text);
    background: #080c11;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 0.75rem;
    font: inherit;
}

.screen-warning {
    display: none;
    padding: 1rem;
    background: rgba(255, 90, 103, 0.14);
    border: 1px solid rgba(255, 90, 103, 0.5);
    color: #ffd7db;
    border-radius: 8px;
    font-weight: 900;
}

[hidden] {
    display: none !important;
}

.size-guide {
    display: grid;
    gap: 1rem;
}

.guide-toolbar {
    justify-content: space-between;
}

.tabs {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.2rem;
    background: rgba(255, 255, 255, 0.06);
}

.tab {
    border: 0;
    background: transparent;
    color: var(--muted);
    border-radius: 6px;
    padding: 0.65rem 1rem;
    font-weight: 900;
    cursor: pointer;
}

.tab.active {
    color: #04110a;
    background: var(--green);
}

.guide-status {
    color: var(--muted);
    font-weight: 800;
}

.calibration-panel {
    display: grid;
    grid-template-columns: minmax(16rem, 1fr) minmax(18rem, auto);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
}

.calibration-copy {
    max-width: 45rem;
}

.calibration-copy span,
.calibration span {
    display: block;
    color: var(--gold);
    font-weight: 900;
    margin-bottom: 0.55rem;
}

.calibration-copy h2 {
    margin-bottom: 0.55rem;
}

.calibration-steps {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.calibration-steps li {
    display: grid;
    grid-template-columns: 4.8rem 1fr;
    gap: 0.7rem;
    align-items: start;
    padding: 0.65rem 0.75rem;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.calibration-steps strong {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.calibration-steps span {
    color: var(--muted);
    font-weight: 750;
    line-height: 1.45;
    margin-bottom: 0;
}

.calibration-card-wrap {
    overflow: auto;
    padding: 0.75rem;
}

.calibration-card {
    display: grid;
    place-items: center;
    align-content: center;
    min-width: 180px;
    color: #06100b;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(219, 234, 254, 0.42)),
        linear-gradient(135deg, var(--gold), var(--green));
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.calibration-card strong {
    font-size: clamp(1.2rem, 3vw, 2rem);
    line-height: 1.1;
}

.calibration-card span {
    color: rgba(6, 16, 11, 0.72);
    font-weight: 900;
}

.calibration-slider {
    grid-column: 1 / -1;
}

.calibration-slider input,
.measurement-slider input {
    padding: 0;
    accent-color: var(--green);
}

.calibration-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.auto-save-note {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 0.85rem;
    color: #06100b;
    background: var(--green);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    font-weight: 950;
}

.measurement-calibration {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(16rem, 1fr) minmax(12rem, 16rem) auto;
    gap: 0.8rem;
    align-items: end;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.measurement-calibration strong,
.measurement-calibration span {
    display: block;
}

.measurement-calibration strong {
    color: var(--green);
    margin-bottom: 0.25rem;
}

.measurement-calibration p {
    margin-bottom: 0;
}

.measurement-calibration span {
    grid-column: 1 / -1;
    color: #c9ffe3;
    font-weight: 850;
}

.calibration-measure-wrap {
    grid-column: 1 / -1;
    overflow-x: auto;
    padding: 0.6rem 0.2rem 0.8rem;
}

.calibration-measure-bar {
    display: grid;
    place-items: center;
    height: 2.2rem;
    min-width: 120px;
    color: #06100b;
    background: linear-gradient(135deg, var(--green), var(--gold));
    border-left: 3px solid #f8fafc;
    border-right: 3px solid #f8fafc;
    border-radius: 5px;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.measurement-slider {
    grid-column: 1 / -1;
}

.measurement-entry {
    min-width: 0;
}

.fraction-controls {
    display: grid !important;
    grid-template-columns: minmax(4.5rem, 0.7fr) auto minmax(6.5rem, 1fr);
    align-items: center;
    gap: 0.45rem;
}

.fraction-controls input,
.fraction-controls select {
    min-width: 0;
}

.fraction-controls > span {
    color: var(--text);
    font-weight: 900;
}

.calibration-required {
    grid-column: 1 / -1;
    padding: 0.85rem 1rem;
    color: #ffe5b3;
    background: rgba(230, 184, 74, 0.13);
    border: 1px solid rgba(230, 184, 74, 0.42);
    border-radius: 8px;
    font-weight: 850;
}

#calibrationReadout {
    color: #c9ffe3;
    font-weight: 850;
}

.calibration {
    padding: 1rem;
}

.ruler-inch {
    width: 96px;
    border-left: 2px solid var(--green);
    border-right: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    color: #c9ffe3;
    text-align: center;
    font-size: 0.78rem;
    padding-bottom: 0.15rem;
}

.size-picks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
    gap: 0.55rem;
}

.size-chip {
    color: var(--text);
    text-align: left;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.65rem;
    cursor: pointer;
}

.size-chip strong,
.size-chip span {
    display: block;
}

.size-chip strong {
    color: var(--green);
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.size-chip span {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.size-chip small {
    display: block;
    color: #d2c69f;
    font-size: 0.7rem;
    line-height: 1.25;
    margin-top: 0.35rem;
}

.size-inch-bar {
    position: relative;
    height: 0.5rem;
    margin-top: 0.55rem;
    background: rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    overflow: hidden;
}

.size-inch-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green), var(--gold));
}

.size-inch-label {
    color: #c9ffe3 !important;
    font-weight: 900;
    margin-top: 0.35rem;
}

.size-chip.active {
    border-color: rgba(40, 216, 135, 0.85);
    background: rgba(40, 216, 135, 0.14);
}

.hand-stage-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        rgba(4, 7, 10, 0.88);
    background-size: 38px 38px;
    padding: 1rem;
}

.size-guide.is-uncalibrated .hand-stage-wrap {
    border-color: rgba(230, 184, 74, 0.55);
    box-shadow: inset 0 0 0 1px rgba(230, 184, 74, 0.18);
}

.hand-stage {
    position: relative;
    min-height: 360px;
    width: min(100%, 540px);
    margin: 0 auto;
    display: grid;
    justify-items: center;
    align-content: center;
    padding: 56px 0 96px;
}

.knuckle-imprint {
    --imprint-ring: 4px;
    position: relative;
    display: block;
    color: var(--text);
    background: rgba(40, 216, 135, 0.06);
    border-radius: 999px;
    box-shadow: 0 0 0 var(--imprint-ring) rgba(219, 234, 254, 0.82);
    opacity: 1;
    padding: 0;
    transition: opacity 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.knuckle-imprint.active {
    box-shadow: 0 0 0 var(--imprint-ring) var(--green);
    filter: drop-shadow(0 0 10px rgba(40, 216, 135, 0.55));
}

.knuckle-hole {
    --hole-ring: 3px;
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(2, 6, 10, 0.82);
    box-shadow:
        0 0 0 var(--hole-ring) rgba(230, 184, 74, 0.82),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.knuckle-imprint.active .knuckle-hole {
    box-shadow:
        0 0 0 var(--hole-ring) var(--gold),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.knuckle-label {
    position: absolute;
    left: 50%;
    top: calc(100% + 16px);
    transform: translateX(-50%);
    width: max-content;
    max-width: min(45ch, 92vw);
    color: #dbeafe;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
    pointer-events: none;
}

.knuckle-imprint.active .knuckle-label {
    color: var(--green);
}

.imprint-instructions {
    align-self: end;
    margin: 46px 0 0;
    max-width: 42rem;
    text-align: center;
    font-weight: 750;
}

.size-save-form {
    display: flex;
    justify-content: flex-end;
}

.cart-line,
.order-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
}

.cart-line span,
.order-item span {
    color: var(--muted);
    display: block;
}

.cart-table,
.checkout-panel {
    padding: 1rem;
    margin-bottom: 1rem;
}

.cart-total,
.order-total {
    justify-content: flex-end;
    padding: 1rem 0;
    color: var(--gold);
    font-size: 1.2rem;
}

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

.dashboard-panel {
    padding: 1rem;
}

.dashboard-size {
    color: var(--green);
    font-size: 2.25rem;
    font-weight: 950;
    margin-bottom: 0.8rem;
}

.order-card {
    padding: 1rem;
    margin-bottom: 1rem;
}

.order-head {
    justify-content: space-between;
    color: var(--gold);
    margin-bottom: 0.7rem;
}

.auth-shell {
    display: grid;
    place-items: center;
}

.auth-panel {
    width: min(100%, 28rem);
}

.empty {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1rem;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.3rem clamp(1rem, 4vw, 3rem);
    border-top: 1px solid var(--line);
    color: var(--muted);
}

@media (max-width: 980px) {
    .hero,
    .product-detail {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

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

@media (max-width: 760px) {
    .site-header,
    .section-head,
    .split-band {
        align-items: flex-start;
        flex-direction: column;
    }

    .calibration-panel {
        grid-template-columns: 1fr;
    }

    .calibration-steps li {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .measurement-calibration {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .calibration-card-wrap {
        padding: 0;
    }

    .product-grid,
    .product-grid.compact,
    .dashboard-grid,
    .size-picks {
        grid-template-columns: 1fr;
    }

    .cart-line,
    .order-item {
        grid-template-columns: 1fr;
    }

    .image-lightbox {
        padding: 0;
    }

    .image-lightbox-panel {
        width: 100%;
        height: 100%;
        padding: 4.2rem 3.2rem 4.2rem;
        border-radius: 0;
    }

    .image-lightbox-nav {
        width: 2.7rem;
        height: 4rem;
    }

    .image-lightbox-nav.prev {
        left: 0.35rem;
    }

    .image-lightbox-nav.next {
        right: 0.35rem;
    }

    .image-lightbox-meta {
        right: 0.75rem;
        bottom: 0.85rem;
        left: 0.75rem;
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    h1 {
        font-size: 2.35rem;
        overflow-wrap: anywhere;
    }

    .eyebrow {
        display: block;
        overflow-wrap: anywhere;
    }

    .hero-copy,
    .hero-copy p,
    .legal-note {
        max-width: 100%;
    }

    .hero-actions {
        align-items: stretch;
        width: 100%;
    }

    .hero-actions .btn {
        flex: 1 1 12rem;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }

    .hero-product {
        min-height: 20rem;
    }

    .hero-hawaii-art {
        width: 100%;
    }

    .hero-logo-art {
        width: min(100%, 24rem);
    }

    nav {
        justify-content: flex-start;
    }
}
