/* ============================================================
   hinagiku.moe — Isometric Futurism Design System
   Colors: #0A0F14 #0D1B2A #1A2E3F #E8EDEE #B8C4CC #7DB8D4 #C8A44A #2DD4BF #F5F0E8
   Font: Commissioner (variable) — Inter fallback via IntersectionObserver-driven lazy load
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Palette */
    --abyss: #0A0F14;
    --deep-circuit: #0D1B2A;
    --iso-shadow: #1A2E3F;
    --polar-chrome: #E8EDEE;
    --mist-silver: #B8C4CC;
    --crystal-blue: #7DB8D4;
    --hex-gold: #C8A44A;
    --circuit-teal: #2DD4BF;
    --daisy-white: #F5F0E8;

    /* Typography variable axes */
    --font-commissioner: "Commissioner", sans-serif;
    --wdth-hero: 125;
    --wdth-section: 100;
    --wdth-body: 75;
    --wdth-label: 50;
    --wdth-coords: 100;

    /* Spacing */
    --hex-size: 80px;
    --hex-size-lg: 240px;
    --hex-size-sm: 120px;
    --section-pad: 120px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--abyss);
    color: var(--mist-silver);
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" var(--wdth-body), "wght" 400;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: crosshair;
}

a {
    color: var(--crystal-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--circuit-teal);
}

/* ---------- Navigation ---------- */
#site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
    background: linear-gradient(to bottom, rgba(10,15,20,0.95) 0%, rgba(10,15,20,0) 100%);
    mix-blend-mode: normal;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-logo-text {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 125, "wght" 700;
    font-size: 18px;
    color: var(--polar-chrome);
    letter-spacing: -0.02em;
}

.nav-logo-sub {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 300;
    font-size: 11px;
    color: var(--hex-gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-coords {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coord-label {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 300;
    font-size: 11px;
    color: var(--circuit-teal);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
}

.coord-sep {
    color: var(--iso-shadow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 75, "wght" 400;
    font-size: 13px;
    color: var(--mist-silver);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s, font-variation-settings 0.3s;
}

.nav-link:hover {
    color: var(--crystal-blue);
    font-variation-settings: "wdth" 100, "wght" 500;
}

/* ---------- Hero Section: Isometric Hex Field ---------- */
#hex-field {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background-color: var(--abyss);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-iso-container {
    position: absolute;
    inset: 0;
    perspective: 1000px;
    overflow: hidden;
}

.hex-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-45deg);
    transform-style: preserve-3d;
    width: 160vw;
    height: 160vh;
    display: grid;
    grid-template-columns: repeat(20, 80px);
    gap: 0;
    align-content: start;
}

.hex-cell-bg {
    width: 80px;
    height: 92px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--deep-circuit);
    border: 1px solid transparent;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.4s ease;
    position: relative;
    margin-top: -6px;
}

.hex-cell-bg.odd-col {
    margin-top: 40px;
}

.hex-cell-bg.active {
    opacity: 1;
    transform: scale(1);
}

.hex-cell-bg:hover {
    background: var(--iso-shadow);
    outline: 1px solid var(--circuit-teal);
    opacity: 1;
}

.hex-cell-bg .hex-coord-bg {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 200;
    font-size: 7px;
    color: var(--circuit-teal);
    opacity: 0.4;
    letter-spacing: 0.05em;
    white-space: nowrap;
    pointer-events: none;
}

/* Isometric SVG ground grid lines */
.hex-iso-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(30deg, var(--iso-shadow) 1px, transparent 1px),
        linear-gradient(150deg, var(--iso-shadow) 1px, transparent 1px),
        linear-gradient(90deg, var(--iso-shadow) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 80px 80px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

/* Daisy SVG on isometric plane */
.daisy-iso-wrapper {
    position: absolute;
    z-index: 5;
    width: 280px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-45deg) translateZ(2px);
    opacity: 0.25;
    pointer-events: none;
}

.daisy-svg {
    width: 100%;
    height: 100%;
}

.petal {
    fill: var(--daisy-white);
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.daisy-center {
    fill: var(--hex-gold);
    opacity: 0.9;
}

.daisy-center-ring {
    fill: var(--daisy-white);
    opacity: 0.6;
}

/* Hero text overlay */
.hero-text-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

.hero-heading {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" var(--wdth-hero), "wght" 700;
    font-size: clamp(56px, 10vw, 140px);
    color: var(--polar-chrome);
    letter-spacing: -0.02em;
    line-height: 0.95;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.3s, transform 1s ease 0.3s, font-variation-settings 0.8s ease;
}

.hero-heading.visible {
    opacity: 1;
    transform: translateY(0);
    font-variation-settings: "wdth" 125, "wght" 700;
}

.hero-sub {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 300;
    font-size: 13px;
    color: var(--hex-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    transition: opacity 1s ease 0.6s;
}

.hero-sub.visible {
    opacity: 1;
}

.hero-coords {
    margin-top: 8px;
    opacity: 0;
    transition: opacity 1s ease 0.8s;
}

.hero-coords.visible {
    opacity: 1;
}

.coord-display {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 100, "wght" 200;
    font-size: 13px;
    color: var(--circuit-teal);
    opacity: 0.6;
    letter-spacing: 0.1em;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
}

.scroll-hint-text {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 300;
    font-size: 10px;
    color: var(--mist-silver);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--mist-silver), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ---------- Hex cell bloom animation ---------- */
@keyframes hex-bloom {
    0% { opacity: 0; transform: scale(0.6); }
    60% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.hex-cell-bg.bloom {
    animation: hex-bloom 0.6s ease forwards;
    animation-delay: var(--delay, 0ms);
}

/* ---------- Aperture Section ---------- */
#aperture-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--abyss);
    overflow: hidden;
}

.aperture-mask {
    position: absolute;
    inset: 0;
    clip-path: polygon(50% 25%, 100% 0%, 100% 75%, 50% 100%, 0% 75%, 0% 0%);
    transition: clip-path 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.aperture-mask.open {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.aperture-mask.fullscreen {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.aperture-photo {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.aperture-photo svg,
.aperture-photo .photo-texture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aperture-caption {
    position: relative;
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

.aperture-label {
    display: block;
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 300;
    font-size: 11px;
    color: var(--hex-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.aperture-text {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 75, "wght" 400;
    font-size: 18px;
    color: var(--polar-chrome);
    max-width: 500px;
    line-height: 1.6;
}

/* ---------- Hex Content Section ---------- */
#hex-content {
    padding: var(--section-pad) 48px;
    background: var(--deep-circuit);
    overflow: hidden;
}

.hex-content-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-heading {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 75, "wght" 600;
    font-size: clamp(28px, 4vw, 48px);
    color: var(--crystal-blue);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    transition: font-variation-settings 0.8s ease;
}

.section-heading.wdth-expanded {
    font-variation-settings: "wdth" 125, "wght" 600;
}

.section-sub {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 300;
    font-size: 13px;
    color: var(--hex-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Hex Content Grid */
.hex-content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hex-cell {
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hex-cell.visible {
    opacity: 1;
    transform: scale(1);
}

.hex-cell.visible:nth-child(1) { transition-delay: 0ms; }
.hex-cell.visible:nth-child(2) { transition-delay: 80ms; }
.hex-cell.visible:nth-child(3) { transition-delay: 160ms; }
.hex-cell.visible:nth-child(4) { transition-delay: 240ms; }
.hex-cell.visible:nth-child(5) { transition-delay: 320ms; }
.hex-cell.visible:nth-child(6) { transition-delay: 400ms; }
.hex-cell.visible:nth-child(7) { transition-delay: 480ms; }

.hex-large {
    width: 280px;
    height: 320px;
}

.hex-small {
    width: 160px;
    height: 184px;
}

.hex-clip {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--iso-shadow);
    border: 0;
    transition: background 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hex-cell:hover .hex-clip {
    background: var(--crystal-blue);
    transform: scale(1.04);
}

.hex-cell.hex-teal .hex-clip {
    background: rgba(45, 212, 191, 0.15);
    outline: 1px solid var(--circuit-teal);
}

.hex-cell.hex-gold .hex-clip {
    background: rgba(200, 164, 74, 0.12);
    outline: 1px solid var(--hex-gold);
}

.hex-cell.hex-outline .hex-clip {
    background: transparent;
    outline: 1px solid var(--iso-shadow);
}

.hex-cell.hex-teal:hover .hex-clip {
    background: rgba(45, 212, 191, 0.3);
}

.hex-cell.hex-gold:hover .hex-clip {
    background: rgba(200, 164, 74, 0.25);
}

.hex-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px 20px;
    text-align: center;
}

.hex-coord {
    display: block;
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 200;
    font-size: 9px;
    color: var(--circuit-teal);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 10px;
}

.hex-title {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 100, "wght" 600;
    font-size: 20px;
    color: var(--polar-chrome);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hex-title-sm {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 100, "wght" 500;
    font-size: 14px;
    color: var(--polar-chrome);
    letter-spacing: 0.05em;
}

.hex-body {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 75, "wght" 400;
    font-size: 12px;
    color: var(--mist-silver);
    line-height: 1.6;
    max-width: 180px;
}

/* Ripple ring on hover */
.hex-cell::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 2px solid var(--circuit-teal);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    pointer-events: none;
}

.hex-cell:hover::after {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* ---------- Isometric 3D Box Section ---------- */
#isometric-boxes {
    padding: var(--section-pad) 48px;
    background: var(--abyss);
    overflow: hidden;
}

.iso-section-header {
    text-align: center;
    margin-bottom: 80px;
}

.iso-boxes-wrapper {
    display: flex;
    gap: 80px;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    perspective: 1000px;
}

.iso-box-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.iso-box-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.iso-box-container:nth-child(1).visible { transition-delay: 0ms; }
.iso-box-container:nth-child(2).visible { transition-delay: 150ms; }
.iso-box-container:nth-child(3).visible { transition-delay: 300ms; }

.iso-box {
    position: relative;
    width: 160px;
    height: 160px;
    transform-style: preserve-3d;
    transform: rotateX(30deg) rotateY(-30deg) rotateZ(5deg);
    transition: transform 0.5s ease;
}

.iso-box:hover {
    transform: rotateX(25deg) rotateY(-35deg) rotateZ(5deg) scale(1.05);
}

.iso-face {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 16px;
    gap: 4px;
    overflow: hidden;
}

/* Top face */
.iso-top {
    width: 160px;
    height: 160px;
    background: var(--iso-shadow);
    transform: rotateX(0deg) translateZ(0px);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
}

/* Right face — skewed to simulate isometric right wall */
.iso-right {
    width: 80px;
    height: 100px;
    background: var(--deep-circuit);
    top: 115px;
    left: 100px;
    transform: skewY(-30deg);
    border-left: 1px solid var(--iso-shadow);
}

/* Left face — skewed to simulate isometric left wall */
.iso-left {
    width: 80px;
    height: 100px;
    background: rgba(26, 46, 63, 0.6);
    top: 115px;
    left: 0px;
    transform: skewY(30deg);
    border-right: 1px solid var(--iso-shadow);
}

/* Color variants */
.iso-box-teal .iso-top {
    background: rgba(45, 212, 191, 0.12);
    outline: 1px solid var(--circuit-teal);
}

.iso-box-teal .iso-right {
    background: rgba(45, 212, 191, 0.08);
}

.iso-box-teal .iso-left {
    background: rgba(45, 212, 191, 0.05);
}

.iso-box-gold .iso-top {
    background: rgba(200, 164, 74, 0.12);
    outline: 1px solid var(--hex-gold);
}

.iso-box-gold .iso-right {
    background: rgba(200, 164, 74, 0.08);
}

.iso-box-gold .iso-left {
    background: rgba(200, 164, 74, 0.05);
}

.iso-face-label {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 600;
    font-size: 10px;
    color: var(--hex-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.iso-face-coord {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 300;
    font-size: 9px;
    color: var(--mist-silver);
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.iso-box-caption {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.iso-box-num {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 100, "wght" 200;
    font-size: 48px;
    color: var(--circuit-teal);
    opacity: 0.35;
    line-height: 1;
}

.iso-box-title {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 75, "wght" 400;
    font-size: 13px;
    color: var(--mist-silver);
    letter-spacing: 0.05em;
}

/* ---------- Ripple Zone ---------- */
#ripple-zone {
    position: relative;
    padding: var(--section-pad) 48px;
    background: var(--deep-circuit);
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.ripple-heading {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 75, "wght" 600;
    font-size: clamp(28px, 4vw, 48px);
    color: var(--crystal-blue);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    transition: font-variation-settings 0.8s ease;
}

.ripple-heading.wdth-expanded {
    font-variation-settings: "wdth" 125, "wght" 600;
}

.ripple-sub {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 300;
    font-size: 13px;
    color: var(--hex-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.ripple-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ripple-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    pointer-events: none;
    animation: ripple-expand 600ms ease-out forwards;
    animation-delay: var(--ring-delay, 0ms);
}

.ripple-ring svg polygon {
    fill: none;
    stroke: var(--circuit-teal);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

@keyframes ripple-expand {
    0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; }
}

/* ---------- Photo Grid Section ---------- */
#photo-grid {
    padding: var(--section-pad) 48px;
    background: var(--abyss);
    overflow: hidden;
}

.photo-grid-header {
    text-align: center;
    margin-bottom: 64px;
}

.photo-hex-row {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.photo-hex {
    position: relative;
    overflow: visible;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.photo-hex.visible {
    opacity: 1;
    transform: scale(1);
}

.photo-hex:nth-child(1).visible { transition-delay: 0ms; }
.photo-hex:nth-child(2).visible { transition-delay: 120ms; }
.photo-hex:nth-child(3).visible { transition-delay: 240ms; }

.photo-hex-large {
    width: 300px;
    height: 346px;
}

.photo-hex-med {
    width: 200px;
    height: 230px;
}

.photo-hex-clip {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    transition: transform 0.4s ease;
}

.photo-hex:hover .photo-hex-clip {
    transform: scale(1.04);
}

.photo-fill {
    width: 100%;
    height: 100%;
    display: block;
}

.photo-hex-label {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.photo-label-text {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 300;
    font-size: 9px;
    color: var(--mist-silver);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.photo-coord {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 200;
    font-size: 8px;
    color: var(--circuit-teal);
    opacity: 0.5;
    letter-spacing: 0.1em;
}

/* ---------- Footer ---------- */
#site-footer {
    position: relative;
    padding: 80px 48px;
    background: var(--abyss);
    border-top: 1px solid var(--iso-shadow);
    overflow: hidden;
}

.footer-hex-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(12, 60px);
    gap: 0;
    justify-content: center;
    align-content: start;
    opacity: 0.06;
    pointer-events: none;
    padding-top: 10px;
}

.footer-hex-bg {
    width: 60px;
    height: 69px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--iso-shadow);
    margin-top: -4px;
}

.footer-hex-bg:nth-child(odd) {
    margin-top: 30px;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-logo-text {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 125, "wght" 700;
    font-size: 36px;
    color: var(--polar-chrome);
    letter-spacing: -0.02em;
}

.footer-logo-tagline {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 75, "wght" 400;
    font-size: 14px;
    color: var(--mist-silver);
    letter-spacing: 0.05em;
}

.footer-coords {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-coord-item {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 300;
    font-size: 10px;
    color: var(--circuit-teal);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
}

.footer-meta {
    margin-top: 8px;
}

.footer-meta-text {
    font-family: var(--font-commissioner);
    font-variation-settings: "wdth" 50, "wght" 200;
    font-size: 11px;
    color: var(--hex-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.5;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--abyss);
}

::-webkit-scrollbar-thumb {
    background: var(--iso-shadow);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--circuit-teal);
}

/* ---------- Selection ---------- */
::selection {
    background: var(--circuit-teal);
    color: var(--abyss);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    :root {
        --section-pad: 80px;
    }

    #site-nav {
        padding: 16px 24px;
    }

    .nav-links {
        gap: 20px;
    }

    .iso-boxes-wrapper {
        gap: 40px;
    }

    .photo-hex-large {
        width: 220px;
        height: 254px;
    }
}

@media (max-width: 600px) {
    :root {
        --section-pad: 60px;
    }

    #site-nav {
        padding: 14px 20px;
    }

    .nav-links {
        display: none;
    }

    .hex-large {
        width: 220px;
        height: 254px;
    }

    .iso-boxes-wrapper {
        gap: 24px;
    }

    .iso-box {
        width: 120px;
        height: 120px;
    }

    .iso-top {
        width: 120px;
        height: 120px;
    }

    .iso-right,
    .iso-left {
        width: 60px;
        height: 80px;
    }

    .iso-right {
        top: 88px;
        left: 74px;
    }

    .iso-left {
        top: 88px;
    }

    .footer-coords {
        flex-direction: column;
        gap: 8px;
    }
}
