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

/*
Project: Lafcadio Hearn Disappeared from the World
Author: MALVI
Designer: MALVI
Version: 1.0
Date: 2025-09-05
Contact: mal-vi.com
*/


/* ~~~~~~~~~~~~~ */
/* ~~~ FONTS ~~~ */
/* ~~~~~~~~~~~~~ */
@import url('https://fonts.googleapis.com/css2?family=Girassol&display=swap');

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

@font-face {
font-family:"itc-american-typewriter";
src:url("https://use.typekit.net/af/12a3fb/00000000000000007735bc46/31/l?subset_id=2&fvd=n7&v=3") format("woff2"),url("https://use.typekit.net/af/12a3fb/00000000000000007735bc46/31/d?subset_id=2&fvd=n7&v=3") format("woff"),url("https://use.typekit.net/af/12a3fb/00000000000000007735bc46/31/a?subset_id=2&fvd=n7&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:700;font-stretch:normal;
}

@font-face {
font-family:"itc-american-typewriter";
src:url("https://use.typekit.net/af/e1cab4/00000000000000007735bc73/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3") format("woff2"),url("https://use.typekit.net/af/e1cab4/00000000000000007735bc73/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3") format("woff"),url("https://use.typekit.net/af/e1cab4/00000000000000007735bc73/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:500;font-stretch:normal;
}


/* ~~~~~~~~~~~~ */
/* ~~~ 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:       #2f2c2c;
    --cBlack_o:     hsl(0deg 0% 0% / 80%);
    --cLgray:       hsl(20, 4%, 83%);
    --cMgray:       hsl(0deg 0% 85%);
    --cDgray:       hsl(0deg 0% 40%);
    --cMagenta:     hsl(284deg 100% 50%);
    --cBlue:        hsl(214deg 100% 62%);
    --cDarkBlue:    hsl(247deg 87% 12%);
    --cYellow:      rgb(237,206,148);
    --cLightYellow: rgb(245,232,206);

    --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(3.6rem + (60 - 36) * ((100vw - 300px) / (1800 - 300))); 
    --line-60:      calc(4.0rem + (66 - 40) * ((100vw - 300px) / (1800 - 300)));

    --font-48:      calc(2.8rem + (48 - 28) * ((100vw - 300px) / (1800 - 300)));
    --line-48:      calc(3.2rem + (50 - 32) * ((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.8rem + (22 - 18) * ((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-14:      calc(1.2rem + (14 - 12) * ((100vw - 300px) / (1800 - 300)));
    --line-14:      calc(1.6rem + (18 - 16) * ((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;

}


/* ~~~~~~~~~~~~~~~~~ */
/* ~~~ ACCESSIBILITY ~~~ */
/* ~~~~~~~~~~~~~~~~~ */

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 1000;
    text-decoration: none;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* ~~~~~~~~~~~~~~~~~ */
/* ~~~ 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 { position: relative; overflow-x: hidden; }
html, body { min-height: 100%;
    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); 
}

body::before {
  content: "";
  position: absolute;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
  z-index: -1;              /* sits behind all content */
  background-image: url(/assets/images/bg.jpg);  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;  /* width = window, height = total page height */
}
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 }


/* ~~~~~~~~~~~~~~~~~~ */
/* ~~~ TYPOGRAPHY ~~~ */
/* ~~~~~~~~~~~~~~~~~~ */
html { font-size: 62.5%; }
body { font-size: 1.6em; font-weight: 400; font-style: normal; font-family: 'Syne', Helvetica, Arial, sans-serif; }
strong { font-family: 'Syne', Helvetica, Arial, sans-serif; font-weight: 800; }
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; }

.tk-itc-american-typewriter { font-family: "itc-american-typewriter",serif; }

.girassol-regular { font-family: "Girassol", serif; font-weight: 400; font-style: normal; }
  
.regular { font-family: 'Syne', Helvetica, Arial, sans-serif; font-weight: 400; }
.bold   { font-weight: 800; }

.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; }
.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: 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; } 
}

@media (min-width: 2000px) {
    .txt-48 { font-size: 4.8rem; }
    
}

/* ~~~~~~~~~~~~~~~ */
/* ~~~ 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-dgray       { color:var(--cDgray); }
.color-lgray       { color:var(--cLgray); }
.color-yellow      { color:var(--cYellow); }
.color-lightyellow { color:var(--cLightYellow); }

.bg-shade       { background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)); }
.shadow         { box-shadow: 0 0 1rem 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-blue        { background-color:var(--cBlue); }

.blend-burn     { mix-blend-mode: color-burn; -webkit-mix-blend-mode: color-burn; }
.blend-darken   { mix-blend-mode: darken; -webkit-mix-blend-mode: darken; }
.grayscale      { filter: grayscale(100%); }
.sepia          { filter: sepia(100%); }
.blur           { filter: blur(0.1px); }

@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-black-gradient { background: linear-gradient(0deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.9)); }

}

/* ===================== */
/* === 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-bottom-double-solid { border-bottom: 7px double var(--cBlack); }
.border-bottom-2-solid { border-bottom: 2px solid var(--cBlack); }
.border-top-2-solid { border-top: 2px 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-7-white { border: 5px 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 }
.z5 { z-index: 5 }
.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: 0.7rem; }
.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-p5  { width: 5%; }
.w-p10  { width: 10%; }
.w-p15  { width: 15%; }
.w-p25  { width: 25%; }
.w-p30  { width: 30%; }
.w-p33  { width: 33.333%; }
.w-p35  { width: 35%; }
.w-p375 { width: 37.5%; }
.w-p40  { width: 40%; }
.w-p45  { width: 45%; }
.w-p50  { width: 50%; }
.w-p60  { width: 60%; }
.w-p66  { width: 66.666%; }
.w-p70  { width: 70%; }
.w-p75  { width: 75%; }
.w-p80  { width: 80%; }
.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; }

.w-max-p30 { max-width: 30%; }

@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-p80     { width: 80% }

    .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-r15  { height: 15rem; }
.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-r10       { height: 10rem; }
    .sm-h-max-r20   { max-height: 20rem }
    .sm-h-vh70      { height: 70vh }
    .sm-h-vh90      { height: 90vh }
    .sm-h-vh100     { height: 100vh }
    .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-t250 { padding-top: 25rem; }
.pdg-t20 { padding-top: 2rem; }
.pdg-t30 { padding-top: 3rem; }
.pdg-b10 { padding-bottom: 1rem; }
.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-v30 { padding-top: 3rem; padding-bottom: 3rem; }
.pdg-v50 { padding-top: 5rem; padding-bottom: 5rem; }
.pdg-h05 { padding-left: .5rem; padding-right: .5rem; }
.pdg-h10 { padding-left: 1rem; padding-right: 1rem; }
.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; }
.pdg-h50 { padding-left: 5rem; padding-right: 5rem; }


@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-v10     { padding-top: 1rem; padding-bottom: 1rem; }
    .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-r40 { margin-right: 4rem; }

.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-v10 { margin-top: 1rem; margin-bottom: 1rem; }
.mrg-v20 { margin-top: 2rem; margin-bottom: 2rem; }
.mrg-v30 { margin-top: 3rem; margin-bottom: 3rem; }
.mrg-v40 { margin-top: 4rem; margin-bottom: 4rem; }
.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-b10    { margin-bottom: 1rem; }
    .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 ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~ */




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

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ NEWSPAPER LAYOUT GRID ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.newspaper-grid {
    display: grid;
    grid-template-columns: 15% 12.5% 45% 15% 12.5%;
    width: 100%;
    max-width: 144rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.newspaper-col-1 { grid-column: 1; }
.newspaper-col-2 { grid-column: 2; }
.newspaper-col-3 { grid-column: 3; }
.newspaper-col-4 { grid-column: 4; }
.newspaper-col-5 { grid-column: 5; }

/* Newspaper column spans */
.newspaper-span-2 { grid-column: span 2; }
.newspaper-span-3 { grid-column: span 3; }
.newspaper-span-4 { grid-column: span 4; }
.newspaper-span-5 { grid-column: span 5; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ FIXED TITLE POSITIONING ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.fixed-title {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 43%;
    transition: color 0.3s ease-out, text-shadow 0.3s ease-out;
}

.fixed-title.final-position {
    position: absolute;
    top: auto;
    left: auto;
    transform: none;
    z-index: 10;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ SCROLL ANIMATIONS ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.scroll-fade-in {
    opacity: 1;
    transform: translateY(3rem);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-left {
    opacity: 1;
    transform: translateX(-3rem);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 1;
    transform: translateX(3rem);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale-up {
    opacity: 1;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Layout disintegration animations */
.layout-disintegrate {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.layout-disintegrate.disintegrated {
    opacity: 0.3;
    transform: translateY(-2rem) scale(0.95);
    filter: blur(1px);
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ ERA-SPECIFIC TYPOGRAPHY ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.newspaper-headline {
    font-family: "itc-american-typewriter",serif;   
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.1;
}

.newspaper-subhead {
    font-family: "itc-american-typewriter",serif;   
    font-weight: 400;
    letter-spacing: 0.05em;
    text-rendering: geometricPrecision;
}

.newspaper-body {
    font-family: "itc-american-typewriter",serif;   
    font-weight: 400;
    line-height: 1.1;
    text-align: justify;
    hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    letter-spacing: 1;
    hyphenate-limit-chars: 5 2 2;
}

.newspaper-caption {
    font-family: "itc-american-typewriter",serif;   
    font-size: 0.8em;
    font-style: italic;
    text-align: center;
    margin-top: 0.5rem;
}

.newspaper-byline {
    font-family: "itc-american-typewriter",serif;   
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ NEWSPAPER STYLING ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.newspaper-header {
    max-width: 144rem;
    margin: 0 auto;
}
.newspaper-column-rule {
    border-right: 2px solid var(--cBlack);
    padding-right: 1rem;
    padding-left: 1rem;
    padding-top: 2rem;
}

.newspaper-column-rule:first-child {
    padding-left: 0;
}
.newspaper-column-rule:last-child {
    border-right: none;
    padding-right: 0;
}

@media (max-width: 49em) {
    .newspaper-column-rule { border: none; padding-left: 0; padding-right: 0; }
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ JAPANESE HOUSE SCENE ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.japanese-scene {
    position: relative;
    min-height: 60vh;
    overflow: hidden;
}

@media (max-width: 49em) {
    .japanese-scene { min-height: 150vh; }
}

.japanese-house {
    width: 100%;
    height: auto;
    z-index: 5;
    position: relative;
}

.fireflies {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Firefly container - positioned to cover the entire Japanese scene */
.fireflies {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
}

/* Individual firefly elements are created dynamically by JavaScript */
.firefly {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ ROTATING IMAGES ANIMATIONS ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.rotating-image-1,
.rotating-image-2,
.rotating-image-3,
.rotating-image-4 {
    transition: transform 3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 3s ease-out;
    will-change: transform, opacity;
    position: relative;
    z-index: 5;
}

/* First image - rotates clockwise and drifts left */
.rotating-image-1.dissolve {
    transform: rotate(-8deg) scale(1.05) translateX(-15%);
    opacity: 0.85;
    z-index: 10;
}

/* Second image - rotates counter-clockwise and drifts right */
.rotating-image-2.dissolve {
    transform: rotate(12deg) scale(1.08) translateX(20%);
    opacity: 0.8;
    z-index: 10;
}

/* Third image - rotates clockwise and drifts further left */
.rotating-image-3.dissolve {
    transform: rotate(-10deg) scale(1.06) translateX(-50%);
    opacity: 0.82;
    z-index: 10;
}

/* Fourth image - rotates counter-clockwise and drifts further right */
.rotating-image-4.dissolve {
    transform: rotate(15deg) scale(1.09) translateX(50%);
    opacity: 0.78;
    z-index: 10;
}

/* Responsive adjustments for dissolve effect */
@media (max-width: 80em) {
    .rotating-image-1.dissolve {
        transform: rotate(6deg) scale(1.03) translateX(-10%);
    }
    
    .rotating-image-2.dissolve {
        transform: rotate(-9deg) scale(1.05) translateX(15%);
    }
    
    .rotating-image-3.dissolve {
        transform: rotate(7deg) scale(1.04) translateX(-18%);
    }
    
    .rotating-image-4.dissolve {
        transform: rotate(-11deg) scale(1.06) translateX(22%);
    }
}

@media (max-width: 49em) {
    .rotating-image-1.dissolve {
        transform: rotate(4deg) scale(1.02) translateX(-5%);
    }
    
    .rotating-image-2.dissolve {
        transform: rotate(-6deg) scale(1.03) translateX(10%);
    }
    
    .rotating-image-3.dissolve {
        transform: rotate(5deg) scale(1.02) translateX(-12%);
    }
    
    .rotating-image-4.dissolve {
        transform: rotate(-8deg) scale(1.04) translateX(15%);
    }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ CLOUD ANIMATIONS ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.cloud-left {
    position: fixed;
    top: 20%;
    left: -100%;
    width: 40%;
    max-width: 60rem;
    z-index: 1;
    will-change: transform;
}

.cloud-right {
    position: fixed;
    top: 30%;
    left: 100%;
    width: 35%;
    max-width: 50rem;
    z-index: 1;
    will-change: transform;
}

/* Responsive cloud positioning */
@media (max-width: 80em) {
    .cloud-left {
        width: 45%;
        top: 15%;
    }
    
    .cloud-right {
        width: 40%;
        top: 25%;
    }
}

@media (max-width: 49em) {
    .cloud-left {
        width: 50%;
        top: 10%;
    }
    
    .cloud-right {
        width: 45%;
        top: 20%;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ MOBILE ADAPTATIONS ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@media (max-width: 80em) {
    .newspaper-grid {
        grid-template-columns: 20% 60% 20%;
    }

    .fixed-title { width: 58%;}
    
    .newspaper-col-1 { grid-column: 1; }
    .newspaper-col-2 { display: none; }
    .newspaper-col-3 { grid-column: 2; }
    .newspaper-col-4 { display: none; }
    .newspaper-col-5 { grid-column: 3; }
}

@media (max-width: 49em) {
    .newspaper-grid {
        grid-template-columns: 100%;
        gap: 1rem;
        padding: 0 1rem;
    }

    .fixed-title { width: 98%;}
    
    .newspaper-col-1,
    .newspaper-col-2,
    .newspaper-col-4,
    .newspaper-col-5 {
        display: none;
    }
    
    .newspaper-col-3 {
        grid-column: 1;
    }
    
    .fixed-title {
        font-size: 2.4rem;
        line-height: 1.2;
    }
    
    .japanese-house {
        max-width: 100%;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ PERFORMANCE OPTIMIZATIONS ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ SCROLL TRIGGER UTILITIES ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.scroll-trigger {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.scroll-trigger.triggered {
    opacity: 1;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--cMagenta), var(--cBlue));
    transform-origin: left;
    transform: scaleX(0);
    z-index: 1001;
    transition: transform 0.1s ease-out;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ COOKIE BANNER STYLING ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#cookie-banner {
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    border-radius: 0.8rem;
    box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#cookie-banner.active {
    transform: translateY(0);
    opacity: 1;
}

.btn {
    border: none;
    border-radius: 0.4rem;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.2s ease-out;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.btn:hover {
    transform: translateY(-0.1rem);
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.2);
}

.btn:focus {
    outline: 0.2rem solid var(--cBlue);
    outline-offset: 0.2rem;
}

/* Cookie banner responsive adjustments */
@media (max-width: 49em) {
    #cookie-banner {
        left: 1rem;
        right: 1rem;
        width: auto;
        max-width: none;
        margin: 1rem;
    }
    
    #cookie-banner .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    #cookie-banner .btn {
        width: 100%;
    }
}