/* ===========================================================
   nonri.day - Holographic Stratigraphy
   =========================================================== */

:root {
    --void-black: #0A0A0F;
    --deep-graphite: #12121A;
    --obsidian: #1A1A28;
    --ghost-line: #1E1E2E;
    --ice-mist: #E0E8F0;
    --cool-slate: #8A92A8;
    --deep-slate: #5C6480;
    --neon-rose: #FF6B9D;
    --electric-violet: #C084FC;
    --cyan-spark: #60D5FA;
    --acid-lime: #A3F77B;
    --solar-gold: #FFD166;

    --holo-gradient: linear-gradient(135deg, #FF6B9D 0%, #C084FC 25%, #60D5FA 50%, #A3F77B 75%, #FFD166 100%);
    --holo-gradient-soft: linear-gradient(135deg, rgba(255,107,157,0.6) 0%, rgba(192,132,252,0.6) 25%, rgba(96,213,250,0.6) 50%, rgba(163,247,123,0.6) 75%, rgba(255,209,102,0.6) 100%);

    --halo: 0 0 40px rgba(96, 213, 250, 0.08), 0 0 80px rgba(192, 132, 252, 0.05);
    --halo-strong: 0 0 60px rgba(96, 213, 250, 0.18), 0 0 110px rgba(192, 132, 252, 0.12);

    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

    --margin-side: 10vw;
    --gutter: 48px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--void-black);
    color: var(--ice-mist);
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 12% 18%, rgba(96, 213, 250, 0.04), transparent 50%),
        radial-gradient(ellipse at 88% 78%, rgba(192, 132, 252, 0.04), transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(10,10,15,0.7), var(--void-black) 80%);
    pointer-events: none;
    z-index: 0;
}

/* ============ Background contour texture ============ */
.contour-texture {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
    mix-blend-mode: screen;
}

.contour-texture svg {
    width: 100%;
    height: 100%;
}

/* ============ Navigation glyph ============ */
.nav-glyph {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 100;
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.diamond {
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    transform: rotate(45deg);
    transition: transform 0.5s var(--spring), filter 0.5s var(--ease-soft);
    padding: 0;
}

.diamond::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--holo-gradient);
    border-radius: 1px;
    opacity: 0.92;
}

.diamond::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--void-black);
    border-radius: 1px;
}

.diamond-inner {
    position: absolute;
    inset: 4px;
    background: var(--holo-gradient);
    border-radius: 1px;
    opacity: 0.85;
    animation: holo-shift 8s linear infinite;
    background-size: 300% 300%;
}

.diamond:hover {
    transform: rotate(135deg) scale(1.18);
    filter: drop-shadow(0 0 14px rgba(96, 213, 250, 0.55));
}

.radial-menu {
    list-style: none;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 0;
    height: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s var(--ease-soft);
}

.radial-menu li {
    position: absolute;
    transform: translate(-50%, -50%);
    transition: transform 0.7s var(--spring), opacity 0.5s var(--ease-soft);
    opacity: 0;
}

.nav-glyph.open .radial-menu {
    opacity: 1;
    pointer-events: auto;
}

.nav-glyph.open .radial-menu li {
    opacity: 1;
}

.nav-glyph.open .radial-menu li:nth-child(1) { transform: translate(-105px, 30px); }
.nav-glyph.open .radial-menu li:nth-child(2) { transform: translate(-130px, 70px); }
.nav-glyph.open .radial-menu li:nth-child(3) { transform: translate(-130px, 110px); }
.nav-glyph.open .radial-menu li:nth-child(4) { transform: translate(-105px, 150px); }
.nav-glyph.open .radial-menu li:nth-child(5) { transform: translate(-60px, 175px); }

.radial-menu a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cool-slate);
    text-decoration: none;
    padding: 6px 10px;
    background: rgba(18, 18, 26, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--ghost-line);
    border-radius: 1px;
    position: relative;
    transition: color 0.3s, border-color 0.3s, transform 0.3s var(--spring);
    display: inline-block;
    white-space: nowrap;
}

.radial-menu a::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: var(--holo-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 1px;
}

.radial-menu a:hover {
    color: var(--ice-mist);
    transform: translateX(-4px);
}

.radial-menu a:hover::before {
    opacity: 1;
}

/* ============ Scroll indicator ============ */
.scroll-indicator {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    width: 1px;
    height: 64px;
    pointer-events: none;
}

.scroll-bar {
    display: block;
    width: 1px;
    height: 100%;
    background: var(--holo-gradient);
    background-size: 100% 300%;
    animation: scroll-breath 3s ease-in-out infinite, holo-shift 8s linear infinite;
    transform-origin: center;
    border-radius: 1px;
    opacity: 0.85;
}

@keyframes scroll-breath {
    0%, 100% { transform: scaleY(1); opacity: 0.55; }
    50% { transform: scaleY(0.55); opacity: 1; }
}

@keyframes holo-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============ Stratigraphy / Sections ============ */
.stratigraphy {
    position: relative;
    z-index: 2;
}

.stratum {
    position: relative;
    min-height: 100vh;
    padding: 12vh var(--margin-side);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto 1fr auto;
    gap: 24px var(--gutter);
    overflow: hidden;
}

.stratum::before {
    content: attr(data-stratum);
    position: absolute;
    top: 32px;
    left: var(--margin-side);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--deep-slate);
    opacity: 0.7;
    z-index: 5;
}

.stratum-summit {
    background: var(--void-black);
}
.stratum-cloudline {
    background: var(--deep-graphite);
}
.stratum-timberline {
    background: var(--obsidian);
}
.stratum-ravine {
    background: var(--void-black);
}
.stratum-valley {
    background: var(--deep-graphite);
}

/* ============ Z-pattern anchor positions ============ */
.z-anchor {
    position: relative;
    z-index: 4;
}

.anchor-tl {
    grid-column: 1 / span 3;
    grid-row: 1;
    align-self: start;
    justify-self: start;
    max-width: 460px;
}

.anchor-tr {
    grid-column: 5 / span 2;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anchor-center {
    grid-column: 2 / span 4;
    grid-row: 2;
    align-self: center;
    justify-self: center;
    text-align: center;
    width: 100%;
    z-index: 3;
}

.anchor-bl {
    grid-column: 1 / span 3;
    grid-row: 3;
    align-self: end;
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 16px;
}

.anchor-br {
    grid-column: 5 / span 2;
    grid-row: 3;
    align-self: end;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Diagonal traverse line spanning the section */
.diagonal-traverse {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.diag-line {
    position: absolute;
    top: 22%;
    right: 18%;
    width: 64%;
    height: 1px;
    background: var(--holo-gradient);
    background-size: 200% 100%;
    transform-origin: right center;
    transform: rotate(28deg);
    opacity: 0.32;
    animation: holo-shift 12s linear infinite;
}

/* ============ Typography ============ */
.display {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(56px, 9vw, 86px);
    letter-spacing: 0.03em;
    color: var(--ice-mist);
    line-height: 1.05;
    margin-bottom: 28px;
}

.tagline {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--cool-slate);
    letter-spacing: 0.04em;
    margin-bottom: 32px;
}

.summit-meta {
    display: inline-block;
    margin-top: 8px;
}

.meta-mono {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--deep-slate);
    font-style: normal;
    display: block;
    line-height: 1.9;
}

.anchor-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--deep-slate);
    position: relative;
    cursor: default;
}

.anchor-label.small {
    font-size: 10px;
    color: var(--cool-slate);
}

.anchor-label::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--holo-gradient);
    transition: width 0.4s var(--ease-soft);
}

.anchor-label:hover::after {
    width: 100%;
}

.paragraph {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    color: var(--cool-slate);
    margin-top: 20px;
    max-width: 38ch;
}

.paragraph.small {
    font-size: 14px;
    max-width: 32ch;
    color: var(--cool-slate);
}

.pullquote {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.3;
    text-align: center;
    pointer-events: none;
    width: max-content;
    max-width: 60vw;
}

.pullquote span {
    background: var(--holo-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: holo-shift 14s linear infinite;
    display: inline-block;
    letter-spacing: 0.02em;
}

.featured-phrase {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(44px, 6vw, 72px);
    letter-spacing: 0.02em;
    line-height: 1.15;
    background: var(--holo-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: holo-shift 12s linear infinite;
}

.closing {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: var(--ice-mist);
    opacity: 0.92;
    max-width: 26ch;
    margin: 0 auto 40px;
}

/* ============ Diamond marker ============ */
.diamond-marker {
    width: 8px;
    height: 8px;
    background: var(--holo-gradient);
    background-size: 200% 200%;
    transform: rotate(45deg);
    display: inline-block;
    flex-shrink: 0;
    animation: holo-shift 10s linear infinite;
}

/* ============ Holographic forms ============ */
.holo-form {
    position: relative;
    will-change: transform;
}

/* Icosahedron - layered transparent triangles */
.icosahedron {
    width: 180px;
    height: 180px;
    transform-style: preserve-3d;
    perspective: 800px;
    animation: rotate-y 60s linear infinite, rotate-x 90s linear infinite;
    box-shadow: var(--halo);
    filter: drop-shadow(0 0 20px rgba(96, 213, 250, 0.15));
}

.icosahedron .face {
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-image: var(--holo-gradient) 1;
    background:
        linear-gradient(135deg, rgba(192,132,252,0.04), rgba(96,213,250,0.04));
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    transform-style: preserve-3d;
}

.icosahedron .f1 { transform: rotateY(0deg) rotateX(0deg); border-color: rgba(192,132,252,0.6); }
.icosahedron .f2 { transform: rotateY(45deg); border-color: rgba(96,213,250,0.55); }
.icosahedron .f3 { transform: rotateY(90deg); border-color: rgba(255,107,157,0.5); }
.icosahedron .f4 { transform: rotateY(135deg); border-color: rgba(163,247,123,0.5); }
.icosahedron .f5 { transform: rotateX(45deg); border-color: rgba(255,209,102,0.55); }
.icosahedron .f6 { transform: rotateX(90deg); border-color: rgba(96,213,250,0.55); }
.icosahedron .f7 { transform: rotateX(135deg) rotateY(45deg); border-color: rgba(192,132,252,0.6); }
.icosahedron .f8 { transform: rotateZ(45deg); border-color: rgba(255,107,157,0.45); }

.icosahedron::before {
    content: '';
    position: absolute;
    inset: 30%;
    background: radial-gradient(circle, rgba(96,213,250,0.18) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes rotate-y {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

@keyframes rotate-x {
    from { transform: rotateX(0deg); }
    to { transform: rotateX(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* Terrain meshes */
.terrain-mesh {
    width: 220px;
    height: 160px;
    filter: drop-shadow(0 0 18px rgba(96, 213, 250, 0.1));
    animation: gentle-float 12s ease-in-out infinite;
}

.terrain-mesh svg {
    width: 100%;
    height: 100%;
    display: block;
}

.terrain-mesh-large {
    width: clamp(320px, 38vw, 460px);
    height: auto;
    filter: drop-shadow(0 0 28px rgba(192, 132, 252, 0.16)) drop-shadow(0 0 60px rgba(96,213,250,0.06));
    animation: rotate-y-slow 60s linear infinite, gentle-float 12s ease-in-out infinite;
}

.terrain-mesh-large svg {
    width: 100%;
    height: auto;
    display: block;
}

.terrain-mesh-reflection {
    width: clamp(260px, 32vw, 380px);
    transform: scaleY(-1);
    opacity: 0.45;
    filter: drop-shadow(0 -10px 22px rgba(96, 213, 250, 0.1)) blur(0.4px);
    animation: reflection-shimmer 8s ease-in-out infinite;
}

.terrain-mesh-reflection svg {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes rotate-y-slow {
    0% { transform: perspective(1200px) rotateY(0deg) rotateX(8deg); }
    100% { transform: perspective(1200px) rotateY(360deg) rotateX(8deg); }
}

@keyframes gentle-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

@keyframes reflection-shimmer {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.55; }
}

.large-mesh {
    grid-row: 1 / span 3;
    align-self: center;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Holographic planes */
.holo-plane {
    width: 280px;
    height: 4px;
    background: var(--holo-gradient);
    background-size: 200% 200%;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(96, 213, 250, 0.3);
    animation: holo-shift 10s linear infinite, plane-drift 14s ease-in-out infinite;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform-origin: center;
    opacity: 0.7;
}

.holo-plane.plane-a {
    transform: perspective(800px) rotateX(60deg) rotateZ(-15deg);
}

.holo-plane.plane-b {
    width: 200px;
    height: 3px;
    transform: perspective(800px) rotateX(50deg) rotateZ(20deg);
}

@keyframes plane-drift {
    0%, 100% { translate: 0 0; }
    50% { translate: -10px 8px; }
}

/* Octahedra */
.octahedron {
    width: 70px;
    height: 70px;
    position: relative;
    transform-style: preserve-3d;
    perspective: 600px;
    animation: rotate-y 28s linear infinite, rotate-x 36s linear infinite;
    box-shadow: var(--halo);
    cursor: pointer;
    transition: filter 0.4s, transform 0.4s var(--spring);
}

.octahedron.small {
    width: 44px;
    height: 44px;
}

.octahedron.mini {
    width: 56px;
    height: 56px;
}

.octahedron .oct-face {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(192,132,252,0.05), rgba(96,213,250,0.05));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    border: 1px solid transparent;
    border-image: var(--holo-gradient) 1;
}

.octahedron .oct-face:nth-child(1) {
    transform: rotateY(0deg);
    border-color: rgba(96,213,250,0.55);
}

.octahedron .oct-face:nth-child(2) {
    transform: rotateY(90deg);
    border-color: rgba(255,107,157,0.55);
}

.octahedron::before {
    content: '';
    position: absolute;
    inset: 35%;
    background: radial-gradient(circle, rgba(192,132,252,0.3) 0%, transparent 70%);
    animation: pulse-glow 5s ease-in-out infinite;
    pointer-events: none;
}

.octahedron:hover {
    filter: drop-shadow(0 0 14px rgba(96, 213, 250, 0.65));
    animation-duration: 14s, 18s;
}

.octahedron.shatter {
    animation: shatter 1.6s var(--spring) forwards;
}

@keyframes shatter {
    0% { transform: scale(1) rotate(0deg); opacity: 1; }
    40% { transform: scale(1.4) rotate(60deg); opacity: 0.7; }
    70% { transform: scale(0.8) rotate(180deg); opacity: 0.5; }
    100% { transform: scale(1) rotate(360deg); opacity: 1; }
}

/* Cluster of primitives */
.right-cluster {
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 0 !important;
}

.prim-cluster {
    position: relative;
    width: 220px;
    height: 240px;
    pointer-events: none;
}

.prim-cluster .holo-form {
    position: absolute;
    pointer-events: auto;
}

.prim-cluster .holo-form:nth-child(1) {
    top: 20px;
    right: 100px;
    animation-delay: -2s;
}

.prim-cluster .holo-form:nth-child(2) {
    top: 80px;
    right: 0;
    animation-delay: -5s;
}

.prim-cluster .holo-form:nth-child(3) {
    top: 130px;
    right: 80px;
    animation-delay: -8s;
}

.prim-cluster .holo-form:nth-child(4) {
    top: 180px;
    right: 30px;
    animation-delay: -3s;
}

/* Ridge pulse on summit */
.ridge-pulse {
    width: 1px;
    height: 80px;
    background: var(--holo-gradient);
    background-size: 100% 300%;
    animation: scroll-breath 3s ease-in-out infinite, holo-shift 8s linear infinite;
    margin-left: auto;
    border-radius: 1px;
    opacity: 0.85;
}

/* Ridgeline base SVG */
.ridgeline-base {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 22vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.ridgeline-base svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ridge-path-1 {
    animation: ridge-shimmer 18s ease-in-out infinite;
}

@keyframes ridge-shimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* ============ Valley closing horizontal line ============ */
.valley-statement {
    text-align: center;
    width: 100%;
}

.holo-line-horizontal {
    width: 60vw;
    max-width: 720px;
    height: 1px;
    margin: 24px auto 0;
    background: var(--holo-gradient);
    background-size: 200% 100%;
    box-shadow: 0 0 18px rgba(96, 213, 250, 0.18);
    animation: holo-shift 10s linear infinite, line-breath 3s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes line-breath {
    0%, 100% { opacity: 0.6; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(0.86); }
}

.reflection {
    align-items: flex-end !important;
    justify-content: flex-start;
    flex-direction: column !important;
}

.metadata-block {
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 4px !important;
    text-align: right;
}

.metadata-block .meta-mono {
    text-align: right;
    color: var(--deep-slate);
}

/* ============ Reveal animations ============ */
[data-reveal] {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--spring);
}

[data-reveal].in {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-words] .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s var(--ease-soft), transform 0.6s var(--spring);
    margin-right: 0.18em;
}

[data-reveal-words] .word.in {
    opacity: 1;
    transform: translateY(0);
}

/* ============ Mouse parallax target adjustments ============ */
.holo-form,
.holo-plane {
    transition: filter 0.5s var(--ease-soft);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
    :root {
        --margin-side: 6vw;
        --gutter: 24px;
    }

    .stratum {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 14vh var(--margin-side);
        gap: 36px;
    }

    .anchor-tl, .anchor-tr, .anchor-bl, .anchor-br, .anchor-center {
        grid-column: 1;
        justify-self: stretch;
        max-width: 100%;
    }

    .anchor-tl { justify-self: start; }
    .anchor-tr { justify-self: end; align-self: center; }
    .anchor-bl { justify-self: start; }
    .anchor-br { justify-self: end; }
    .anchor-center { text-align: left; justify-self: start; }

    .display { font-size: 56px; }
    .featured-phrase { font-size: 44px; }
    .closing { font-size: 28px; }

    .icosahedron { width: 130px; height: 130px; }
    .terrain-mesh { width: 180px; height: 130px; }
    .terrain-mesh-large { width: 280px; }

    .pullquote {
        position: relative;
        top: auto;
        left: auto;
        transform: rotate(-2deg);
        margin: 24px 0;
        max-width: 100%;
    }

    .diag-line { display: none; }

    .nav-glyph { top: 20px; right: 20px; }

    .prim-cluster { width: 180px; height: 200px; }
}

@media (max-width: 480px) {
    .display { font-size: 44px; }
    .featured-phrase { font-size: 36px; }
    .closing { font-size: 24px; }
    .holo-line-horizontal { width: 80vw; }
}

@media (prefers-reduced-motion: reduce) {
    .icosahedron,
    .terrain-mesh-large,
    .octahedron,
    .terrain-mesh,
    .terrain-mesh-reflection,
    .holo-plane,
    .scroll-bar,
    .holo-line-horizontal,
    .pullquote span,
    .featured-phrase,
    .ridge-path-1,
    .diamond-inner,
    .diamond-marker {
        animation: none !important;
    }
    [data-reveal], [data-reveal-words] .word {
        opacity: 1;
        transform: none;
    }
}
