:root {
    --cream: #f6dfb7;
    --paper: #f1c98e;
    --gold: #e4a95d;
    --gold-deep: #a7642c;
    --ember: #db613c;
    --rose: #c64d73;
    --burgundy: #581a25;
    --ink: #17070b;
    --black: #090507;
    --smoke: rgba(246, 221, 186, .42);

    --cloud-back-speed: 72s;
    --cloud-front-speed: 48s;
    --smoke-speed: 6.6s;
    --dust-opacity: .34;
    --glow-strength: .72;
    --hero-pad-x: clamp(16px, 3vw, 56px);
    --menu-item-size: clamp(86px, 7.8vw, 126px);
    --contact-item-width: clamp(128px, 12vw, 194px);
    --rail-height: clamp(92px, 13.8vh, 142px);
    --dock-bottom: clamp(18px, 3.2vh, 42px);
    --safe-hero-top: clamp(12px, 2.2vh, 24px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--cream);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::selection { background: var(--gold); color: var(--ink); }
a { color: inherit; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.jj-page { min-height: 100vh; overflow-x: clip; }

.jj-hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    max-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    padding: var(--safe-hero-top) var(--hero-pad-x) calc(var(--rail-height) + var(--dock-bottom) + 10px);
    background: #250911;
}

.scene,
.layer,
.parallax,
.cloud-drift,
.dust-field {
    position: absolute;
    inset: 0;
}
.scene {
    z-index: -5;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 147, 67, .38), transparent 24%),
        linear-gradient(180deg, #431120 0%, #94341f 38%, #2b0c12 100%);
}
.layer {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
    user-select: none;
}
.layer-base {
    background-image:
        linear-gradient(to bottom, rgba(68, 11, 23, .10), rgba(210, 81, 40, .08) 48%, rgba(19, 5, 7, .10)),
        url('../img/western-base.webp');
    filter: saturate(1.12) contrast(1.04);
}
.layer-sun {
    z-index: 1;
    opacity: var(--glow-strength);
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 197, 94, .78) 0 7%, rgba(238, 112, 55, .36) 14%, transparent 31%),
        radial-gradient(circle at 50% 52%, rgba(255, 87, 47, .20), transparent 35%);
    mix-blend-mode: screen;
    animation: sunsetPulse 14s ease-in-out infinite alternate;
}
.cloud-drift { z-index: 3; pointer-events: none; will-change: transform; }
.cloud-drift-back { animation: windBack var(--cloud-back-speed) cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.cloud-drift-front { z-index: 4; animation: windFront var(--cloud-front-speed) cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.parallax { will-change: transform; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }
.layer-clouds {
    inset: -4% -13%;
    background-position: center top;
    will-change: transform, opacity;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 54%, rgba(0,0,0,.88) 62%, rgba(0,0,0,.38) 70%, transparent 78%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 54%, rgba(0,0,0,.88) 62%, rgba(0,0,0,.38) 70%, transparent 78%);
}
.layer-clouds-back {
    background-image: url('../img/western-clouds-back.webp');
    opacity: .46;
    transform: scale(1.08);
}
.layer-clouds-front {
    background-image: url('../img/western-clouds-front.webp');
    opacity: .38;
    transform: scale(1.115);
}
.parallax-haze { z-index: 2; }
.layer-haze {
    background-image: url('../img/western-haze.webp');
    opacity: .34;
    mix-blend-mode: screen;
    will-change: opacity, transform;
    -webkit-mask-image: linear-gradient(to bottom, transparent 31%, rgba(0,0,0,.36) 43%, #000 53%, rgba(0,0,0,.62) 64%, transparent 76%);
    mask-image: linear-gradient(to bottom, transparent 31%, rgba(0,0,0,.36) 43%, #000 53%, rgba(0,0,0,.62) 64%, transparent 76%);
    animation: breatheHaze 12s ease-in-out infinite alternate;
}
.layer-terrain {
    z-index: 8;
    background-image: url('../img/western-terrain.webp');
    filter: contrast(1.05) saturate(1.06);
}
.layer-foreground-shadow {
    z-index: 11;
    background:
        linear-gradient(to top, rgba(8,2,3,.88) 0%, rgba(14,4,5,.46) 16%, transparent 41%),
        radial-gradient(ellipse at 50% 91%, rgba(9,2,3,.7), transparent 36%);
}
.layer-vignette {
    z-index: 25;
    background:
        radial-gradient(circle at 50% 48%, transparent 31%, rgba(31, 4, 10, .12) 62%, rgba(5, 1, 3, .70) 100%),
        linear-gradient(to bottom, rgba(15, 3, 9, .18), transparent 28%, rgba(8, 2, 3, .34));
}
.layer-grain {
    z-index: 26;
    opacity: .075;
    background-image:
        repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,.20) 0 .6px, transparent .8px 3px),
        repeating-linear-gradient(90deg, rgba(30,0,0,.16) 0 1px, transparent 1px 4px);
    background-size: 7px 7px, 11px 11px;
    mix-blend-mode: soft-light;
}
.dust-field { z-index: 10; pointer-events: none; opacity: var(--dust-opacity); overflow: hidden; }
.dust-field::before,
.dust-field::after {
    content: "";
    position: absolute;
    width: 42vmax;
    height: 42vmax;
    left: 8%;
    bottom: -26vmax;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239,178,103,.22), transparent 62%);
    filter: blur(20px);
    animation: dustFloat 18s ease-in-out infinite alternate;
}
.dust-field::after { left: auto; right: 4%; animation-duration: 23s; animation-delay: -6s; opacity: .7; }
.dust-field-front { z-index: 18; opacity: .22; }

.hero-top {
    position: relative;
    z-index: 40;
    display: grid;
    justify-items: center;
    align-items: start;
}
.brand-mark {
    width: max-content;
    max-width: min(86vw, 520px);
    color: var(--paper);
    text-align: center;
    text-decoration: none;
    text-shadow: 0 4px 20px rgba(0,0,0,.55);
}
.brand-kicker,
.eyebrow {
    display: block;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: #f0b871;
}
.brand-name {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 3.8vw, 4.1rem);
    line-height: .82;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -.055em;
    color: #f6d095;
}
.brand-logo {
    display: block;
    width: clamp(180px, 22vw, 420px);
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.46));
}
.brand-rule {
    display: block;
    width: 100%;
    height: 8px;
    margin-top: 4px;
    border-top: 1px solid rgba(232,169,93,.9);
    border-bottom: 1px solid rgba(232,169,93,.55);
}
.top-nav { justify-self: center; display: flex; gap: clamp(14px, 2vw, 32px); align-items: center; }
.top-nav a,
.social-strip a {
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255,230,196,.82);
}
.motion-toggle {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(232,169,93,.58);
    background: rgba(22,7,8,.46);
    color: var(--paper);
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
    cursor: pointer;
}
.motion-dot { width: 8px; height: 8px; border-radius: 50%; background: #e9ad61; box-shadow: 0 0 12px #e9ad61; }
.motion-toggle[aria-pressed="true"] .motion-dot { background: #777; box-shadow: none; }

.hero-copy {
    position: relative;
    z-index: 34;
    width: min(680px, 100%);
    margin: clamp(12px, 2.2vh, 30px) auto 0;
    text-align: center;
    text-shadow: 0 4px 25px rgba(0,0,0,.72);
}
h1, h2, p { margin-top: 0; }
h1 {
    margin: clamp(5px, 1vh, 10px) 0 clamp(8px, 1.3vh, 14px);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 6.8vw, 7.6rem);
    line-height: .78;
    letter-spacing: -.065em;
    font-style: italic;
    color: #ffd18d;
}
.lead {
    width: min(640px, 100%);
    margin: 0 auto;
    color: rgba(255,239,216,.9);
    font-size: clamp(.98rem, 1.4vw, 1.14rem);
    line-height: 1.58;
}
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: clamp(12px, 1.9vh, 20px); }
.jj-button {
    position: relative;
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid rgba(250,207,139,.76);
    text-decoration: none;
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .16em;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
    transition: transform .2s ease, filter .2s ease, background-color .2s ease;
}
.jj-button-primary { background: linear-gradient(180deg, #edbb71, #b86d32); color: #1b0708; box-shadow: 0 12px 30px rgba(0,0,0,.32); }
.jj-button-secondary { background: rgba(20,6,8,.62); color: #f7d29b; }

.character-stage {
    position: absolute;
    z-index: 22;
    left: 50%;
    bottom: calc(var(--rail-height) - clamp(4px, 1.2vh, 14px));
    width: min(1500px, 100vw);
    height: clamp(285px, 43vh, 500px);
    transform: translateX(-50%);
    pointer-events: none;
}
.character-card { position: absolute; bottom: 0; display: grid; justify-items: center; align-items: end; }
.character-nature { left: 3%; width: 34%; height: 86%; }
.character-girl { left: 35%; width: 29%; height: 94%; z-index: 3; }
.character-legend { right: 3%; width: 31%; height: 90%; z-index: 2; }
.character-art { position: absolute; inset: auto 0 0; display: grid; place-items: end center; }
.character-art img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 22px 20px rgba(0,0,0,.48)); }
.character-art-horse { left: -8%; width: 62%; height: 66%; opacity: .96; }
.character-art-cowboy { left: 27%; width: 50%; height: 90%; }
.character-art-cowgirl { width: 67%; height: 100%; left: 16%; }
.character-art-jesse { width: 64%; height: 98%; left: 18%; }
.character-placeholder,
.horse-placeholder {
    position: absolute;
    bottom: 0;
    opacity: .92;
    filter: drop-shadow(0 24px 18px rgba(0,0,0,.54));
}
.character-placeholder {
    width: 42%;
    height: 82%;
    min-width: 150px;
}
.character-placeholder::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 13%;
    width: 42%;
    height: 64%;
    transform: translateX(-50%);
    border-radius: 45% 45% 12% 12%;
    background: linear-gradient(145deg, rgba(245,193,119,.90), rgba(87,35,19,.95));
    box-shadow: inset 0 0 0 2px rgba(255,226,178,.14);
}
.character-placeholder::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 8%;
    width: 84%;
    height: 18%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent 0 8%, currentColor 8% 92%, transparent 92%);
    clip-path: polygon(7% 50%, 31% 0, 69% 0, 93% 50%, 70% 68%, 50% 100%, 30% 68%);
}
.horse-placeholder {
    left: -1%;
    bottom: 2%;
    width: 48%;
    height: 44%;
    color: #e8d1ad;
}
.horse-placeholder::before {
    content: "";
    position: absolute;
    left: 12%;
    bottom: 18%;
    width: 70%;
    height: 42%;
    border-radius: 48% 45% 32% 35%;
    background: linear-gradient(145deg, #f2dfc5, #b98b61);
}
.horse-placeholder::after {
    content: "";
    position: absolute;
    right: 2%;
    bottom: 43%;
    width: 22%;
    height: 26%;
    border-radius: 50% 42% 36% 30%;
    background: linear-gradient(145deg, #f2dfc5, #aa764d);
    box-shadow: -58px 44px 0 -19px #8a5435, -28px 46px 0 -19px #8a5435, 0 42px 0 -19px #8a5435, -83px 43px 0 -20px #8a5435;
}
.placeholder-cowboy { color: #8b4b24; left: 44%; }
.placeholder-cowgirl { color: #d9688d; height: 88%; }
.placeholder-cowgirl::before { background: linear-gradient(145deg, #f4a7be, #7a1f35); }
.placeholder-jesse { color: #090507; height: 90%; }
.placeholder-jesse::before { background: linear-gradient(145deg, #151014, #030203 70%); box-shadow: inset 0 0 0 2px rgba(232,169,93,.28); }
.placeholder-cowboy + .line-badge { left: 34%; }
.line-badge {
    position: absolute;
    bottom: 1.5%;
    z-index: 5;
    padding: 8px 12px;
    border: 1px solid rgba(235,174,95,.65);
    background: rgba(22,6,8,.72);
    color: #f1c98e;
    text-transform: uppercase;
    font-size: .66rem;
    font-weight: 950;
    letter-spacing: .14em;
    box-shadow: 0 10px 22px rgba(0,0,0,.28);
}
.line-badge-pink { color: #ffc2d3; border-color: rgba(226,101,138,.72); }
.line-badge-dark { color: #f2c06d; }

.smoke {
    position: absolute;
    z-index: 10;
    right: 34%;
    top: 23%;
    width: 42px;
    height: 90px;
    opacity: .72;
}
.smoke span {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 10px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, var(--smoke), transparent 68%);
    filter: blur(4px);
    transform-origin: bottom center;
    animation: smokeRise var(--smoke-speed) ease-in-out infinite;
}
.smoke span:nth-child(2) { animation-delay: -2.1s; left: 32%; --smoke-speed: 7.4s; }
.smoke span:nth-child(3) { animation-delay: -4.4s; left: 62%; --smoke-speed: 8.2s; }

.bottom-dock {
    position: absolute;
    z-index: 45;
    left: 50%;
    bottom: var(--dock-bottom);
    width: min(calc((var(--menu-item-size) * 7) + var(--contact-item-width) + 14px), calc(100vw - 20px));
    display: grid;
    grid-template-columns: minmax(0, calc(var(--menu-item-size) * 7)) var(--contact-item-width);
    align-items: end;
    gap: 2px;
    transform: translateX(-50%);
}
.category-rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, var(--menu-item-size)));
    justify-content: end;
    align-items: end;
    gap: 0;
}
.category-link {
    position: relative;
    display: grid;
    place-items: center;
    gap: 5px;
    min-height: 66px;
    padding: 8px 5px;
    border: 1px solid rgba(232,169,93,.28);
    color: rgba(255,234,202,.88);
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(.58rem, .68vw, .72rem);
    font-weight: 950;
    letter-spacing: .09em;
    background: rgba(17,5,7,.48);
    box-shadow: 0 14px 28px rgba(0,0,0,.30);
    transition: transform .18s ease, filter .18s ease, background-color .18s ease, border-color .18s ease;
}
.category-link-image {
    min-height: 0;
    width: var(--menu-item-size);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform-origin: center bottom;
    margin-inline: -3px;
}
.category-link-image img,
.contact-tile-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(var(--rail-height), var(--menu-item-size));
    object-fit: contain;
    filter: drop-shadow(0 12px 14px rgba(0,0,0,.44));
}
.category-link-image img { max-height: min(var(--rail-height), var(--menu-item-size)); object-fit: contain; }
.contact-tile {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 96px;
    padding: 12px;
    border: 1px solid rgba(232,169,93,.55);
    background: linear-gradient(180deg, rgba(56,20,12,.84), rgba(15,5,6,.92));
    color: #f7d29b;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: .10em;
    box-shadow: 0 16px 34px rgba(0,0,0,.38);
    transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}
.contact-tile strong { display: block; margin-top: 4px; font-size: .82rem; color: var(--cream); }
.contact-tile-image {
    min-height: 0;
    width: var(--contact-item-width);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform-origin: center bottom;
    margin-left: -4px;
}
.category-icon {
    width: 28px;
    height: 24px;
    color: #e8ad62;
    background: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}
.icon-paper { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath fill='black' d='M7 13h39c7 0 11 5 11 11s-4 11-11 11H7v-6h39c3 0 5-2 5-5s-2-5-5-5H7zM11 21h27v6H11z'/%3E%3C/svg%3E"); }
.icon-filter { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath fill='black' d='M10 15h34c7 0 10 4 10 9s-3 9-10 9H10zm6 6v6h27c3 0 5-1 5-3s-2-3-5-3zm3-12h6v30h-6z'/%3E%3C/svg%3E"); }
.icon-gear { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath fill='black' d='M32 6l5 7 8-2 2 8 7 5-7 5-2 8-8-2-5 7-5-7-8 2-2-8-7-5 7-5 2-8 8 2zm0 13a5 5 0 100 10 5 5 0 000-10z'/%3E%3C/svg%3E"); }
.icon-box { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath fill='black' d='M12 15l20-8 20 8v22l-20 7-20-7zm8 5l12 5 12-5-12-5zm9 11l-11-4v7l11 4zm6 7l11-4v-7l-11 4z'/%3E%3C/svg%3E"); }
.icon-crown { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath fill='black' d='M8 15l13 10 11-17 11 17 13-10-5 24H13zm8 18h32l1-5-8 5-9-14-9 14-8-5z'/%3E%3C/svg%3E"); }
.icon-spark { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath fill='black' d='M32 5l7 14 16 2-12 11 3 15-14-8-14 8 3-15L9 21l16-2z'/%3E%3C/svg%3E"); }
.icon-hat { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath fill='black' d='M12 31c4-2 7-4 9-11 2-6 6-10 11-10s9 4 11 10c2 7 5 9 9 11 4 2 3 7-2 7H14c-5 0-6-5-2-7zm14-3h12c-1-7-3-11-6-11s-5 4-6 11z'/%3E%3C/svg%3E"); }
.social-strip {
    position: absolute;
    z-index: 44;
    right: var(--hero-pad-x);
    top: 50%;
    display: grid;
    gap: 10px;
    transform: translateY(-50%);
}
.social-strip a {
    min-width: 44px;
    min-height: 38px;
    display: grid;
    place-items: center;
    padding: 0 10px;
    border: 1px solid rgba(232,169,93,.42);
    background: rgba(17,5,7,.48);
}

@media (hover: hover) and (pointer: fine) {
    .category-link:hover,
    .contact-tile:hover { transform: translateY(-3px); }
    .category-link-image:hover,
    .contact-tile-image:hover { transform: translateY(-5px) scale(1.025); filter: brightness(1.08) saturate(1.06); }
    .category-link:hover { background: rgba(80,26,14,.62); border-color: rgba(239,184,108,.72); }
    .category-link-image:hover { background: transparent; }
    .contact-tile:hover { border-color: rgba(239,184,108,.80); }
    .top-nav a:hover,
    .social-strip a:hover { color: #fff0d4; }
}
:focus-visible { outline: 3px solid #ffd28f; outline-offset: 4px; }

@keyframes windBack {
    0% { transform: translate3d(-4.3%, 0, 0); }
    48% { transform: translate3d(.6%, -.12%, 0); }
    100% { transform: translate3d(4.3%, .04%, 0); }
}
@keyframes windFront {
    0% { transform: translate3d(5.1%, -.08%, 0); }
    45% { transform: translate3d(.2%, .08%, 0); }
    100% { transform: translate3d(-5.1%, -.06%, 0); }
}
@keyframes breatheHaze { from { opacity: .26; transform: scale(1.01); } to { opacity: .40; transform: scale(1.024); } }
@keyframes sunsetPulse { from { opacity: .58; transform: scale(1); } to { opacity: .78; transform: scale(1.025); } }
@keyframes dustFloat { from { transform: translate3d(-3%, 2%, 0) scale(1); } to { transform: translate3d(5%, -3%, 0) scale(1.08); } }
@keyframes smokeRise {
    0% { opacity: 0; transform: translate3d(0, 0, 0) scale(.55) rotate(0deg); }
    18% { opacity: .52; }
    58% { opacity: .34; transform: translate3d(8px, -42px, 0) scale(1.1) rotate(9deg); }
    100% { opacity: 0; transform: translate3d(-10px, -86px, 0) scale(1.8) rotate(-8deg); }
}

.jj-hero.motion-paused .cloud-drift,
.jj-hero.motion-paused .layer-haze,
.jj-hero.motion-paused .layer-sun,
.jj-hero.motion-paused .dust-field::before,
.jj-hero.motion-paused .dust-field::after,
.jj-hero.motion-paused .smoke span { animation-play-state: paused; }

@media (max-width: 1120px) {
    :root { --menu-item-size: clamp(70px, 8.4vw, 94px); --contact-item-width: clamp(106px, 12vw, 142px); --rail-height: clamp(76px, 12vh, 108px); --dock-bottom: clamp(16px, 2.6vh, 30px); }
    .hero-top { justify-items: center; }
    .social-strip { display: none; }
}

@media (max-width: 760px) {
    :root { --menu-item-size: clamp(38px, 11.4vw, 58px); --contact-item-width: clamp(66px, 18vw, 98px); --rail-height: clamp(58px, 12vh, 94px); --dock-bottom: clamp(14px, 2.4vh, 24px); --dust-opacity: .22; --safe-hero-top: 10px; }
    .jj-hero {
        height: 100vh;
        height: 100svh;
        min-height: 0;
        padding: var(--safe-hero-top) 10px calc(var(--rail-height) + 8px);
        display: grid;
        align-content: start;
    }
    .hero-top { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
    .brand-mark { text-align: center; }
    .brand-name { font-size: clamp(2.35rem, 12vw, 4.1rem); }

    .bottom-dock {
        left: 50%;
        bottom: var(--dock-bottom);
        width: min(calc((var(--menu-item-size) * 7) + var(--contact-item-width) + 4px), calc(100vw - 10px));
        grid-template-columns: minmax(0, calc(var(--menu-item-size) * 7)) var(--contact-item-width);
        gap: 0;
    }
    .category-rail {
        grid-template-columns: repeat(7, minmax(0, var(--menu-item-size)));
        justify-content: end;
        gap: 0;
    }
    .category-link { min-height: 38px; grid-template-columns: 28px 1fr; justify-items: start; text-align: left; font-size: .62rem; }
    .category-link-image { display: block; min-height: 0; width: var(--menu-item-size); margin-inline: -1px; }
    .category-link-image img { max-height: min(var(--rail-height), var(--menu-item-size)); }
    .category-icon { width: 22px; height: 20px; }
    .contact-tile {
        min-height: 46px;
        align-self: end;
        justify-self: stretch;
        padding: 6px;
        font-size: .54rem;
    }
    .contact-tile strong { font-size: .54rem; }
    .contact-tile-image { width: var(--contact-item-width); padding: 0; margin-left: -2px; }
    .layer-clouds { inset: -2% -18%; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 57%, rgba(0,0,0,.72) 68%, transparent 80%); mask-image: linear-gradient(to bottom, #000 0%, #000 57%, rgba(0,0,0,.72) 68%, transparent 80%); }
    .cloud-drift-back { animation-duration: 82s; }
    .cloud-drift-front { animation-duration: 58s; }
}

@media (max-width: 420px) {
    :root { --menu-item-size: clamp(35px, 11vw, 46px); --contact-item-width: clamp(60px, 17vw, 80px); --rail-height: clamp(50px, 11vh, 76px); --dock-bottom: clamp(12px, 2vh, 20px); }
    .brand-kicker { font-size: .56rem; }
    .category-link { min-height: 34px; }
    .category-link-image img { max-height: min(var(--rail-height), var(--menu-item-size)); }
    .contact-tile { min-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .cloud-drift,
    .layer-haze,
    .layer-sun,
    .dust-field::before,
    .dust-field::after,
    .smoke span { animation: none !important; }
    .parallax { transform: none !important; }
}
