/*************************************
███╗░░░███╗░█████╗░██╗░░░░██╗░░░██╗██╗
████╗░████║██╔══██╗██║░░░░██║░░░██║██║
██╔████╔██║███████║██║░░░░╚██╗░██╔╝██║
██║╚██╔╝██║██╔══██║██║░░░░░╚████╔╝░██║
██║░╚═╝░██║██║░░██║███████╗░╚██╔╝░░██║
╚═╝░░░░░╚═╝╚═╝░░╚═╝╚══════╝░░╚═╝░░░╚═╝
**************************************/

/*
Project: Dimand 1830 Lab research
Author: MALVI
Designer: MALVI
Version: 1.0
Contact: mal-vi.com
*/


/* ~~~~~~~~~~~~~ */
/* ~~~ FONTS ~~~ */
/* ~~~~~~~~~~~~~ */
@import url("https://p.typekit.net/p.css?s=1&k=qhy2vlm&ht=tk&f=26908.49591.34180&a=6409971&app=typekit&e=css");

@font-face {
font-family:"aktiv-grotesk-extended";
src:url("https://use.typekit.net/af/6129a9/00000000000000007753ca4d/31/l?primer=ecfff982db3930c3dd49285886f75ac4c43de5c805bc2849c952c117f32f4f2c&fvd=n3&v=3") format("woff2"),url("https://use.typekit.net/af/6129a9/00000000000000007753ca4d/31/d?primer=ecfff982db3930c3dd49285886f75ac4c43de5c805bc2849c952c117f32f4f2c&fvd=n3&v=3") format("woff"),url("https://use.typekit.net/af/6129a9/00000000000000007753ca4d/31/a?primer=ecfff982db3930c3dd49285886f75ac4c43de5c805bc2849c952c117f32f4f2c&fvd=n3&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:300;font-stretch:normal;
}

@font-face {
font-family:"aktiv-grotesk-extended";
src:url("https://use.typekit.net/af/837b58/00000000000000007753ca5b/31/l?primer=ecfff982db3930c3dd49285886f75ac4c43de5c805bc2849c952c117f32f4f2c&fvd=n6&v=3") format("woff2"),url("https://use.typekit.net/af/837b58/00000000000000007753ca5b/31/d?primer=ecfff982db3930c3dd49285886f75ac4c43de5c805bc2849c952c117f32f4f2c&fvd=n6&v=3") format("woff"),url("https://use.typekit.net/af/837b58/00000000000000007753ca5b/31/a?primer=ecfff982db3930c3dd49285886f75ac4c43de5c805bc2849c952c117f32f4f2c&fvd=n6&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:600;font-stretch:normal;
}

@font-face {
font-family:"ropa-soft-pro";
src:url("https://use.typekit.net/af/e45239/00000000000000007735aeda/31/l?primer=2c525e945db23ca903c9e53f7672c72b14fc41c424013235fbe023be98740bd1&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/e45239/00000000000000007735aeda/31/d?primer=2c525e945db23ca903c9e53f7672c72b14fc41c424013235fbe023be98740bd1&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/e45239/00000000000000007735aeda/31/a?primer=2c525e945db23ca903c9e53f7672c72b14fc41c424013235fbe023be98740bd1&fvd=n4&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
}

.tk-aktiv-grotesk-extended { font-family: "aktiv-grotesk-extended",sans-serif; }
.tk-ropa-soft-pro { font-family: "ropa-soft-pro",sans-serif; }


/* ~~~~~~~~~~~~ */
/* ~~~ VARS ~~~ */
/* ~~~~~~~~~~~~ */
:root {
   

    --cAlert:       hsl(4deg 90% 58%);    
    --cWarning:     hsl(27deg 100% 50%);
    --cSuccess:     hsl(122deg 39% 49%);
    --cDisabled:    hsl(0deg 0% 40%);
    --cTransparent: hsl(0deg 0% 0% / 0%);

    --cWhite:       hsl(0deg 0% 100%);   
    --cWhite_o:     hsl(0deg 0% 100% / 4%);   
    --cBlack:       hsl(212deg 100% 4%);
    --cBlack_o:     hsl(0deg 0% 0% / 80%);
    --cLgray:       hsl(20, 4%, 83%);
    --cMgray:       hsl(0deg 0% 85%);
    --cDgray:       hsl(0deg 0% 40%);
    --cMagenta:     hsl(0deg 0% 100%); /* Temporarily white - was purple */
    --cBlue:        hsl(0deg 0% 50%); /* Temporarily gray - was blue */
    --cDarkBlue:    hsl(0deg 0% 10%); /* Temporarily dark gray - was dark blue */
    --cSkyBlue:     hsl(210, 80%, 55%); /* #3BA3D9 */
    --cGreen:       hsl(85, 59%, 49%); /* #a6ce39 */

    --width: 9ch;
    --steps: 9;
    
    --duration-short:   0.1s;
    --duration-default: 0.2s;   
    --duration-long:    0.5s;

    --font-110:      calc(6.0rem + (110 - 60) * ((100vw - 300px) / (1800 - 300)));
    --line-110:      calc(5.0rem + (70 - 50) * ((100vw - 300px) / (1800 - 300)));

    --font-60:      calc(4.8rem + (60 - 48) * ((100vw - 300px) / (1800 - 300))); 
    --line-60:      calc(5.4rem + (66 - 54) * ((100vw - 300px) / (1800 - 300)));

    --font-48:      calc(3.6rem + (48 - 36) * ((100vw - 300px) / (1800 - 300)));
    --line-48:      calc(3.8rem + (50 - 38) * ((100vw - 300px) / (1800 - 300)));

    --font-40:      calc(3.2rem + (40 - 32) * ((100vw - 300px) / (1800 - 300)));
    --line-40:      calc(3.4rem + (44 - 34) * ((100vw - 300px) / (1800 - 300)));

    --font-32:      calc(2.4rem + (32 - 24) * ((100vw - 300px) / (1800 - 300))); 
    --line-32:      calc(2.6rem + (36 - 26) * ((100vw - 300px) / (1800 - 300)));

    --font-24:      calc(1.8rem + (24 - 18) * ((100vw - 300px) / (1800 - 300)));
    --line-24:      calc(2.2rem + (30 - 22) * ((100vw - 300px) / (1800 - 300)));
    
    --font-20:      calc(1.6rem + (20 - 16) * ((100vw - 300px) / (1800 - 300)));
    --line-20:      calc(1.9rem + (26 - 19) * ((100vw - 300px) / (1800 - 300)));

    --font-18:      calc(1.6rem + (18 - 16) * ((100vw - 300px) / (1800 - 300)));
    --line-18:      calc(1.7rem + (19 - 17) * ((100vw - 300px) / (1800 - 300)));

    --font-16:      calc(1.4rem + (16 - 14) * ((100vw - 300px) / (1800 - 300)));
    --line-16:      calc(1.8rem + (20 - 18) * ((100vw - 300px) / (1800 - 300)));
    
    --font-12:      1.2rem;
    --line-12:      1.4rem;
    
    --transition-transform-opacity: transform var(--duration-default) ease, opacity var(--duration-default) ease;
    --details-animation-duration: 200;

}


/* ~~~~~~~~~~~~~~~~~ */
/* ~~~ RESET CSS ~~~ */
/* ~~~~~~~~~~~~~~~~~ */
*:where(:not(html, iframe, canvas, img, svg, video, pre):not(svg *, symbol *)) { all: unset; display: revert; }
*, *::before, *::after { box-sizing: border-box; }
a, button { cursor: revert; }
ol, ul, menu { list-style: none; }
img { max-inline-size: 100%; }
table { border-collapse: collapse; }
input, textarea { -webkit-user-select: auto; }
textarea { white-space: revert; }
meter { -webkit-appearance: revert; appearance: revert; }
::placeholder { color: unset; }
:where([hidden]) { display: none; }
:where([contenteditable]:not([contenteditable="false"])) { -moz-user-modify: read-write; -webkit-user-modify: read-write; overflow-wrap: break-word; -webkit-line-break: after-white-space; -webkit-user-select: auto; }
:where([draggable="true"]) { -webkit-user-drag: element; }


/* ~~~~~~~~~~~~~~~~~~ */
/* ~~~ BASE RULES ~~~ */
/* ~~~~~~~~~~~~~~~~~~ */
html { height: 100%; }
body { height: auto; color: var(--cWhite); background-color: var(--cDarkBlue); }
html, body { 
    margin: 0; padding: 0; scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); 
}
button,select { text-transform: none }
button,input,optgroup,select,textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; -webkit-appearance: none; appearance: none }
summary { display: list-item; cursor: pointer; list-style: none }
summary::-webkit-details-marker { display: none; }
template,[hidden] { display: none }

/* ScrollSmoother wrapper */
#smooth-wrapper {
    overflow: hidden;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#smooth-content {
    overflow: visible;
    width: 100%;
}

/* ~~~~~~~~~~~~~~~~~~ */
/* ~~~ TYPOGRAPHY ~~~ */
/* ~~~~~~~~~~~~~~~~~~ */
html { font-size: 62.5%; }
body { font-size: 1.6em; font-weight: 300; font-style: normal; font-family: "aktiv-grotesk-extended", Helvetica, Arial, sans-serif; }
strong { font-weight: 700; }
small  { font-size: 80% }
hr { display: block; border: none; margin: 1rem 0; box-sizing: content-box; height: .1rem; overflow: visible }
sub { bottom: -.25em }
sup { top: -.5em }
em { font-style: italic; }
p { margin-bottom: 2rem; }

.regular { font-weight: 400; }
.bold   { font-weight: 700; }

.uppercase     { text-transform: uppercase; }
.lowercase     { text-transform: lowercase; }
.capitalize    { text-transform: capitalize; }
.breakword     { word-break: break-word; }
.text-left     { text-align: left; }
.text-right    { text-align: right }
.text-center   { text-align: center; }
.underline     { text-decoration: underline; }
.wavy          { text-decoration-style: wavy;   text-underline-offset: 1rem; }
.linethrough   { text-decoration: line-through; }
.no-decoration { text-decoration: none; }
.text-ellipsis { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.text-shadow-white { text-shadow: 0.1rem 0.1rem 0 var(--cWhite), -0.1rem 0.1rem 0 var(--cWhite), 0.1rem -0.1rem 0 var(--cWhite), -0.1rem -0.1rem 0 var(--cWhite); }

.txt-110 { font-size: var(--font-110); line-height: var(--line-110); }
.txt-60 { font-size: var(--font-60); line-height: var(--line-60); }
.txt-48 { font-size: var(--font-48); line-height: var(--line-48); }
.txt-40 { font-size: var(--font-40); line-height: var(--line-40); }
.txt-32 { font-size: var(--font-32); line-height: var(--line-32); }
.txt-24 { font-size: var(--font-24); line-height: var(--line-24); }
.txt-20 { font-size: var(--font-20); line-height: var(--line-20); }
.txt-18 { font-size: var(--font-18); line-height: var(--line-18); }
.txt-16 { font-size: var(--font-16); line-height: var(--line-16); }
.txt-14 { font-size: var(--font-14); line-height: var(--line-14); }
.txt-12 { font-size: var(--font-12); line-height: var(--line-12); }

.line-height-initial { line-height: initial; }


@media (max-width: 64em) {
    .mds-text-center { text-align: center; } 
}


@media (max-width: 49em) {
    .sm-txt-48 { font-size: var(--font-48); line-height: var(--line-48); }
    .sm-txt-30 { font-size: var(--font-30); line-height: var(--line-30); }
    .sm-txt-24 { font-size: var(--font-24); line-height: var(--line-24); }
    .sm-txt-12 { font-size: var(--font-12); line-height: var(--line-12); }
    .sm-text-center { text-align: center; } 
    .sm-text-left { text-align: left; } 
    .sm-text-right { text-align: right; } 
}


/* ~~~~~~~~~~~~~~~ */
/* ~~~ CURSORS ~~~ */
/* ~~~~~~~~~~~~~~~ */
/* .cursor-not-allowed { cursor: not-allowed; }
.cursor-grab        { cursor: grab; } */
.cursor-grabbing    { cursor: grabbing; }      
.cursor-pointer     { cursor: pointer; }
.cursor-zoom-in     { cursor: zoom-in; }

.pointer-events-none { pointer-events: none; }


/* ~~~~~~~~~~~~~~~ */
/* ~~~ PALETTE ~~~ */
/* ~~~~~~~~~~~~~~~ */
.color-white       { color:var(--cWhite); }
.color-black       { color:var(--cBlack); }
.color-beige       { color:var(--cBeige); }
.color-blue        { color:var(--cBlue); }
.color-magenta     { color:var(--cMagenta); }
.color-darkblue    { color:var(--cDarkBlue); }
.color-dgray       { color:var(--cDgray); }
.color-lgray       { color:var(--cLgray); }
.color-green       { color:var(--cGreen); }

.bg-shade       { background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)); }

.bg-transparent { background-color:var(--cTransparent); }
.bg-white_o     { background-color:var(--cWhite_o); }
.bg-white       { background-color:var(--cWhite); }
.bg-black       { background-color:var(--cBlack); }
.bg-lgray       { background-color:var(--cLgray); }
.bg-mgray       { background-color:var(--cMgray); }
.bg-dgray       { background-color:var(--cDgray); }
.bg-magenta     { background-color:var(--cMagenta); }
.bg-blue        { background-color:var(--cBlue); }
.bg-darkblue    { background-color:var(--cDarkBlue); }
.bg-skyblue     { background-color:var(--cSkyBlue); }
.bg-green       { background-color:var(--cGreen); }

/* .overlay-magenta { filter: brightness(80%) saturate(100%) invert(10%) sepia(89%) saturate(345%) hue-rotate(33deg) brightness(90%) contrast(70%); } */
.overlay-magenta { background: radial-gradient(circle, rgba(62,145,255,1) 0%, rgba(10,4,56,1) 70%, rgba(189,0,255,1) 100%); }

@media(max-width: 80em) {
    .md-bg-transparent { background-color:var(--cTransparent); }
}

@media(max-width: 49em) {
    .sm-color-white { color:var(--cWhite); }
    .sm-color-black { color:var(--cBlack); }
    .sm-bg-transparent { background-color:var(--cTransparent); }
    .sm-bg-magenta { background-color:var(--cMagenta); }
}

/* ===================== */
/* === ACCESSIBILITY === */
/* ===================== */
.visually-hidden,
.visually-hidden:not(:focus):not(:active) {
  position: absolute !important; overflow: hidden; height: 1px; width: 1px; margin: -1px;
  padding: 0; border: 0; clip: rect(0 0 0 0); white-space: nowrap; word-wrap: normal !important;  
}
.skip-link:focus { z-index: 9999; position: inherit; overflow: auto; width: auto; height: auto; clip: auto; }
*:focus-visible { outline: 0.4rem solid orangered; outline-offset: 0.5rem; }


/* ============================ */
/* === VISIBILITY & OPACITY === */
/* ============================ */
.opacity-0  { opacity: 0 }
.opacity-1  { opacity: 1 }
.opacity-03 { opacity: 0.3 }
.opacity-05 { opacity: 0.5 }

.hidden { display: none; }
@media(max-width: 49em) {
    .sm-show { display: block; }
}

/* ~~~~~~~~~~~~~~ */
/* ~~~ LAYOUT ~~~ */
/* ~~~~~~~~~~~~~~ */
.flex-container { width: 100%; display: flex; flex-wrap: wrap; margin: 0 auto; padding: 0 5%; } /* max-width: 204.8rem; max-width: 256rem; */
.flex-container-fluid { width: 100%; display: flex; flex-wrap: wrap; margin: 0 auto; } /* max-width: 204.8rem; max-width: 256rem; */

.lg-0  { display: none; }
.lg-1  { width: 8.33%;  } 
.lg-2  { width: 16.66%; }
.lg-3  { width: 25%; }
.lg-4  { width: 33.33%; }
.lg-5  { width: 41.66%; }
.lg-6  { width: 50%; }
.lg-7  { width: 58.33%; }
.lg-8  { width: 66.66%; }
.lg-9  { width: 75%; }
.lg-10 { width: 83.33%; }
.lg-11 { width: 91.66%; }
.lg-12 { width: 100%; }

@media (max-width: 80em) {
    .md-0  { display: none; }
    .md-1  { width: 8.33%;  } 
    .md-2  { width: 16.66%; }
    .md-3  { width: 25%; }
    .md-4  { width: 33.33%; }
    .md-5  { width: 41.66%; }
    .md-6  { width: 50%; }
    .md-7  { width: 58.33%; }
    .md-8  { width: 66.66%; }
    .md-9  { width: 75%; }
    .md-10 { width: 83.33%; }
    .md-11 { width: 91.66%; }
    .md-12 { width: 100%; }
}

@media(max-width: 64em) {
    .mds-0  { display: none; }
    .mds-1  { width: 8.33%;  } 
    .mds-2  { width: 16.66%; }
    .mds-3  { width: 25%; }
    .mds-4  { width: 33.33%; }
    .mds-5  { width: 41.66%; }
    .mds-6  { width: 50%; }
    .mds-7  { width: 58.33%; }
    .mds-8  { width: 66.66%; }
    .mds-9  { width: 75%; }
    .mds-10 { width: 83.33%; }
    .mds-11 { width: 91.66%; }
    .mds-12 { width: 100%; }
}

@media (max-width: 49em) {
    .flex-container, .flex-container-fluid { padding: 1.5rem; }
    .sm-0  { display: none !important; }
    .sm-1  { width: 8.33%;  } 
    .sm-2  { width: 16.66%; }
    .sm-3  { width: 25%;    }
    .sm-4  { width: 33.33%; }
    .sm-5  { width: 41.66%; }
    .sm-6  { width: 50%;    }
    .sm-7  { width: 58.33%; }
    .sm-8  { width: 66.66%; }
    .sm-9  { width: 75%;    }
    .sm-10 { width: 83.33%; }
    .sm-11 { width: 91.66%; }
    .sm-12 { width: 100%;   }
}


/* ~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ JUSTIFY CONTENT ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~ */
.justify-content-start   { justify-content: flex-start }
.justify-content-end     { justify-content: flex-end }
.justify-content-center  { justify-content: center }
.justify-content-evenly  { justify-content: space-evenly }
.justify-content-around  { justify-content: space-around }
.justify-content-between { justify-content: space-between }
.justify-content-initial { justify-content: initial }


/* ~~~~~~~~~~~~~~~~~ */
/* ~~~ ALIGNMENT ~~~ */
/* ~~~~~~~~~~~~~~~~~ */
.align-items-start    { align-items: flex-start }
.align-items-end      { align-items: flex-end }
.align-items-center   { align-items: center }
.align-items-stretch  { align-items: stretch }
.align-items-baseline { align-items: baseline }
.align-items-initial  { align-items: initial }
.align-content-center { align-content: center }

.align-self-start { align-self: flex-start; }


/* ~~~~~~~~~~~~ */
/* ~~~ FLEX ~~~ */
/* ~~~~~~~~~~~~ */
.flex-row    { flex-direction: row }
.flex-column { flex-direction: column }
.flex-wrap   { flex-wrap: wrap }
.flex-nowrap { flex-wrap: nowrap }

.flex-0        { flex: none }
.flex-1        { flex: 1 1 0% }
.flex-auto     { flex: 1 1 auto }
.flex-grow-0   { flex-grow: 0 }
.flex-grow-1   { flex-grow: 1 }
.flex-initial  { flex: 0 1 auto }
.flex-shrink-0 { flex-shrink: 0 }
.flex-shrink-1 { flex-shrink: 1 }


@media (max-width: 80em) {
    .md-justify-content-between { justify-content: space-between; }
    .md-align-items-center { align-items: center; }
}

@media(max-width: 64em) {
    .mds-flex-column { flex-direction: column }  
    .mds-align-self-center { align-self: center; }
}


@media (max-width: 49em) {
    .sm-align-items-start { align-items: flex-start }  
    .sm-align-items-center { align-items: center }
    .sm-justify-content-center { justify-content: center }
    .sm-justify-content-start { justify-content: flex-start }
    .sm-flex-column { flex-direction: column }
    .sm-flex-row { flex-direction: row }
}


/* ~~~~~~~~~~~~~ */
/* ~~~ ORDER ~~~ */
/* ~~~~~~~~~~~~~ */
.order-0 { order: 0 }
.order-1 { order: 1 }
.order-2 { order: 2 }
.order-3 { order: 3 }
.order-4 { order: 4 }

@media (max-width: 49em) {
    .sm-order-0 { order: 0 }
    .sm-order-1 { order: 1 }
    .sm-order-2 { order: 2 }
    .sm-order-3 { order: 3 }
    .sm-order-4 { order: 4 }
}


/* ~~~~~~~~~~~~~~~~ */
/* ~~~ OVERFLOW ~~~ */
/* ~~~~~~~~~~~~~~~~ */
.overflow-hidden { overflow: hidden }

.overflow-y-auto { overflow-y: auto }
.overflow-y-scroll { overflow-y: scroll }

.overflow-x-auto { overflow-x: auto }
.overflow-x-scroll { overflow-x: scroll }
.overflow-x-hidden { overflow-x: hidden }

@media (max-width: 49em) {
    .sm-overflow-x-auto { overflow-x: auto }
}

/* ~~~~~~~~~~~~~~~~ */
/* ~~~ OVERFLOW ~~~ */
/* ~~~~~~~~~~~~~~~~ */
.bg-center   { background-position: center center; }
.bg-cover    { background-size: cover; }
.bg-contain  { background-size: contain; }
.bg-norepeat { background-repeat: no-repeat; }
.bg-fixed    { background-attachment: fixed; }

.bg-preset-fixed-cover {
    background-position: center center; background-size: cover;
    background-repeat: no-repeat; background-attachment: fixed;
}

/* ~~~~~~~~~~~~~~~~ */
/* ~~~ POSITION ~~~ */
/* ~~~~~~~~~~~~~~~~ */
.relative { position: relative }
.absolute { position: absolute }
.fixed    { position: fixed }
.sticky   { position: sticky }

@media (max-width: 49em) {

    .sm-absolute { position: absolute }
    .sm-relative { position: relative }
    .sm-position-initial { position: initial; }
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ BASE POSITIONING ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~ */
.top-0 { top: 0 }
.left-0 { left: 0 }
.right-0 { right: 0 }
.bottom-0 { bottom: 0 }
.bottom-1 { bottom: 1rem; }
.left-1 { left: 1rem; }
.right-1 { right: 1rem; }
.top-1 { top: 1rem; }

.top-neg-r25 { top: -25px; }

.left-p50 { left: 50%; }
.left-neg-p50 { left: -50%; }
.left-neg-r40 { left: -40px; }


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ COMPOUND POSITIONING ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.v-flex-center  { display: flex; align-items: center }
.h-flex-center  { display: flex; justify-content: center }
.vh-flex-center { display: flex; justify-content: center; align-items: center }

.v-center  { top: 50%; transform: translateY(-50%) }
.h-center  { left: 50%; transform: translate(-50%) }
.vh-center { top: 50%; left: 50%; transform: translate(-50%,-50%) }

@media (max-width: 49em) {
    .sm-vh-center { top: 50%; left: 50%; transform: translate(-50%,-50%) }
    .sm-reset-pos { top: initial; left: initial; transform: initial }
    .sm-reset-v-center { top: initial; transform: initial }
    .sm-reset-h-center { left: initial; transform: initial }
}


.border-1-solid { border: 1px solid var(--cBlack); }
.border-1-darkblue { border: 1px solid var(--cDarkBlue); }
.border-1-magenta { border: 1px solid var(--cMagenta); }
.border-1-white { border: 1px solid var(--cWhite); }
.border-1-dgray { border: 2px solid var(--cDgray); }

.border-left-1-white { border-left: 1px solid var(--cWhite); }
.border-right-1-white { border-right: 1px solid var(--cWhite); }


/* ~~~~~~~~~~~~~~~ */
/* ~~~ DISPLAY ~~~ */
/* ~~~~~~~~~~~~~~~ */
.none { display: none }
.flex { display: flex }
.grid { display: grid }
.block { display: block }
.inline { display: inline }
.inline-flex { display: inline-flex }
.inline-block { display: inline-block }


@media(max-width: 80em) {
    .md-flex { display: flex; }
}


@media (max-width: 49em) {
    .sm-none { display: none }
    .sm-flex { display: flex }  
}


/* ~~~~~~~~~~~~~~~ */
/* ~~~ Z-INDEX ~~~ */
/* ~~~~~~~~~~~~~~~ */
.z1 { z-index: 1 }
.z2 { z-index: 2 }
.z3 { z-index: 3 }
.z4 { z-index: 4 }
.z10 { z-index: 10 }


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ OBJECT FIT AND POSITION ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.object-cover   { object-fit: cover }
.object-contain { object-fit: contain }
.object-center  { object-position: center }
.object-top     { object-position: top }
.object-left    { object-position: left }
.object-right   { object-position: right }
.object-bottom  { object-position: bottom }

@media(max-width: 49em) {
    .sm-object-right { object-position: right }  
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ ASPECT RATIO BOXES + SHAPES ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
[class*=square]::after,
[class*=portrait]::after,
[class*=landscape]::after { content: ""; display: block }

.circle { border-radius: 100% }
.round { border-radius: 5rem; }
.rounded { border-radius: 2rem; }
.square::after { padding-bottom: 100% }
.landscape-40::after { padding-bottom: 40% }
.landscape-50::after { padding-bottom: 50% }
.landscape-70::after { padding-bottom: 70% }
.portrait-120::after { padding-bottom: 120%; }


/* ~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ WIDTH PRESETS ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~ */
.w-0    { width: 0; }

.w-p10  { width: 10%; }
.w-p25  { width: 25%; }
.w-p33  { width: 33.333%; }
.w-p375 { width: 37.5%; }
.w-p40  { width: 40%; }
.w-p50  { width: 50%; }
.w-p60  { width: 60%; }
.w-p60  { width: 66.666%; }
.w-p75  { width: 75%; }
.w-p90  { width: 90%; }
.w-p100 { width: 100%; }

.w-r02 { width: 2rem; }
.w-r03 { width: 3rem; }
.w-r04 { width: 4rem; }
.w-r05 { width: 5rem; }
.w-r06 { width: 6rem; }
.w-r075 { width: 7.5rem; }
.w-r08 { width: 8rem; }
.w-r10 { width: 10rem; }
.w-r15 { width: 15rem; }
.w-r20 { width: 20rem; }
.w-r30 { width: 30rem; }
.w-r45 { width: 45rem; }

.w-vh100 { width: 100vh }


.w-max-r5 { max-width: 5rem; }
.w-max-r10 { max-width: 10rem; }
.w-max-r20 { max-width: 20rem; }
.w-max-r25 { max-width: 25rem; }
.w-max-r30 { max-width: 30rem; }
.w-max-r40 { max-width: 40rem; }
.w-max-r60 { max-width: 60rem; }

.w-max-vw80 { max-width: 80vw; } 
.w-max-vw90 { max-width: 90vw; }
.w-max-r100 { max-width: 100rem; }
.w-max-r144 { max-width: 144rem; }

@media(max-width: 80em) {
    .md-h-auto    { height: auto }
    .md-w-max-r10 { max-width: 10rem }
}

@media (max-width: 49em) {
    .sm-w-max-reset { max-width: initial; }
    .sm-w-max-r10  { max-width: 10rem }
    .sm-w-max-r20  { max-width: 20rem }
    .sm-w-r02      { width: 2rem }
    .sm-w-content { width: max-content; }
    .sm-w-r04      { width: 4rem }
    .sm-w-r06      { width: 6rem }
    .sm-w-r20      { width: 20rem }
    .sm-w-p100     { width: 100% }

    .sm-w-p33 { width: 33.33% }
}


/* ~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ HEIGHT PRESETS ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~ */
.h-0    { height: 0; }
.h-auto    { height: auto; }

.h-p33  { height: 33.333% }
.h-p90  { height: 90% }
.h-p100 { height: 100% }

.h-r02  { height: 2rem; }
.h-r03  { height: 3rem; }
.h-r035 { height: 3.5rem; }
.h-r04  { height: 4rem; }
.h-r30  { height: 30rem; }

.h-vh35  { height: 35vh }
.h-vh50  { height: 50vh }
.h-vh80  { height: 80vh }
.h-vh90  { height: 90vh }
.h-vh100 { height: 100vh }

.h-min-r5    { min-height: 5rem; }
.h-min-r10   { min-height: 10rem; }
.h-min-r60   { min-height: 60rem; }
.h-min-vh30  { min-height: 30vh; }
.h-min-vh50  { min-height: 50vh; }
.h-min-vh65  { min-height: 65vh; }
.h-min-vh80  { min-height: 80vh; }
.h-min-vh115 { min-height: 115vh; }

.h-min-r100 { min-height: 100rem; }

.h-max-r30 { max-height: 30rem; }

.h-max-vh50 { max-height: 50vh; }
.h-max-vh65 { max-height: 65vh; }
.h-max-vh80 { max-height: 80vh; }
.h-max-r140 { max-height: 140rem; }

@media (max-width: 64em) {
    .mds-w-max-r12 { max-width: 12rem; }
    .mds-h-max-r20 { max-height: 20rem; }
    .mds-h-p100 { height: 100%; }
}

@media (max-width: 49em) {
    .sm-h-auto      { height: auto }
    .sm-h-min-reset { min-height: initial } 
    .sm-h-r02       { height: 2rem; }
    .sm-h-max-r20   { max-height: 20rem }
    .sm-h-vh70      { height: 70vh }
    .sm-h-vh90      { height: 90vh }
    .sm-h-min-vh80  { min-height: 80vh; }
    .sm-h-p100      { height: 100%; }
    .sm-h-p33       { height: 33.33%; }
}


/* ~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ PADDING PRESETS ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~ */
.pdg-0  { padding: 0; }
.pdg-t0 { padding-top: 0; }
.pdg-b0 { padding-bottom: 0; }
.pdg-l0 { padding-left: 0; }
.pdg-r0 { padding-right: 0; }

.pdg-t100 { padding-top: 10rem; }
.pdg-t200 { padding-top: 20rem; }
.pdg-b15 { padding-bottom: 1.5rem; }
.pdg-b30 { padding-bottom: 3rem; }
.pdg-b100 { padding-bottom: 10rem; }
.pdg-b200 { padding-bottom: 20rem; }

.pdg-l15 { padding-left: 1.5rem; }
.pdg-l20 { padding-left: 2rem; }

.pdg-r15 { padding-right: 1.5rem; }
.pdg-r20 { padding-right: 2rem; }
.pdg-r30 { padding-right: 3rem; }

.pdg-v10   { padding-top: 1rem; padding-bottom: 1rem; }
.pdg-v40   { padding-top: 4rem; padding-bottom: 4rem; }
.pdg-v100   { padding-top: 10rem; padding-bottom: 10rem; }
.pdg-v200   { padding-top: 20rem; padding-bottom: 20rem; }

.pdg-pt7   { padding-top: 7.14%; }
.pdg-pv7   { padding-top: 7.14%; padding-bottom: 7.14%; }

.pdg-pb10   { padding-bottom: 10%; }

.pdg-vwv3  { padding-top: 3.58vw; padding-bottom: 3.58vw; }
.pdg-vwv7  { padding-top: 7.14vw; padding-bottom: 7.14vw; }

.pdg-vwt3  { padding-top: 3.58vw; }
.pdg-vwr3  { padding-right: 3.58vw; }

.pdg-vwt7  { padding-top: 7.14vw; }
.pdg-vwl7  { padding-left: 7.14vw; }
.pdg-vwr7  { padding-right: 7.14vw; }
.pdg-vwb7  { padding-bottom: 7.14vw; }

.pdg-vwt14 { padding-top: 14vw; }
.pdg-vwb14 { padding-bottom: 14vw; }
.pdg-vwv14 { padding-top: 14vw; padding-bottom: 14vw; }
.pdg-vwv20 { padding-top: 20vw; padding-bottom: 20vw; }

.pdg-10 { padding: 1rem; }
.pdg-15 { padding: 1.5rem; }
.pdg-20 { padding: 2rem; }
.pdg-25 { padding: 2.5rem; }
.pdg-30 { padding: 3rem; }

.pdg-v05 { padding-top: .5rem; padding-bottom: .5rem; }
.pdg-v10 { padding-top: 1rem; padding-bottom: 1rem; }
.pdg-v15 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pdg-v20 { padding-top: 2rem; padding-bottom: 2rem; }
.pdg-v50 { padding-top: 5rem; padding-bottom: 5rem; }
.pdg-h15 { padding-left: 1.5rem; padding-right: 1.5rem; }
.pdg-h20 { padding-left: 2rem; padding-right: 2rem; }
.pdg-h30 { padding-left: 3rem; padding-right: 3rem; }


@media (max-width: 90em) {
    .mdl-pdg-vwt7 { padding-top: 7.14vw; }
}


@media (max-width: 80em) {
    .md-pdg-vwh7 { padding-left: 7.14vw; padding-right: 7.14vw; }
}

@media (max-width: 49em) {
    .sm-pdg-0       { padding: 0; }
    .sm-pdg-15      { padding: 1.5rem; }
    .sm-pdg-vwt14   { padding-top: 14vw; }
    .sm-pdg-vwv14   { padding-top: 14vw; padding-bottom: 14vw; }
    .sm-pdg-vwv20   { padding-top: 20vw; padding-bottom: 20vw; }
    .sm-pdg-v0      { padding-top: 0; padding-bottom: 0; }
    .sm-pdg-v40     { padding-top: 4rem; padding-bottom: 4rem; }
    .sm-pdg-v100    { padding-top: 10rem; padding-bottom: 10rem; }
    .sm-pdg-pb10    { padding-bottom: 10%; }
    .sm-pdg-b0      { padding-bottom: 0; }

    .sm-pdg-vwb7    { padding-bottom: 7.14vw }
    .sm-pdg-vwh7    { padding-left: 7.14vw; padding-right: 7.14vw; }
    .sm-pdg-vwv7    { padding-top: 7.14vw; padding-bottom: 7.14vw; }
}


/* ~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ MARGIN PRESETS ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~ */

.mrg-auto { margin: 0 auto; }
.mrg-t-auto { margin-top: auto; }
.mrg-0  { margin: 0; }
.mrg-10 { margin: 1rem; }
.mrg-20 { margin: 2rem; }
.mrg-t0 { margin-top: 0; }
.mrg-b0 { margin-bottom: 0; }
.mrg-l0 { margin-left: 0; }
.mrg-r0 { margin-right: 0; }


.mrg-l10 { margin-left: 1rem; }
.mrg-l20 { margin-left: 2rem; }
.mrg-l30 { margin-left: 3rem; }
.mrg-r20 { margin-right: 2rem; }
.mrg-r30 { margin-right: 3rem; }

.mrg-pt3   { margin-top: 3.58%; }
.mrg-pt-10 { margin-top: -10%; }
.mrg-pb7   { margin-bottom: 7.14%; }
.mrg-pv3   { margin-top: 3.58%; margin-bottom: 3.58%; }
.mrg-pv7   { margin-top: 7.14%; margin-bottom: 7.14%; }

.mrg-vwt3  { margin-top: 3.58vw; }
.mrg-vwl3  { margin-left: 3.58vw; }
.mrg-vwr3  { margin-right: 3.58vw; }
.mrg-vwb3  { margin-bottom: 3.58vw; }

.mrg-vwt7  { margin-top: 7.14vw; }
.mrg-vwl7  { margin-left: 7.14vw; }
.mrg-vwr7  { margin-right: 7.14vw; }
.mrg-vwb7  { margin-bottom: 7.14vw; }

.mrg-vwl14 { margin-left: 14.28vw; }
.mrg-vwb14 { margin-bottom: 14.28vw; }

.mrg-vwv3  { margin-top: 3.58vw; margin-bottom: 3.58vw; }
.mrg-vwv7  { margin-top: 7.14vw; margin-bottom: 7.14vw; }
.mrg-vwv14 { margin-top: 14.28vw; margin-bottom: 14.28vw; }

.mrg-t10 { margin-top: 1rem; }
.mrg-t15 { margin-top: 1.5rem; }
.mrg-t20 { margin-top: 2rem; }
.mrg-t30 { margin-top: 3rem; }
.mrg-t40 { margin-top: 4rem; }
.mrg-t50 { margin-top: 5rem; }
.mrg-t60 { margin-top: 6rem; }
.mrg-t70 { margin-top: 7rem; }
.mrg-t100 { margin-top: 10rem; }
.mrg-t150 { margin-top: 15rem; }
.mrg-t200 { margin-top: 20rem; }

.mrg-b05 { margin-bottom: .5rem; }
.mrg-b10 { margin-bottom: 1rem; }
.mrg-b15 { margin-bottom: 1.5rem; }
.mrg-b20 { margin-bottom: 2rem; }
.mrg-b30 { margin-bottom: 3rem; }
.mrg-b40 { margin-bottom: 4rem; }
.mrg-b60 { margin-bottom: 6rem; }
.mrg-b100 { margin-bottom: 10rem; }
.mrg-b200 { margin-bottom: 20rem; }

.mrg-h20 { margin-left: 2rem; margin-right: 2rem; }

.mrg-v30 { margin-top: 3rem; margin-bottom: 3rem; }
.mrg-v60 { margin-top: 6rem; margin-bottom: 6rem; }
.mrg-v200 { margin-top: 20rem; margin-bottom: 20rem; }

.mrg-auto { margin: auto; }
.mrg-h-auto { margin-left: auto; margin-right: auto; }


@media (max-width: 64em) {
    .mds-mrg-vwb7 { margin-bottom: 7.14vw; }
}

@media (max-width: 49em) {
    .sm-mrg-auto   { margin: auto; }
    .sm-mrg-h-auto { margin-left: auto; margin-right: auto; }
    .sm-mrg-h-0    { margin-left: 0; margin-right: 0; }
    .sm-mrg-l-10    { margin-left: 1rem; }
    .sm-mrg-l-20    { margin-left: 2rem; }
    .sm-mrg-r-10    { margin-right: 1rem; }
    .sm-mrg-r-20    { margin-right: 2rem; }
    .sm-mrg-r-0    { margin-right: 0; }
    .sm-mrg-0      { margin: 0; }
    .sm-mrg-t0     { margin-top: 0; }
    .sm-mrg-t20    { margin-top: 2rem; }
    .sm-mrg-t30    { margin-top: 3rem; }
    .sm-mrg-t40    { margin-top: 4rem; }
    .sm-mrg-t50    { margin-top: 5rem; }
    .sm-mrg-t100   { margin-top: 10rem; }
    .sm-mrg-b0     { margin-bottom: 0; }
    .sm-mrg-b30    { margin-bottom: 3rem; }
    .sm-mrg-b40    { margin-bottom: 4rem; }
    .sm-mrg-b60    { margin-bottom: 6rem; }
    .sm-mrg-vwb7   { margin-bottom: 7.14vw; }
    .sm-mrg-vwb14  { margin-bottom: 14.28vw; }
    .sm-mrg-vwb20  { margin-bottom: 20vw; }
    .sm-mrg-v40    { margin-top: 4rem; margin-bottom: 4rem; }
    .sm-mrg-v100   { margin-top: 10rem; margin-bottom: 10rem; }
    .sm-mrg-vwv7   { margin-top: 7.14vw; margin-bottom: 7.14vw; }
    .sm-mrg-vwv14  { margin-top: 14.28vw; margin-bottom: 14.28vw; }
    .sm-mrg-vwt28  { margin-top: 28.56vw; }
}


/* ~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ OWLS AND GAPS ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~ */
.owl-vw7 > * + * { margin-top: 7.14vw; }
.owl-r01 > * + * { margin-top: 1rem; }
.owl-r02 > * + * { margin-top: 2rem; }
.owl-r03 > * + * { margin-top: 3rem; }
.owl-r04 > * + * { margin-top: 4rem; }
.owl-r05 > * + * { margin-top: 5rem; }

.gap-10 { gap: 1rem; }
.gap-15 { gap: 1.5rem; }
.gap-20 { gap: 2rem; }
.gap-30 { gap: 3rem; }
.gap-40 { gap: 4rem; }
.gap-60 { gap: 6rem; }
.gap-100 { gap: 10rem; }

@media (max-width: 49em) {
    .sm-gap-15 { gap: 1.5rem; }
    .sm-gap-20 { gap: 2rem; }
    .sm-gap-40 { gap: 4rem; }
    .sm-gap-80 { gap: 8rem; }
    .sm-owl-r02 > * + * { margin-top: 2rem; }
    .sm-owl-r03 > * + * { margin-top: 3rem; }
    .sm-owl-r04 > * + * { margin-top: 4rem; }
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ STANDARD ELEMENTS ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~ */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    width: fit-content;
}


/* ~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ CUSTOM CLASSES ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~ */


/* ================================== */
/* === DIMAND INFOGRAPHIC STYLES === */
/* ================================== */

/* Temperature Color Scale Variables */
:root {
    --temp-cold:    hsl(210, 80%, 55%);
    --temp-cool:    hsl(180, 60%, 50%);
    --temp-comfort: hsl(120, 45%, 50%);
    --temp-warm:    hsl(45, 90%, 55%);
    --temp-hot:     hsl(30, 95%, 55%);
    --temp-extreme: hsl(0, 85%, 55%);
}

/* Hero Section */
.section-hero {
    background: transparent;
}

/* Hero Sky Gradient - cyan at top to deeper blue at bottom */
.hero-sky {
    background: linear-gradient(180deg,#FFFFFF 0%, #40E0D0 30%, #3BA3D9 50%, #2E8BC0 100%);
    z-index: 0;
}

/* Hero Content - above the sun */
.hero-content {
    z-index: 101;
}

/* Hero Sun - full circle, ~60% visible at bottom of hero */
/* Positioned outside hero section for independent z-index control */
/* Becomes the North Zone circle with label and markers */
.hero-sun {
    position: absolute;
    /* Hero is 100vh, sun was bottom: -20vw, so top = 100vh - 50vw + 20vw = 100vh - 30vw */
    top: calc(100vh - 30vw);
    /* Center a 50vw element without transform (so GSAP can control transform freely) */
    left: calc(50% - 25vw);
    width: 50vw;
    height: 50vw;
    background: #F5A623;
    border-radius: 50%;
    z-index: 100; /* Above map-reveal section */
    pointer-events: none;
    will-change: transform;
    /* Flex to center label */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Markers container inside sun */
.hero-sun .zone-markers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-logo {
    height: auto;
    position: absolute;
    top: 3rem;
    max-width: 30rem;
    width: 100%;
}

.scroll-indicator {
    animation: fadeInOut 2s ease-in-out infinite;
    z-index: 102;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Map Section */
.section-map {
    position: relative;
    background: #3BA3D9;
    min-height: 150vh;
    overflow: hidden;
    z-index: 1; /* Below hero-sun (z-index: 100) */
}

/* Zone Circles Container */
.zone-circles-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20%;
}

/* Zone Circles Base */
.zone-circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

/* Center Zone - largest, orange */
.zone-circle-center {
    width: 45vw;
    height: 45vw;
    background: #E87A3D;
    left: 15%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

/* North Zone - transparent (hero-sun provides the visual circle) */
.zone-circle-north {
    width: 28vw;
    height: 28vw;
    background: transparent; /* Hero-sun is the visual circle */
    right: 30%;
    top: 10%;
    z-index: 51; /* Above hero-sun (z-index: 50) so label and markers show */
}

/* South Zone - smaller, red-orange */
.zone-circle-south {
    width: 22vw;
    height: 22vw;
    background: #E25B2D;
    right: 45%;
    bottom: 0;
    z-index: 2;
}

/* Zone Labels - SVG curved text */
.zone-label-svg {
    position: absolute;
    pointer-events: none;
    overflow: visible;
}

.zone-label-text {
    fill: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* North zone label - arc at top, outside the circle */
.zone-label-north {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    transform: rotate(30deg);
}

/* Center zone label - arc on left side */
.zone-label-center {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    transform: rotate(30deg);
}

/* South zone label - arc at bottom */
.zone-label-south {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    transform: rotate(-100deg);
}

/* Zone Markers Container */
.zone-markers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Property Markers inside zones */
.zone-marker {
    position: absolute;
    width: 3rem;
    height: 3rem;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.zone-marker img {
    width: 100%;
    height: 100%;
    display: block;
    filter: brightness(0) invert(1); /* Make SVG white */
    opacity: 1;
}

.zone-marker.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.zone-marker:hover {
    transform: translate(-50%, -50%) scale(1.5);
    cursor: pointer;
}

.zone-marker:hover img {
    opacity: 1;
}

/* Map intro text positioning */
.map-intro-text {
    z-index: 10;
}

.map-intro-line-1,
.map-intro-line-2 {
    opacity: 0;
    transform: translateY(30px);
}

/* Intro Overlays - slide in/out with scroll (positions controlled by GSAP) */
.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: var(--cBlack);
    z-index: 100;
    will-change: transform;
}

/* Intro 1 - sunset gradient from sky blue to warm orange */
#intro-1 {
    background: linear-gradient(to bottom, #3BA3D9 0%, #F5A623 70%, #E25B2D 100%);
    box-shadow: 0px 20px 20px rgba(0,0,0,0.3);
}

#intro-2 {
    background: linear-gradient(to bottom, #F5A623 0%, #3BA3D9 100%);
    box-shadow: 0px -20px 20px rgba(0,0,0,0.3);
}

.intro-overlay .intro-content {
    max-width: 80rem;
    padding: 4rem;
    text-align: center;
    margin-bottom: 10%;
}

.intro-overlay .intro-text {
    font-size: var(--font-32);
    line-height: var(--line-32);
    color: var(--cWhite);
    font-weight: 500;
}

/* Data Grid Section */
.section-grid {
    position: relative;
}

.grid-pinned {
    /* Sky gradient colors - interpolated by JS */
    --sky-top-h: 200;
    --sky-top-s: 60%;
    --sky-top-l: 50%;
    --sky-mid-h: 195;
    --sky-mid-s: 50%;
    --sky-mid-l: 45%;
    --sky-bot-h: 190;
    --sky-bot-s: 45%;
    --sky-bot-l: 40%;

    /* Sun glow properties */
    --glow-h: 35;
    --glow-s: 90%;
    --glow-l: 55%;
    --glow-opacity: 0.4;

    background: linear-gradient(180deg,
        hsl(var(--sky-top-h), var(--sky-top-s), var(--sky-top-l)) 0%,
        hsl(var(--sky-mid-h), var(--sky-mid-s), var(--sky-mid-l)) 40%,
        hsl(var(--sky-bot-h), var(--sky-bot-s), var(--sky-bot-l)) 100%);
    z-index: 5;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: --sky-top-h 1.5s ease, --sky-top-s 1.5s ease, --sky-top-l 1.5s ease,
                --sky-mid-h 1.5s ease, --sky-mid-s 1.5s ease, --sky-mid-l 1.5s ease,
                --sky-bot-h 1.5s ease, --sky-bot-s 1.5s ease, --sky-bot-l 1.5s ease,
                --glow-h 1.5s ease, --glow-s 1.5s ease, --glow-l 1.5s ease, --glow-opacity 1.5s ease;
}

/* Register custom properties for animation */
@property --sky-top-h { syntax: '<number>'; inherits: true; initial-value: 200; }
@property --sky-top-s { syntax: '<percentage>'; inherits: true; initial-value: 60%; }
@property --sky-top-l { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --sky-mid-h { syntax: '<number>'; inherits: true; initial-value: 195; }
@property --sky-mid-s { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --sky-mid-l { syntax: '<percentage>'; inherits: true; initial-value: 45%; }
@property --sky-bot-h { syntax: '<number>'; inherits: true; initial-value: 190; }
@property --sky-bot-s { syntax: '<percentage>'; inherits: true; initial-value: 45%; }
@property --sky-bot-l { syntax: '<percentage>'; inherits: true; initial-value: 40%; }
@property --glow-h { syntax: '<number>'; inherits: true; initial-value: 35; }
@property --glow-s { syntax: '<percentage>'; inherits: true; initial-value: 90%; }
@property --glow-l { syntax: '<percentage>'; inherits: true; initial-value: 55%; }
@property --glow-opacity { syntax: '<number>'; inherits: true; initial-value: 0.4; }

/* Warm glow from top */
.grid-pinned::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(
        ellipse 120% 60% at 50% 0%,
        hsla(var(--glow-h), var(--glow-s), var(--glow-l), var(--glow-opacity)) 0%,
        hsla(var(--glow-h), var(--glow-s), var(--glow-l), calc(var(--glow-opacity) * 0.4)) 35%,
        transparent 60%
    );
    filter: blur(3px);
    pointer-events: none;
    z-index: 0;
}

.grid-header {
    background: var(--cBlack);
    height: 5rem;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    z-index: 10;
}

/* Sort Selector */
.sort-selector {
    display: flex;
    gap: 0.5rem;
}

.sort-btn {
    padding: 0.4rem 0.8rem;
    font-size: var(--font-12);
    color: var(--cWhite);
    background: transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.sort-btn:hover {
    opacity: 1;
    border-color: hsla(0, 0%, 100%, 0.4);
}

.sort-btn.active {
    opacity: 1;
    background: var(--cGreen);
    border-color: var(--cGreen);
    color: var(--cWhite);
}

/* Insights Toggle Switch */
.insights-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.insights-toggle .toggle-label {
    font-size: var(--font-12);
    color: var(--cWhite);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.insights-toggle:hover .toggle-label {
    opacity: 1;
}

.insights-toggle input {
    display: none;
}

.insights-toggle .toggle-switch {
    position: relative;
    width: 3.5rem;
    height: 2rem;
    background: hsla(0, 0%, 100%, 0.15);
    border-radius: 1rem;
    transition: background 0.3s ease;
}

.insights-toggle .toggle-switch::after {
    content: '';
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--cWhite);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.5;
}

.insights-toggle input:checked + .toggle-switch {
    background: var(--cGreen);
}

.insights-toggle input:checked + .toggle-switch::after {
    transform: translateX(1.5rem);
    opacity: 1;
    background: var(--cWhite);
}

@media (max-width: 64em) {
    .grid-header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .sort-selector {
        flex-wrap: wrap;
    }
}

@media (max-width: 49em) {
    .sort-selector {
        gap: 0.3rem;
    }

    .sort-btn {
        padding: 0.3rem 0.5rem;
        font-size: 1rem;
    }
}

/* Property Grid Layout */
.property-grid {
    height: 100%;
    position: relative;
}

/* Flat grid for all cards */
.flat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

/* When responsive grid is active - uses JS-calculated values */
/* .responsive-grid-active .flat-cards-grid {
    grid-template-columns: repeat(var(--grid-columns, 6), 1fr);
    grid-auto-rows: var(--grid-card-height, auto);
    align-content: start;
} */

/* .responsive-grid-active .card-gradient {
    padding: clamp(0.4rem, calc(var(--card-scale, 0.8) * 1rem), 1rem) clamp(0.5rem, calc(var(--card-scale, 0.8) * 1.2rem), 1.2rem);
}

.responsive-grid-active .card-type {
    font-size: clamp(2rem, calc(var(--grid-card-height-num, 80) * 0.018 * 1px), 1.8rem);
}

.responsive-grid-active .card-number {
    font-size: clamp(1.5rem, calc(var(--grid-card-height-num, 80) * 0.016 * 1px), 1.8rem);
}

.responsive-grid-active .card-meta {
    font-size: clamp(1.2rem, calc(var(--grid-card-height-num, 80) * 0.013 * 1px), 1.2rem);
}

.responsive-grid-active .card-temp .temp-value,
.responsive-grid-active .card-temp .temp-unit {
    font-size: clamp(2rem, calc(var(--grid-card-height-num, 80) * 0.035 * 1px), 3.2rem);
}

.responsive-grid-active .card-humidity {
    font-size: clamp(2rem, calc(var(--grid-card-height-num, 80) * 0.035 * 1px), 3.2rem);
} */

/* Hide meta info on very small cards (when card height is below threshold) */
/* .responsive-grid-active .property-card .card-meta {
    display: var(--show-meta, flex);
} */

/* Placeholder for title card slot during animation */
.title-placeholder {
    aspect-ratio: 2.5 / 1;
    opacity: 0;
}

@media (max-width: 64em) {
    .flat-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
    }
}

@media (max-width: 49em) {
    .flat-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.5rem;
    }

    .title-placeholder {
        aspect-ratio: 2 / 1;
    }
}

/* Zone Container */
.zone-container {
    background: var(--cLgray);
    border-radius: 2rem;
    padding: 1rem;
}

.zone-container[data-zone="north"] {
    background: var(--cLgray);
}

.zone-container[data-zone="center"] {
    background: var(--cLgray);
}

.zone-container[data-zone="south"] {
    background: var(--cLgray);
}

.zone-cards,
.group-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Sort Group Container */
.sort-group {
    background: var(--cLgray);
    border-radius: 2rem;
    padding: 1rem;
}

/* Group Title Card */
.group-title-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    aspect-ratio: 2.5 / 1;
    border-radius: 2rem;
    padding: 1rem;
}

.group-title-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.25rem;
}

.group-name {
    font-size: var(--font-18);
    font-weight: 600;
    color: var(--cBlack);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.group-count {
    font-size: var(--font-32);
    font-weight: 700;
    color: var(--cBlack);
    line-height: 1;
}

/* Zone Title Card - takes one grid slot */
.zone-title-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    aspect-ratio: 2.5 / 1;
    border-radius: 2rem;
    padding: 1rem;
}

/* .zone-title-card[data-zone="north"] {
    background: linear-gradient(135deg, hsla(200, 60%, 50%, 0.15) 0%, hsla(200, 60%, 50%, 0.05) 100%);
    background: var(--cBlack);
}

.zone-title-card[data-zone="center"] {
    background: linear-gradient(135deg, hsla(30, 80%, 50%, 0.15) 0%, hsla(30, 80%, 50%, 0.05) 100%);
}

.zone-title-card[data-zone="south"] {
    background: linear-gradient(135deg, hsla(340, 60%, 50%, 0.15) 0%, hsla(340, 60%, 50%, 0.05) 100%);
} */

.zone-title-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.25rem;
}

.zone-name {
    font-size: var(--font-18);
    font-weight: 600;
    color: var(--cBlack);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.zone-temp {
    font-size: var(--font-32);
    font-weight: 700;
    color: var(--cBlack);
    line-height: 1;
}

@media (max-width: 64em) {
    .zone-container,
    .sort-group {
        padding: 0.75rem;
        border-radius: 1.5rem;
    }

    .zone-cards,
    .group-cards {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 0.75rem;
    }

    .zone-title-card,
    .group-title-card {
        border-radius: 1.5rem;
    }

    .zone-temp,
    .group-count {
        font-size: 2rem;
    }
}

@media (max-width: 49em) {
    .zone-container,
    .sort-group {
        padding: 0.5rem;
        border-radius: 1rem;
    }

    .zone-cards,
    .group-cards {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 0.5rem;
    }

    .zone-title-card,
    .group-title-card {
        border-radius: 1rem;
        aspect-ratio: 2 / 1;
    }

    .zone-name,
    .group-name {
        font-size: 0.75rem;
    }

    .zone-temp,
    .group-count {
        font-size: 1.75rem;
    }
}

/* Property Card */
.property-card {
    --card-temp-hue: 30;
    --card-temp-sat: 90%;
    position: relative;
    overflow: hidden;
    background: var(--cBlack);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: solid 1rem var(--cBlack);
    border-radius: 2.5rem;
    gap: 1rem;
    cursor: pointer;
}

/* Screen shine effect */
.property-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        transparent 40%,
        hsla(0, 0%, 100%, 0.08) 45%,
        hsla(0, 0%, 100%, 0.2) 50%,
        hsla(0, 0%, 100%, 0.08) 55%,
        transparent 60%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 10;
}

.property-card:hover::after {
    left: 150%;
}

.property-card:hover {
    transform: scale(1.02);
}

.property-card.card--inactive {
    opacity: 0.2;
    cursor: default;
    display: none;
}

.property-card.card--inactive:hover {
    transform: none;
}

.property-card.card--inactive::after {
    display: none;
}

.property-card.card--inactive .card-gradient {
    background: linear-gradient(180deg,
        hsl(0, 0%, 40%) 0%,
        hsl(0, 0%, 30%) 100%);
}

.property-card.card--inactive .card-avatar {
    filter: grayscale(1) opacity(0.5);
}

.property-card.card--inactive .card-temp,
.property-card.card--inactive .card-humidity {
    color: var(--cDgray);
}

.property-card.card--highlighted {
    box-shadow: 0 0 20px hsla(0, 0%, 100%, 0.3);
    z-index: 2;
}

.property-card.card--dimmed {
    opacity: 0.1;
}

/* Card Gradient Section (top) */
.card-gradient {
    position: relative;
    padding: 1rem 1.2rem 0 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    background: linear-gradient(135deg,
        hsl(var(--card-temp-hue), var(--card-temp-sat), 55%) 0%,
        hsl(calc(var(--card-temp-hue) + 35), var(--card-temp-sat), 50%) 100%);
    transition: background 0.5s ease;
    overflow: hidden;
}

.card-type-icon {
    width: auto;
    height: 2rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    filter: brightness(0) invert(1);
}

/* Noise texture overlay on card gradient */
/* .card-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.18;
    mix-blend-mode: overlay;
    background-image:
        repeating-radial-gradient(circle at 17% 32%, white, transparent 0.08%),
        repeating-radial-gradient(circle at 83% 67%, white, transparent 0.08%),
        repeating-radial-gradient(circle at 51% 12%, rgba(0,0,0,0.6), transparent 0.08%),
        repeating-radial-gradient(circle at 29% 71%, white, transparent 0.06%),
        repeating-radial-gradient(circle at 67% 23%, rgba(0,0,0,0.4), transparent 0.06%);
    background-size: 150px 150px, 170px 170px, 130px 130px, 200px 200px, 180px 180px;
    border-radius: inherit;
} */

.card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
}

/* Quote Bubble - message notification style */
.card-quote-bubble {
    position: absolute;
    top: 1rem;
    left: 0.5rem;
    right: 0.5rem;
    padding: 0.6rem 0.8rem;
    background: hsla(0, 0%, 100%, 0.95);
    color: var(--cBlack);
    font-size: var(--font-12);
    font-family: "ropa-soft-pro",sans-serif;
    line-height: 1.3;
    border-radius: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    /* Hidden by default */
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    pointer-events: none;
    z-index: 5;
    /* Transition for smooth exit */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Quote bubble notification dot */
.card-quote-bubble::before {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    background: #E85D50;
    border-radius: 50%;
    box-shadow: 0 0 0 2px hsla(0, 0%, 100%, 0.95);
}

/* Quote bubble tail (speech bubble pointer) */
.card-quote-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 1rem;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid hsla(0, 0%, 100%, 0.95);
}

/* Quote bubble visible state */
.card-quote-bubble.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Quote bubble ping animation on enter */
@keyframes quotePing {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
    }
    70% {
        transform: translateY(2px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Quote bubble exit animation */
@keyframes quoteExit {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
}

.card-quote-bubble.entering {
    animation: quotePing 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.card-quote-bubble.exiting {
    animation: quoteExit 0.3s ease-out forwards;
}

/* Card with active quote - highlight effect */
.property-card.has-quote {
    z-index: 3;
}

/* Card Avatar - stacked layers */
.card-avatar {
    position: relative;
    align-self: flex-end;
    flex-shrink: 0;
}

.card-avatar .avatar-layer {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    image-rendering: pixelated;
}

/* Stack layers on top of clothes: face, hair, mood (top) */
.card-avatar .avatar-clothes {
    position: relative;
}

.card-avatar .avatar-face,
.card-avatar .avatar-hair,
.card-avatar .avatar-mood {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hide face and hair when mood_06 (extreme) is active */
.card-avatar.mood-extreme .avatar-face,
.card-avatar.mood-extreme .avatar-hair {
    opacity: 0;
}

.card-type {
    font-size: var(--font-16);
    font-weight: 700;
    color: var(--cWhite);
    text-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.3);
    max-width: 11rem;
}

.card-number {
    font-size: var(--font-14);
    font-weight: 300;
    color: var(--cWhite);
    line-height: 1.1;
    text-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.2);
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: var(--font-12);
    color: var(--cWhite);
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.2);
}

/* Card Data Section (right) */
.card-data {
    background-color: var(--cWhite);
    font-size: var(--font-18);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.card-data-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-temp {
    color: var(--cBlack);
    width: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
}

.card-temp .temp-value {
    font-weight: 700;
    line-height: 1;
    color: var(--cBlack);
}

.card-temp .temp-unit {
    font-weight: 700;
    color: var(--cBlack);
}

.card-temp-icon {
    max-width: 1rem;
    max-height: 1.5rem;
    opacity: 0.3;
}

.card-humidity-icon {
    max-width: 1.5rem;
    max-height: 1.5rem;
    opacity: 0.3;
}

.card-humidity {
    display: flex;  
    justify-content: center;
    align-items: center;
    width: 50%;
    font-weight: 700;
    color: var(--cBlack);
    text-align: center;
    gap: 0.2rem;
}

/* Timeline Bar - New Design */
.timeline-bar {
    display: flex;
    height: 8rem;
    background: var(--cBlack);
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}

/* Left Panel - Info Section */
.timeline-info-panel {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 2rem;
    /* background: var(--cDgray); */
    min-width: 28rem;
    border: solid 0.6rem var(--cBlack);
    border-radius: 2rem;
    background: radial-gradient( circle at 62% 50%, hsl(calc(var(--bg-temp-hue) + 35), 95%, 55%) 0%, hsl(calc(var(--bg-temp-hue) + 35), 95%, 55%) 8%, transparent 8% ), radial-gradient( circle at 54% 50%, hsl(calc(var(--bg-temp-hue) + 20), 90%, 52%) 0%, hsl(calc(var(--bg-temp-hue) + 20), 90%, 52%) 14%, transparent 14% ), radial-gradient( circle at 43% 50%, hsl(calc(var(--bg-temp-hue) + 8), 85%, 50%) 0%, hsl(calc(var(--bg-temp-hue) + 8), 85%, 50%) 22%, transparent 22% ), radial-gradient( circle at 22% 50%, hsl(var(--bg-temp-hue), 85%, 50%) 0%, hsl(var(--bg-temp-hue), 85%, 50%) 32%, transparent 32% );

}

.timeline-temp-display {
    display: flex;
    align-items: center;
}

.timeline-temp-display .external-temp {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    transition: color 0.5s ease;
    width: 100%;
    color: var(--cWhite);
}

.timeline-meta {
    display: flex;
    align-items: center;
}

.timeline-date {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--cWhite);
    width: 100%;
    text-align: right;
    margin-right: 2rem;
    line-height: 1.1;
}

.timeline-meta .daynight-icon svg {
    color: var(--cWhite);
    transition: transform 0.5s ease;
}

.timeline-meta .daynight-icon .sun-icon {
    color: hsl(45, 100%, 60%);
}

.timeline-meta .daynight-icon .moon-icon {
    color: hsl(220, 60%, 70%);
}

.timeline-description {
    font-size: 1.1rem;
    color: var(--cWhite);
    opacity: 0.6;
    margin: 0;
    max-width: 14rem;
    line-height: 1.3;
}

/* Right Panel - Hours Track */
.timeline-hours-panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: rgb(209, 244, 37); /* Fallback before gradient loads */
    overflow: hidden;
    border: solid 0.6rem var(--cBlack);
    border-radius: 2rem;
}

/* Dynamic temperature gradient overlay */
.timeline-gradient {
    transition: transform 0.1s linear;
}

/* Noise texture overlay - CSS-only grain */
/* .timeline-noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.22;
    mix-blend-mode: overlay;
    background-image:
        repeating-radial-gradient(circle at 17% 32%, white, transparent 0.08%),
        repeating-radial-gradient(circle at 83% 67%, white, transparent 0.08%),
        repeating-radial-gradient(circle at 51% 12%, rgba(0,0,0,0.6), transparent 0.08%),
        repeating-radial-gradient(circle at 29% 71%, white, transparent 0.06%),
        repeating-radial-gradient(circle at 67% 23%, rgba(0,0,0,0.4), transparent 0.06%);
    background-size: 150px 150px, 170px 170px, 130px 130px, 200px 200px, 180px 180px;
} */

/* Fixed Marker - Horizontal Line */
.timeline-marker {
    position: absolute;
    left: 0;
    right: 0;
    top: 70%;
    transform: translateY(-50%);
    height: 1px;
    background: var(--cWhite);
    z-index: 2;
}

/* Circular dot at current time position */
.timeline-marker::before {
    content: '';
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--cWhite);
    border-radius: 50%;
}

/* Scrolling Hours Track */
.timeline-hours-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    transition: transform 0.1s linear;
    padding-left: 5%; /* Start from marker position */
    position: relative;
    z-index: 1;
}

.timeline-hour {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 14rem;
    color: var(--cWhite);
}

.timeline-hour-value {
    font-size: 1.8rem;
    font-weight: 800;
    opacity: 1;
}

.timeline-hour-tick {
    height: 1rem;
    margin-top: 0.3rem;
}

/* Hour at marker position (current) */
.timeline-hour.current {
    opacity: 1;
}

.timeline-hour.current .timeline-hour-value {
    font-size: 2.2rem;
    font-weight: 700;
}

/* Past hours (left of marker) */
.timeline-hour.past {
    opacity: 0.4;
}

/* Midnight marker (shows date) */
.timeline-hour.midnight {
    position: relative;
}

.timeline-hour.midnight::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -0.5rem;
    bottom: -0.5rem;
    width: 1px;
    background: var(--cWhite);
    opacity: 0.3;
    transform: translateX(-50%);
}

.timeline-hour.midnight .timeline-hour-value {
    font-weight: 700;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 64em) {
    .timeline-bar {
        height: 7rem;
    }

    .timeline-info-panel {
        min-width: 22rem;
        padding: 0.8rem 1.5rem;
        gap: 1rem;
    }

    .timeline-temp-display .external-temp {
        font-size: 3rem;
    }

    .timeline-description {
        display: none;
    }

    .timeline-hour {
        min-width: 10rem;
    }
}

/* Insight Overlay */
.insight-overlay {
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8rem; /* Height of timeline bar */
}

/* Backdrop - hidden, we just fade out non-highlighted cards instead */
.insight-backdrop {
    display: none;
}

/* Content slides up from behind timeline */
.insight-content {
    pointer-events: auto;
    position: relative;
    max-width: 50rem;
    width: 90%;
    color: var(--cWhite);
    transform: translateY(calc(100% + 8rem)); /* Start below viewport, behind timeline */
    opacity: 1;
    transition: transform 0.4s ease-out, opacity 0.3s ease-out;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    text-align: center;
}

.insight-overlay.visible .insight-content {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive insight overlay */
@media (max-width: 64em) {
    .insight-overlay {
        padding-bottom: 7rem; /* Match timeline bar height */
    }
    .insight-content {
        transform: translateY(calc(100% + 7rem));
    }
}

@media (max-width: 49em) {
    .insight-overlay {
        padding-bottom: 10rem; /* Account for stacked timeline on mobile */
    }
    .insight-content {
        transform: translateY(calc(100% + 10rem));
        padding: 1.5rem;
    }
    .insight-content .txt-24 {
        font-size: 1.8rem;
    }
}

.insight-message {
    line-height: 1.5;
}

.comparison-items {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.comparison-item,
.comparison-diff {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 40%;

}

.comparison-diff {
    width: 100%;
}

/* Floating Quote */
.quote-floater {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: -150px;
    max-width: 50rem;
    padding: 2rem 3rem;
    text-align: center;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: var(--cBlack);
}

.quote-floater.visible {
    opacity: 1;
}

.quote-floater-text {
    font-size: var(--font-24);
    font-style: italic;
    line-height: 1.6;
    color: var(--cWhite);
    position: relative;
    padding: 0 2rem;
    text-shadow: 0 2px 20px hsla(0, 0%, 0%, 0.8);
}

.quote-floater-text::before,
.quote-floater-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--cWhite);
    opacity: 0.7;
    position: absolute;
    line-height: 1;
}

.quote-floater-text::before {
    top: -0.5rem;
    left: 0;
}

.quote-floater-text::after {
    content: '"';
    bottom: -1.5rem;
    right: 0;
}

/* Conclusion Section */
.section-conclusion {
    background: transparent;
    min-height: 100vh;
}

/* Conclusion Sky Gradient - dark navy to teal (sunset/dusk palette) */
.conclusion-sky {
    background: linear-gradient(180deg, #0D1B2A 0%, #1B3A4B 40%, #2E6171 70%, #3D7A8C 100%);
    z-index: 0;
}

/* Conclusion Sun - similar to hero sun but at bottom */
.conclusion-sun {
    position: absolute;
    bottom: -25vw;
    left: calc(50% - 25vw);
    width: 50vw;
    height: 50vw;
    background: #E8703A;
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
}

/* Footer */
.section-footer {
    color: var(--cBlack);
    height: 4rem;
    border-top-right-radius: 2rem;
    border-top-left-radius: 2rem;
}

.footer-logo { 
    width: 100%;
    max-width: 10rem;
}

/* Responsive Adjustments */
@media (max-width: 49em) {
    .timeline-bar {
        flex-direction: column;
        height: auto;
    }

    .timeline-info-panel {
        min-width: 100%;
        padding: 1rem;
        justify-content: center;
    }

    .timeline-temp-display .external-temp {
        font-size: 2.5rem;
    }

    .timeline-hours-panel {
        height: 5rem;
    }

    .timeline-hours-track {
        padding-left: 10%;
    }

    .timeline-hour {
        min-width: 8rem;
    }

    .timeline-hour-value {
        font-size: 1.4rem;
    }

    .grid-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ================================
   Property Detail Drawer
   ================================ */
.property-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.property-drawer.open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.drawer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: hsla(0, 0%, 0%, 0.7);
    backdrop-filter: blur(4px);
}

.drawer-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: var(--cBlack);
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    padding: 2rem 3rem 3rem;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.property-drawer.open .drawer-panel {
    transform: translateY(0);
}

.drawer-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 50%;
    color: var(--cWhite);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.drawer-close:hover {
    transform: scale(1.2);
}

/* Drawer Header - Avatar + Location */
.drawer-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.drawer-avatar {
    position: relative;
    width: 8rem;
    height: auto;
    flex-shrink: 0;
    background: white;
    border-radius: 50%;
}

.drawer-avatar .avatar-layer {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: pixelated;
}

.drawer-avatar .avatar-clothes {
    position: relative;
}

.drawer-avatar .avatar-face,
.drawer-avatar .avatar-hair,
.drawer-avatar .avatar-mood {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.drawer-avatar.mood-extreme .avatar-face,
.drawer-avatar.mood-extreme .avatar-hair {
    opacity: 0;
}

.drawer-location {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.drawer-location-name {
    font-size: var(--font-32);
    font-weight: 700;
    color: var(--cWhite);
}

.drawer-floor {
    font-size: var(--font-18);
    color: hsla(0, 0%, 100%, 0.6);
}

/* Drawer Context - Dynamic Phrase */
.drawer-context {
    margin-bottom: 2.5rem;
    width: 50%;
}

.drawer-phrase {
    font-size: var(--font-24);
    line-height: 1.5;
    color: var(--cWhite);
}

.drawer-phrase strong {
    font-weight: 700;
    background: linear-gradient(
        135deg,
        hsl(var(--drawer-temp-hue, 50), 90%, 55%) 0%,
        hsl(calc(var(--drawer-temp-hue, 50) + 25), 85%, 50%) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Drawer Data - List of details */
.drawer-data {
    padding: 1.5rem 2rem;
    width: 50%;
}

.drawer-data-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem 2rem;
}

.drawer-data-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0.5rem 0;
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
    font-size: var(--font-14);
}

.drawer-data-list li:last-child {
    border-bottom: none;
}

.drawer-data-label {
    color: hsla(0, 0%, 100%, 0.6);
    width: 30%;
    font-size: var(--font-12);
}

.drawer-data-value {
    color: var(--cWhite);
    font-weight: 600;
    width: 70%;
    text-align: right;
    word-wrap: break-word;
}

/* Responsive */
@media (max-width: 49em) {
    .drawer-panel {
        padding: 1.5rem 1.5rem 2rem;
    }

    .drawer-header {
        gap: 1.5rem;
    }

    .drawer-avatar {
        width: 6rem;
    }

    .drawer-location-name {
        font-size: var(--font-24);
    }

    .drawer-phrase {
        font-size: var(--font-18);
    }

    .drawer-data-list {
        grid-template-columns: 1fr;
    }
}