@charset "UTF-8";

/* =================================================================== 

 * TOC:
 *
 * # SETTINGS
 *      ## font families
 *      ## colors
 *      ## shadows
 *      ## easing functions
 *      ## spacing, radius and typescale
 *      ## type variables
 *      ## grid variables
 * # CSS RESET
 * # GRID
 *      ## extra large devices
 *      ## large devices
 *      ## medium devices
 *      ## tablet devices
 *      ## mobile devices
 *      ## small mobile devices
 *      ## additional column stackpoints 
 * # CSS GRID Layout Tools
 *      ## Grid Block 
 *      ## grid columns
 * # BASE SETUP
 * # UTILITY CLASSES
 * # TYPOGRAPHY 
 *      ## base type styles
 *      ## additional typography classes
 *      ## lists
 *      ## media 
 *      ## spacing
 *
 *
 * # PRELOADER
 *      ## page loaded
 * # FORM 
 *      ## style placeholder text
 *      ## change autocomplete styles in Chrome
 * # BUTTONS
 * # TABLE
 * # COMPONENTS
 *      ## pagination 
 *      ## alert box 
 *      ## skillbars
 *      ## stats tabs
 *
 *
 * # THEME-SPECIFIC SHARED STYLES
 *      ## section header
 *      ## social list
 *      ## swiper overrides
 *      ## glightbox overrides
 * # PAGE WRAP
 * # SITE HEADER
 *      ## logo
 *      ## main navigation
 *      ## mobile menu toggle
 * # INTRO
 *      ## intro content
 *      ## intro scroll down
 *      ## intro transitions
 * # ABOUT
 *      ## about content
 * # MENU
 *      ## tab navigations
 *      ## tab contents
 * # GALLERY
 *      ## gallery items
 * # TESTIMONIALS
 * # FOOTER
 *      ## copyright
 *      ## go top
 *
 *
 * ------------------------------------------------------------------ */


/* ===================================================================
 * # SETTINGS
 *
 *
 * ------------------------------------------------------------------- */

/* ------------------------------------------------------------------- 
 * ## font families
 * ------------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Roboto+Flex:opsz,wght@8..144,300;8..144,400;8..144,500;8..144,600;8..144,700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Ojuju:wght@200..800&display=swap');
:root {    
   /* font-families
   */
    --font-1   : "Roboto Flex", Sans-Serif;
    --font-2   : "Playfair Display", Serif;
    --font-mono: Consolas, "Andale Mono", Courier, "Courier New", monospace;
}

/* ------------------------------------------------------------------- 
 * ## colors
 * ------------------------------------------------------------------- */
:root {
  /* brand gradient base
   * 0% #F08137
   * 41% #EC692E
   * 100% #E73F20
   */

  /* Primary Brand (Orange–Red Spectrum) */
  --color-1-50  : #fff5f0;
  --color-1-100 : #ffe1d2;
  --color-1-200 : #ffc4a4;
  --color-1-300 : #ffa173;
  --color-1-400 : #f58a4e; /* around #F08137 */
  --color-1-500 : #f08137; /* brand anchor */
  --color-1-600 : #ec692e; /* brand mid stop */
  --color-1-700 : #e73f20; /* brand deep anchor */
  --color-1-800 : #c22f1a;
  --color-1-900 : #9b2616;
  --color-1-950 : #52130a;
  --color-1     : var(--color-1-500);

  /* Secondary (Neutral Beige/Tan family – softer partner color) */
  --color-2-50  : #fdf7f3;
  --color-2-100 : #f9ece3;
  --color-2-200 : #f2d7c1;
  --color-2-300 : #e8b892;
  --color-2-400 : #dc9763;
  --color-2-500 : #c87337;
  --color-2-600 : #a9582b;
  --color-2-700 : #874523;
  --color-2-800 : #65331a;
  --color-2-900 : #422112;
  --color-2-950 : #211009;
  --color-2     : var(--color-2-500);

  /* Neutrals (keeping as-is, since your greys work well) */
  --color-neutral-50   : #efefef;
  --color-neutral-100  : #dfe0e0;
  --color-neutral-200  : #bfc1c0;
  --color-neutral-300  : #9fa1a1;
  --color-neutral-400  : #7f8281;
  --color-neutral-500  : #5f6362;
  --color-neutral-600  : #4c4f4e;
  --color-neutral-700  : #393b3b;
  --color-neutral-800  : #262827;
  --color-neutral-900  : #131414;
  --color-neutral-950  : #090a0a;
  --color-neutral      : var(--color-neutral-500);

  --color-white      : var(--color-neutral-50);
  --color-black      : var(--color-neutral-950);
  --color-pure-white : #ffffff;
  --color-pure-black : #000000;

  /* Semantic */
  --color-error           : #ffd1d2;
  --color-success         : #c8e675;
  --color-info            : #d7ecfb;
  --color-notice          : #fff099;
  --color-error-content   : #a13030;
  --color-success-content : #556b2f;
  --color-info-content    : #2a4d69;
  --color-notice-content  : #665c00;

  /* Backgrounds */
  --color-bg              : var(--color-neutral-950);
  --color-bg-primary      : var(--color-1-600);
  --color-bg-primary-light: var(--color-1-400);
  --color-bg-primary-dark : var(--color-1-700);

  --color-bg-secondary      : var(--color-2-500);
  --color-bg-secondary-light: var(--color-2-400);
  --color-bg-secondary-dark : var(--color-2-600);

  --color-bg-accent      : var(--color-1-600);
  --color-bg-accent-light: var(--color-1-400);
  --color-bg-accent-dark : var(--color-1-700);

  --color-bg-neutral      : var(--color-neutral-800);
  --color-bg-neutral-light: var(--color-neutral-700);
  --color-bg-neutral-dark : var(--color-neutral-900);

  --color-border          : var(--color-neutral-700);

  /* Text */
  --color-text        : var(--color-neutral-200);
  --color-text-bold   : var(--color-neutral-50);
  --color-text-light  : var(--color-neutral-500);
  --color-headings    : var(--color-neutral-100);
  --color-placeholder : var(--color-neutral-500);

  /* Links */
  --color-link       : var(--color-1-500);
  --color-link-hover : var(--color-1-700);
  --color-link-active: var(--color-2-500);

  /* Buttons */
  --color-btn                   : var(--color-bg-neutral);
  --color-btn-text              : var(--color-white);
  --color-btn-hover             : var(--color-bg-neutral-light);
  --color-btn-hover-text        : var(--color-white);
  --color-btn-primary           : var(--color-bg-primary);
  --color-btn-primary-text      : var(--color-white);
  --color-btn-primary-hover     : var(--color-bg-primary-dark);
  --color-btn-primary-hover-text: var(--color-white);

  --color-preloader-bg : var(--color-bg);
  --color-loader       : var(--color-neutral-400);
  --color-loader-light : var(--color-white);



  /* preloader
   */
    --color-preloader-bg          : var(--color-bg);
    --color-loader                : var(--color-neutral-400);
    --color-loader-light          : var(--color-white);
}

/* ------------------------------------------------------------------- 
 * ## shadows
 * ------------------------------------------------------------------- */
:root {
  /* shadow color in HSL
   */
    --shadow-color: 0, 0%, 0%;

    --shadow-low  :
        0 2px 2px hsla(var(--shadow-color), 0.01),
        0 4px 4px hsla(var(--shadow-color), 0.02);

    --shadow-medium :
        0 2px 2px hsla(var(--shadow-color), 0.01),
        0 4px 4px -0.2px hsla(var(--shadow-color), 0.02),
        0 16px 16px -0.4px hsla(var(--shadow-color), 0.06);

    --shadow-high :
        0 2px 2px hsla(var(--shadow-color), 0.01),
        0 4px 4px -0.6px hsla(var(--shadow-color), 0.02),
        0 16px 16px -1.2px hsla(var(--shadow-color), 0.06),
        0 32px 32px -2.2px hsla(var(--shadow-color), 0.08);
}

/* ------------------------------------------------------------------- 
 * ## easing functions
 * ------------------------------------------------------------------- */
:root {
  /* Standard easing functions 
   */
    --ease-linear         : linear;
    --ease-in             : ease-in;
    --ease-out            : ease-out;
    --ease-in-out         : ease-in-out;

  /* Smooth and natural curves 
   */
    --ease-smooth         : cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-smooth-in      : cubic-bezier(0.42, 0, 1, 1);
    --ease-smooth-out     : cubic-bezier(0, 0, 0.58, 1);
    --ease-smooth-in-out  : cubic-bezier(0.42, 0, 0.58, 1);

  /* Snappy and quick curves 
   */
    --ease-snappy-polished: cubic-bezier(0.28, 0.12, 0.22, 1);
    --ease-quick-in       : cubic-bezier(0.55, 0.055, 0.675, 0.19);
    --ease-quick-out      : cubic-bezier(0.215, 0.61, 0.355, 1);

  /* Bouncy and playful curves 
   */
    --ease-bounce         : cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-elastic        : cubic-bezier(0.7, -0.4, 0.2, 1.4);

  /* Subtle and minimal curves 
   */
    --ease-subtle         : cubic-bezier(0.2, 0.2, 0.4, 0.8);
    --ease-gentle         : cubic-bezier(0.33, 0.1, 0.33, 1);
}

/* ------------------------------------------------------------------- 
 * ## spacing, radius and typescale
 * ------------------------------------------------------------------- */
:root {
  /* spacing
   * base font size: 20px 
   * vertical space unit : 32px
   */
    --base-size       : 62.5%;
    --multiplier      : 1;
    --space           : calc(3.2rem * var(--multiplier));
    --base-font-size  : calc(2rem * var(--multiplier));

  /* radius 
   */
    --radius-0        : 0;
    --radius-xs       : 3px;
    --radius-sm       : 5px;
    --radius-md       : 10px;
    --radius-lg       : 15px;
    --radius-xl       : 20px;
    --radius-2xl      : 25px;
    --radius-3xl      : 30px;
    --radius-full     : 1000px;
    --border-radius   : var(--radius-sm);

  /* vertical spacing 
   */
    --vspace-0_125    : calc(0.125 * var(--space));
    --vspace-0_25     : calc(0.25 * var(--space));
    --vspace-0_375    : calc(0.375 * var(--space));
    --vspace-0_5      : calc(0.5 * var(--space));
    --vspace-0_625    : calc(0.625 * var(--space));
    --vspace-0_75     : calc(0.75 * var(--space));
    --vspace-0_875    : calc(0.875 * var(--space));
    --vspace-1        : calc(var(--space));
    --vspace-1_25     : calc(1.25 * var(--space));
    --vspace-1_5      : calc(1.5 * var(--space));
    --vspace-1_75     : calc(1.75 * var(--space));
    --vspace-2        : calc(2 * var(--space));
    --vspace-2_5      : calc(2.5 * var(--space));
    --vspace-3        : calc(3 * var(--space));
    --vspace-3_5      : calc(3.5 * var(--space));
    --vspace-4        : calc(4 * var(--space));
    --vspace-4_5      : calc(4.5 * var(--space));
    --vspace-5        : calc(5 * var(--space));
    --vspace-5_5      : calc(5.5 * var(--space));
    --vspace-6        : calc(6 * var(--space));
    --vspace-6_5      : calc(6.5 * var(--space));
    --vspace-7        : calc(7 * var(--space));
    --vspace-7_5      : calc(7.5 * var(--space));
    --vspace-8        : calc(8 * var(--space));
    --vspace-8_5      : calc(8.5 * var(--space));
    --vspace-9        : calc(9 * var(--space));
    --vspace-9_5      : calc(9.5 * var(--space));
    --vspace-10       : calc(10 * var(--space));

  /* type scale
   * ratio 1          :2 | base: 20px
   * -------------------------------------------------------
   *
   * --text-3huge     = (148.60px)
   * --text-2huge     = (123.83px)
   * --text-huge      = (103.20px)
   * --text-3display  = (86.00px)
   * --text-2display  = (71.66px)
   * --text-display   = (59.72px)
   * --text-3xl       = (49.77px)
   * --text-2xl       = (41.47px)
   * --text-xl        = (34.56px)
   * --text-lg        = (28.80px)
   * --text-md        = (24.00px)
   * --text-base      = (20.00px) BASE
   * --text-sm        = (16.67px)
   * --text-xs        = (13.89px)
   *
   * ---------------------------------------------------------
   */
    --text-scale-ratio: 1.2;
    --text-base       : var(--base-font-size);
    --text-xs         : calc((var(--text-base) / var(--text-scale-ratio)) / var(--text-scale-ratio));
    --text-sm         : calc(var(--text-xs) * var(--text-scale-ratio));
    --text-md         : calc(var(--text-sm) * var(--text-scale-ratio) * var(--text-scale-ratio));
    --text-lg         : calc(var(--text-md) * var(--text-scale-ratio));
    --text-xl         : calc(var(--text-lg) * var(--text-scale-ratio));
    --text-2xl        : calc(var(--text-xl) * var(--text-scale-ratio));
    --text-3xl        : calc(var(--text-2xl) * var(--text-scale-ratio));
    --text-display    : calc(var(--text-3xl) * var(--text-scale-ratio));
    --text-2display   : calc(var(--text-display) * var(--text-scale-ratio));
    --text-3display   : calc(var(--text-2display) * var(--text-scale-ratio));
    --text-huge       : calc(var(--text-3display) * var(--text-scale-ratio));
    --text-2huge      : calc(var(--text-huge) * var(--text-scale-ratio));
    --text-3huge      : calc(var(--text-2huge) * var(--text-scale-ratio));
}

/* on small screen devices, adjust the value of '--multiplier' 
 * to control vertical spacing and base font size.
 */
@media screen and (max-width: 600px) {
    :root {
        --multiplier: .875;
    }
}

@media screen and (max-width: 400px) {
    :root {
        --multiplier: .8125;
    }
}

/* ------------------------------------------------------------------- 
 * ## type variables
 * ------------------------------------------------------------------- */
:root {
  /* type-assignments
   */
    --type-body                    : var(--font-1);
    --type-headings                : var(--font-2);
    --type-headings-alt            : var(--font-1);
    --type-all-caps                : var(--font-1);
    --type-quote                   : var(--font-2);
    --type-lead                    : var(--font-1);
    --type-caption                 : var(--font-1);
    --type-drop-cap                : var(--font-1);
    --type-code                    : var(--font-mono);

  /* line-heights
   */
    --type-line-height-body        : var(--vspace-1);
    --type-line-height-body-sm     : var(--vspace-0_875);
    --type-line-height-headings    : 1.1;
    --type-line-height-headings-alt: 1.2;
    --type-line-height-all-caps    : 1.6;
    --type-line-height-quote       : 1.4;
    --type-line-height-lead        : 1.6;
    --type-line-height-caption     : var(--vspace-0_75);
    --type-line-height-code        : var(--vspace-0_625);

  /* type weights
   */
    --type-weight-body             : 400;
    --type-weight-body-sm          : 400;
    --type-weight-body-bold        : 600;
    --type-weight-headings         : 400;
    --type-weight-headings-alt     : 500;
    --type-weight-all-caps         : 500;
    --type-weight-quote            : 400;
    --type-weight-lead             : 300;
    --type-weight-caption          : 400;
    --type-weight-drop-cap         : 600;
    --type-weight-code             : 400;

  /* letter spacing
   */
    --type-spacing-all-caps        : .18em;
    --type-spacing-all-caps-alt    : .2em;
    --type-spacing-headlines       : -0.02em;
    --type-spacing-headlines-alt   : -0.01em;

  /* type sizes
   */
    --type-size-body               : var(--text-base);
    --type-size-body-sm            : var(--text-sm);
    --type-size-all-caps           : var(--text-sm);
    --type-size-h1                 : clamp(var(--text-display), calc((var(--text-display) - 1rem) + 2vw), var(--text-2display));
    --type-size-h2                 : clamp(var(--text-2xl), calc((var(--text-2xl) - .75rem) + 1.5vw), var(--text-3xl));
    --type-size-h3                 : clamp(var(--text-xl), calc((var(--text-xl) - .5rem) + 1vw), var(--text-2xl));
    --type-size-h4                 : var(--text-lg);
    --type-size-h5                 : var(--text-md);
    --type-size-h6                 : var(--type-size-all-caps);
    --type-size-quote              : clamp(var(--text-md), calc((var(--text-md) - .5rem) + 1vw), var(--text-lg));
    --type-size-lead               : clamp(var(--text-base), calc((var(--text-base) - .5rem) + 1vw), var(--text-md));
    --type-size-caption            : var(--text-xs);
    --type-size-drop-cap           : var(--vspace-3);
    --type-size-code               : var(--text-xs);
}

/* ------------------------------------------------------------------- 
 * ## grid variables
 * ------------------------------------------------------------------- */
:root {
  /* guttter, widths for containers
   */
    --width-sixteen-cols: 1760px;
    --width-default     : 1440px;
    --width-wide        : 1600px;
    --width-wider       : 1800px;
    --width-narrow      : 1200px;
    --width-narrower    : 1000px;
    --width-narrowest   : 800px;
    --width-full        : 100%;
    --width-grid-max    : var(--width-default);

  /* gutter
   */
    --gutter : clamp(1rem, calc(2vw + .2rem), 2.2rem);
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin        : 0;
    padding       : 0;
    border        : 0;
    font-size     : 100%;
    font          : inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing : 0;
}


/* ===================================================================
 * # GRID v6.0.0
 *
 *
 * -------------------------------------------------------------------
 * - Grid system based on the flex display property.
 *
 * - Grid breakpoints are based on MAXIMUM WIDTH media queries, 
 *   meaning they apply to that one breakpoint and ALL THOSE BELOW IT.
 *
 * - Grid columns without a specified width will automatically layout 
 *   as equal width columns.
 *
 * - On viewports 400px and below, all grid columns will stacked 
 *   vertically
 *
 * ------------------------------------------------------------------- */

/* container, row and column 
 */
.container {
    width         : min(98%, var(--width-grid-max));
    margin-inline : auto;
    padding-inline: calc(var(--gutter) * 2);
}

.row {
    display      : flex;
    flex-flow    : row wrap;
    margin-inline: calc(var(--gutter) * -1);
}

/* column
 */
.column {
    flex          : 1;
    padding-inline: var(--gutter);
    text-align: justify;
}

.collapse>.column,
.column.collapse {
    padding: 0;
}

.collapse>.column .row,
.column.collapse .row {
    margin-inline: 0;
}

/* row utility classes
 */
.row.row-wrap {
    flex-wrap: wrap;
}

.row.row-nowrap {
    flex-wrap: nowrap;
}

.row.row-y-top {
    align-items: flex-start;
}

.row.row-y-bottom {
    align-items: flex-end;
}

.row.row-y-center {
    align-items: center;
}

.row.row-stretch {
    align-items: stretch;
}

.row.row-baseline {
    align-items: baseline;
}

.row.row-x-left {
    justify-content: flex-start;
}

.row.row-x-right {
    justify-content: flex-end;
}

.row.row-x-center {
    justify-content: center;
}

.row.row-center {
    align-items    : center;
    justify-content: center;
}

/* ------------------------- -------------------------------------------
 * ## extra large devices (1201px and above)
 * -------------------------------------------------------------------- */
.xl-1 {
    flex : none;
    width: 8.3333333333%;
}

.xl-2 {
    flex : none;
    width: 16.6666666667%;
}

.xl-3 {
    flex : none;
    width: 25%;
}

.xl-4 {
    flex : none;
    width: 33.3333333333%;
}

.xl-5 {
    flex : none;
    width: 41.6666666667%;
}

.xl-6 {
    flex : none;
    width: 50%;
}

.xl-7 {
    flex : none;
    width: 58.3333333333%;
}

.xl-8 {
    flex : none;
    width: 66.6666666667%;
}

.xl-9 {
    flex : none;
    width: 75%;
}

.xl-10 {
    flex : none;
    width: 83.3333333333%;
}

.xl-11 {
    flex : none;
    width: 91.6666666667%;
}

.xl-12 {
    flex : none;
    width: 100%;
}

/* --------------------------------------------------------------------
 * ## large devices (1001px to 1200px)
 * -------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .container {
        width: min(100%, var(--width-grid-max));
    }

    .lg-1 {
        flex : none;
        width: 8.3333333333%;
    }

    .lg-2 {
        flex : none;
        width: 16.6666666667%;
    }

    .lg-3 {
        flex : none;
        width: 25%;
    }

    .lg-4 {
        flex : none;
        width: 33.3333333333%;
    }

    .lg-5 {
        flex : none;
        width: 41.6666666667%;
    }

    .lg-6 {
        flex : none;
        width: 50%;
    }

    .lg-7 {
        flex : none;
        width: 58.3333333333%;
    }

    .lg-8 {
        flex : none;
        width: 66.6666666667%;
    }

    .lg-9 {
        flex : none;
        width: 75%;
    }

    .lg-10 {
        flex : none;
        width: 83.3333333333%;
    }

    .lg-11 {
        flex : none;
        width: 91.6666666667%;
    }

    .lg-12 {
        flex : none;
        width: 100%;
    }
}

/* --------------------------------------------------------------------
 * ## medium devices (801px to 1000px)
 * -------------------------------------------------------------------- */
@media screen and (max-width: 1000px) {
    .md-1 {
        flex : none;
        width: 8.3333333333%;
    }

    .md-2 {
        flex : none;
        width: 16.6666666667%;
    }

    .md-3 {
        flex : none;
        width: 25%;
    }

    .md-4 {
        flex : none;
        width: 33.3333333333%;
    }

    .md-5 {
        flex : none;
        width: 41.6666666667%;
    }

    .md-6 {
        flex : none;
        width: 50%;
    }

    .md-7 {
        flex : none;
        width: 58.3333333333%;
    }

    .md-8 {
        flex : none;
        width: 66.6666666667%;
    }

    .md-9 {
        flex : none;
        width: 75%;
    }

    .md-10 {
        flex : none;
        width: 83.3333333333%;
    }

    .md-11 {
        flex : none;
        width: 91.6666666667%;
    }

    .md-12 {
        flex : none;
        width: 100%;
    }
}

/* --------------------------------------------------------------------
 * ## tablet devices (601px to 800px)  
 * -------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
    .tab-1 {
        flex : none;
        width: 8.3333333333%;
    }

    .tab-2 {
        flex : none;
        width: 16.6666666667%;
    }

    .tab-3 {
        flex : none;
        width: 25%;
    }

    .tab-4 {
        flex : none;
        width: 33.3333333333%;
    }

    .tab-5 {
        flex : none;
        width: 41.6666666667%;
    }

    .tab-6 {
        flex : none;
        width: 50%;
    }

    .tab-7 {
        flex : none;
        width: 58.3333333333%;
    }

    .tab-8 {
        flex : none;
        width: 66.6666666667%;
    }

    .tab-9 {
        flex : none;
        width: 75%;
    }

    .tab-10 {
        flex : none;
        width: 83.3333333333%;
    }

    .tab-11 {
        flex : none;
        width: 91.6666666667%;
    }

    .tab-12 {
        flex : none;
        width: 100%;
    }
}

/* --------------------------------------------------------------------
 * ## mobile devices (401px to 600px)  
 * -------------------------------------------------------------------- */
@media screen and (max-width: 600px) {
    .mob-1 {
        flex : none;
        width: 8.3333333333%;
    }

    .mob-2 {
        flex : none;
        width: 16.6666666667%;
    }

    .mob-3 {
        flex : none;
        width: 25%;
    }

    .mob-4 {
        flex : none;
        width: 33.3333333333%;
    }

    .mob-5 {
        flex : none;
        width: 41.6666666667%;
    }

    .mob-6 {
        flex : none;
        width: 50%;
    }

    .mob-7 {
        flex : none;
        width: 58.3333333333%;
    }

    .mob-8 {
        flex : none;
        width: 66.6666666667%;
    }

    .mob-9 {
        flex : none;
        width: 75%;
    }

    .mob-10 {
        flex : none;
        width: 83.3333333333%;
    }

    .mob-11 {
        flex : none;
        width: 91.6666666667%;
    }

    .mob-12 {
        flex : none;
        width: 100%;
    }
}

/* --------------------------------------------------------------------
 * ## small mobile devices (up to 400px)
 * -------------------------------------------------------------------- */

/* stack columns vertically
 */
@media screen and (max-width: 400px) {
    .row {
        margin-inline: 0;
    }

    .column {
        flex          : none;
        width         : 100%;
        margin-left   : 0;
        margin-right  : 0;
        padding-inline: 0;
    }
}

/* --------------------------------------------------------------------
 * ## additional column stackpoints 
 * -------------------------------------------------------------------- */
@media screen and (max-width: 900px) {
    .stack-on-900 {
        flex        : none;
        width       : 100%;
        margin-left : 0;
        margin-right: 0;
    }
}

@media screen and (max-width: 700px) {
    .stack-on-700 {
        flex        : none;
        width       : 100%;
        margin-left : 0;
        margin-right: 0;
    }
}

@media screen and (max-width: 550px) {
    .stack-on-550 {
        flex        : none;
        width       : 100%;
        margin-left : 0;
        margin-right: 0;
    }
}


/* ===================================================================
 * # CSS GRID Layout Tools
 *
 *
 * ------------------------------------------------------------------- */

/* --------------------------------------------------------------------
 * ## Grid Block 
 * -------------------------------------------------------------------- */
.grid-block {
    --col                : 12;
    --grid-gap-h         : calc(var(--gutter) * 2);
    --grid-gap-v         : 0;

    display              : grid;
    grid-template-columns: repeat(var(--col), [col] 1fr);
    -moz-column-gap      : var(--grid-gap-h);
    column-gap           : var(--grid-gap-h);
    row-gap              : var(--grid-gap-v);
}

.grid-block.no-h-gutter {
    --grid-gap-h: 0;
}

.grid-block.no-v-gutter {
    --grid-gap-h: 0;
}

.grid-block.grid-16 {
    --col: 16;
}

.grid-block.grid-16 .span-half-start {
    grid-column: 1/span 8;
}

.grid-block.grid-16 .span-half-end {
    grid-column: 9/span 8;
}

.grid-block__item,
.grid-block .span-full {
    grid-column: 1/-1;
}

.grid-block .span-half-start {
    grid-column: 1/span 6;
}

.grid-block .span-half-end {
    grid-column: 7/span 6;
}

/* ------------------------------------------------------------------- 
 * ## grid columns
 * ------------------------------------------------------------------- */
.grid-cols {
    --col-min-width      : 300px;
    --grid-gap           : calc(var(--gutter) * 2);

    display              : grid;
    -moz-column-gap      : var(--grid-gap);
    column-gap           : var(--grid-gap);
    grid-template-columns: repeat(auto-fit, minmax(min(var(--col-min-width), 100%), 1fr));
    grid-auto-flow       : row;
    grid-auto-columns    : auto;
}

.grid-cols--nowrap {
    grid-auto-flow       : column;
    grid-auto-columns    : 1fr;
    grid-template-columns: 1fr;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * CSS Grid layout tools
 * ------------------------------------------------------------------- */
@media screen and (max-width: 800px) {

    .grid-block,
    .grid-block.grid-16 {
        --col: 8;
    }

    .grid-block.stack-grids-on-md .grid-block__item {
        grid-column: 1/-1;
    }

    .grid-block .span-half-start {
        grid-column: 1/span 4;
    }

    .grid-block .span-half-end {
        grid-column: 5/span 4;
    }

    .grid-cols--nowrap {
        grid-auto-flow   : row;
        grid-auto-columns: auto;
    }
}

@media screen and (max-width: 600px) {

    .grid-block,
    .grid-block.grid-16 {
        --col: 4;
    }

    .grid-block.stack-grids-on-sm .grid-block__item {
        grid-column: 1/-1;
    }

    .grid-block .span-half-start {
        grid-column: 1/span 2;
    }

    .grid-block .span-half-end {
        grid-column: 3/span 2;
    }
}

@media screen and (max-width: 400px) {
    .grid-block .grid-block__item {
        grid-column: 1/-1;
    }
}


/* ===================================================================
 * # BASE SETUP
 *
 *
 * ------------------------------------------------------------------- */
html {
    font-size : var(--base-size);
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    background-color          : var(--color-bg);
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust  : 100%;
    -webkit-font-smoothing    : antialiased;
    -moz-osx-font-smoothing   : grayscale;
}

p {
    font-size     : inherit;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
}

svg,
img,
video {
    max-width: 100%;
    height   : auto;
}

pre {
    overflow: auto;
}

/* Remove margins and paddings for common elements 
 */
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
p,
blockquote,
th,
td {
    margin : 0;
    padding: 0;
}

/* Remove default styles for input elements 
 */
input[type=email],
input[type=number],
input[type=search],
input[type=text],
input[type=tel],
input[type=url],
input[type=password],
textarea {
    -webkit-appearance: none;
    -moz-appearance   : none;
    appearance        : none;
}


/* ===================================================================
 * # UTILITY CLASSES
 *
 *
 * ------------------------------------------------------------------- */

/* flex item alignment classes
 */
.u-flexitem-center {
    margin    : auto;
    align-self: center;
}

.u-flexitem-left {
    margin-right: auto;
    align-self  : center;
}

.u-flexitem-right {
    margin-left: auto;
    align-self : center;
}

.u-flexitem-x-center {
    margin-right: auto;
    margin-left : auto;
}

.u-flexitem-x-left {
    margin-right: auto;
}

.u-flexitem-x-right {
    margin-left: auto;
}

.u-flexitem-y-center {
    align-self: center;
}

.u-flexitem-y-top {
    align-self: flex-start;
}

.u-flexitem-y-bottom {
    align-self: flex-end;
}

/* misc helper classes
 */
.u-screen-reader-text {
    clip             : rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path        : inset(50%);
    height           : 1px;
    width            : 1px;
    margin           : -1px;
    overflow         : hidden;
    padding          : 0;
    border           : 0;
    position         : absolute;
    word-wrap        : normal !important;
}

.u-clearfix:after {
    content: "";
    display: table;
    clear  : both;
}

.u-flex-center {
    align-items    : center;
    justify-content: center;
}

.u-hidden {
    display: none;
}

.u-invisible {
    visibility: hidden;
}

.u-antialiased {
    -webkit-font-smoothing : antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.u-overflow-hidden {
    overflow: hidden;
}

.u-remove-top {
    margin-top: 0;
}

.u-remove-bottom {
    margin-bottom: 0;
}

.u-add-half-bottom {
    margin-bottom: var(--vspace-0_5);
}

.u-add-bottom {
    margin-bottom: var(--vspace-1);
}

.u-no-border {
    border: none;
}

.u-fullwidth {
    width: 100%;
}

.u-pull-left {
    float: left;
}

.u-pull-right {
    float: right;
}

.u-text-center {
    text-align: center;
}

.u-text-left {
    text-align: left;
}

.u-text-right {
    text-align: right;
}


/* ===================================================================
 * # TYPOGRAPHY 
 *
 *
 * ------------------------------------------------------------------- 
 * type scale - ratio 1:2 | base: 20px
 * -------------------------------------------------------------------
 *
 * --text-3huge     = (148.60px)
 * --text-2huge     = (123.83px)
 * --text-huge      = (103.20px)
 * --text-3display  = (86.00px)
 * --text-2display  = (71.66px)
 * --text-display   = (59.72px)
 * --text-3xl       = (49.77px)
 * --text-2xl       = (41.47px)
 * --text-xl        = (34.56px)
 * --text-lg        = (28.80px)
 * --text-md        = (24.00px)
 * --text-base      = (20.00px) BASE
 * --text-sm        = (16.67px)
 * --text-xs        = (13.89px)
 *
 * -------------------------------------------------------------------- */

/* --------------------------------------------------------------------
 * ## base type styles
 * -------------------------------------------------------------------- */
body {
    font-family: var(--type-body);
    font-size  : var(--type-size-body);
    font-weight: var(--type-weight-body);
    line-height: var(--type-line-height-body);
    color      : var(--color-text);
}

/* links
 */
a {
    color     : var(--color-link);
    transition: all 0.3s var(--ease-snappy-polished);
}

a:focus,
a:hover,
a:active {
    color: var(--color-link-hover);
}

a:hover,
a:active {
    outline: 0;
}

/* headings
 */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--type-headings);
    font-weight: var(--type-weight-headings);
    color      : var(--color-headings);
}

h1,
.h1 {
    margin-top   : var(--vspace-2_5);
    margin-bottom: var(--vspace-1_25);
}

h2,
.h2,
h3,
.h3 {
    margin-top   : var(--vspace-2);
    margin-bottom: var(--vspace-0_75);
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
    margin-top   : var(--vspace-1_75);
    margin-bottom: var(--vspace-0_5);
}

h1,
.h1 {
    font-size     : var(--type-size-h1);
    line-height   : var(--type-line-height-headings);
    letter-spacing: var(--type-spacing-headings);
}

h2,
.h2 {
    font-size     : var(--type-size-h2);
    line-height   : var(--type-line-height-headings-alt);
    letter-spacing: var(--type-spacing-headings-alt);
}

h3,
.h3 {
    font-size  : var(--type-size-h3);
    line-height: var(--type-line-height-headings-alt);
}

h4,
.h4 {
    font-size  : var(--type-size-h4);
    line-height: var(--type-line-height-headings-alt);
}

h5,
.h5 {
    font-weight: var(--type-weight-headings-alt);
    font-family: var(--type-headings-alt);
    font-size  : var(--type-size-h5);
    line-height: var(--type-line-height-headings-alt);
}

h6,
.h6 {
    font-family   : var(--type-all-caps);
    font-weight   : var(--type-weight-all-caps);
    font-size     : var(--type-size-h6);
    line-height   : var(--type-line-height-all-caps);
    text-transform: uppercase;
    letter-spacing: var(--type-spacing-all-caps);
}

/* emphasis, italic,
 * strong, bold and small text
 */
em,
i,
strong,
b {
    font-size  : inherit;
    line-height: inherit;
}

em,
i {
    font-style: italic;
}

strong,
b {
    font-weight: var(--type-weight-body-bold);
    color      : var(--color-text-bold);
}

small {
    font-size  : 85%;
    font-weight: 400;
    line-height: var(--vspace-0_5);
}

/* blockquotes
 */
blockquote {
    margin     : 0 0 var(--vspace-1) 0;
    padding    : var(--vspace-1);
    border-left: 2px solid var(--color-border);
    position   : relative;
}

blockquote p {
    font-family: var(--type-quote);
    font-weight: var(--type-weight-quote);
    font-size  : var(--type-size-quote);
    font-style : normal;
    line-height: var(--type-line-height-quote);
    color      : var(--color-text);
    padding    : 0;
}

blockquote cite {
    display    : block;
    font-family: var(--type-caption);
    font-weight: var(--type-weight-caption);
    font-size  : var(--type-size-caption);
    line-height: var(--type-line-height-caption);
    font-style : normal;
}

blockquote cite:before {
    content: "— ";
}

blockquote cite,
blockquote cite a,
blockquote cite a:visited {
    color : var(--color-text-light);
    border: none;
}

/* figures
 */
figure img,
p img {
    margin        : 0;
    vertical-align: bottom;
}

figure {
    display     : block;
    margin-left : 0;
    margin-right: 0;
}

figure img+figcaption {
    margin-top: var(--vspace-1);
}

figcaption {
    /* font-style: italic; */
    font-size    : var(--type-size-caption);
    line-height  : var(--type-line-height-caption);
    text-align   : center;
    margin-bottom: 0;
}

/* preformatted, code
 */
var,
kbd,
samp,
code,
pre {
    font-family: var(--type-code);
}

pre {
    padding   : var(--vspace-0_75) var(--vspace-1) var(--vspace-1);
    background: var(--color-bg-neutral);
    overflow-x: auto;
}

code {
    font-size    : var(--type-size-code);
    line-height  : var(--type-line-height-code);
    margin       : 0 0.2rem;
    padding      : calc((var(--vspace-1) - var(--type-line-height-code)) / 2 - 0.1rem) calc(var(--vspace-0_25) - 0.1rem);
    white-space  : nowrap;
    background   : var(--color-bg-neutral);
    border       : 1px solid var(--color-bg-neutral-light);
    color        : var(--color-text);
    border-radius: var(--radius-sm);
}

pre>code {
    display    : block;
    white-space: pre;
    font-size  : var(--text-sm);
    line-height: var(--vspace-1);
    padding    : 0;
    margin     : 0;
    border     : none;
}

/* deleted text, abbreviation,
 * & mark text
 */
del {
    text-decoration: line-through;
}

abbr {
    font-family   : var(--type-body);
    font-weight   : 400;
    font-variant  : small-caps;
    text-transform: lowercase;
    letter-spacing: 0.1em;
}

abbr[title],
dfn[title] {
    border-bottom  : 1px dotted var(--color-text-light);
    cursor         : help;
    text-decoration: none;
}

mark {
    background    : var(--color-bg-secondary);
    color         : var(--color-bg);
    padding-inline: 0.2em;
}

/* horizontal rule
 */
hr {
    border      : solid var(--color-border);
    border-width: 0.1rem 0 0;
    clear       : both;
    margin      : var(--vspace-2) 0 calc(var(--vspace-2) - 1px);
    height      : 0;
}

hr.fancy {
    border    : none;
    margin    : var(--vspace-2) 0;
    height    : var(--vspace-1);
    text-align: center;
}

hr.fancy::before {
    content       : "*****";
    letter-spacing: 0.3em;
}

/* --------------------------------------------------------------------
 * ## additional typography classes
 * -------------------------------------------------------------------- */
.text-body-sm {
    font-size  : var(--type-size-body-sm);
    line-height: var(--type-line-height-body-sm);
}

.lead,
.attention-getter {
    font-family: var(--type-lead);
    font-weight: var(--type-weight-lead);
    font-size  : var(--type-size-lead);
    line-height: var(--type-line-height-lead);
}

.pull-quote {
    position  : relative;
    padding   : 0;
    margin-top: 0;
    text-align: center;
}

.pull-quote blockquote {
    border     : none;
    margin     : 0 auto;
    max-width  : min(100%, 62rem);
    padding-top: var(--vspace-2_5);
    position   : relative;
}

.pull-quote blockquote:before {
    content          : "";
    display          : block;
    height           : var(--vspace-1);
    width            : var(--vspace-1);
    background-repeat: no-repeat;
    background       : center center;
    background-size  : contain;
    background-image : url(../images/icons/icon-quote.svg);
    transform        : translate(-50%, 0, 0);
    position         : absolute;
    top              : var(--vspace-1);
    left             : 50%;
}

.drop-cap:first-letter {
    float         : left;
    font-family   : var(--type-drop-cap);
    font-weight   : var(--type-weight-drop-cap);
    font-size     : var(--type-size-drop-cap);
    line-height   : 1;
    padding       : 0 var(--vspace-0_375) 0 0;
    text-transform: uppercase;
    background    : transparent;
    color         : var(--color-text);
}
/* ===================================================================
 * # INTRO STYLING UPGRADE
 * ------------------------------------------------------------------- */
.s-intro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.05), rgba(0,0,0,0.85));
  overflow: hidden;
}

/* keep the grid content centered */
.s-intro .grid-block {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 1.5rem;
  z-index: 2;
}

/* header text */
.intro-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.intro-header__overline {
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* main title styling */
.intro-header__big-type {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  margin: 0;
}

/* split color magic */
.text-white {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255,255,255,0.3);
}
.text-accent {
  color: #ff7a00;
  text-shadow: 0 0 30px rgba(255,122,0,0.4);
}

/* underline word */
.intro-header__underline {
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.75);
  margin-top: 0.5rem;
}

/* slight glow animation for the orange part */
@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 20px rgba(255,122,0,0.3); }
  50% { text-shadow: 0 0 40px rgba(255,122,0,0.6); }
}
.text-accent {
  animation: glowPulse 3s ease-in-out infinite;
}

/* image adjustments */
.intro-pic-primary img,
.intro-block-content__pic img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.intro-pic-primary img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* balance the text area */
.intro-block-content__text {
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
  text-align: center;
}

/* social icons */
.intro-block-content__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.intro-block-content__social a {
  display: inline-block;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.intro-block-content__social a:hover {
  color: #ff7a00;
  text-shadow: 0 0 10px rgba(255,122,0,0.5);
}

/* subtle floating animation for intro images */
@keyframes floatUp {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
.intro-pic-primary img,
.intro-block-content__pic img {
  animation: floatUp 6s ease-in-out infinite;
}
@keyframes titleFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.intro-header__big-type {
  animation: titleFadeIn 1.2s ease forwards;
}



/* =========================================================
   FULL-WIDTH INTRO ADJUSTMENTS
   ========================================================= */
.s-intro {
  width: 100vw;                /* stretch to entire viewport width */
  min-height: 100vh;           /* fill full screen height */
  margin: 0;                   /* remove side margins */
  padding: 0;                  /* remove container padding */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* ensure child grid doesn't shrink the layout */
.s-intro .grid-block {
  width: 100%;
  max-width: 1400px;           /* optional: limit inner content width */
  padding: 2rem;
  margin: 0 auto;
  box-sizing: border-box;
}

/* background expansion fix for full screen */
.s-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.05), rgba(0,0,0,0.85));
  z-index: 0;
}

/* make sure text sits above background */
.s-intro * {
  position: relative;
  z-index: 2;
}



/* =========================================================
   RESPONSIVE INTRO GRID LAYOUT
   ========================================================= */
.s-intro__content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* ======================
   GRID ITEM POSITIONS
   ====================== */
.intro-header {
  grid-column: 1 / span 6;
  text-align: left;
  z-index: 2;
}

.intro-pic-primary {
  grid-column: 7 / span 6;
  justify-self: center;
}

.intro-block-content {
  grid-column: 2 / span 10;
  text-align: center;
  margin-top: 2rem;
}

/* keep images nice and proportional */
.intro-pic-primary img,
.intro-block-content__pic img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.intro-pic-primary img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ======================
   RESPONSIVE BREAKPOINTS
   ====================== */
@media screen and (max-width: 1100px) {
  .s-intro__content {
    grid-template-columns: 1fr 1fr;
  }

  .intro-header {
    grid-column: 1 / -1;
    order: 1;
    text-align: center;
  }

  .intro-pic-primary {
    grid-column: 1 / -1;
    order: 2;
    max-width: 600px;
    margin: 0 auto;
  }

  .intro-block-content {
    grid-column: 1 / -1;
    order: 3;
    text-align: center;
    padding: 0 1rem;
  }
}

@media screen and (max-width: 768px) {
  .s-intro__content {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .intro-header {
    text-align: center;
  }

  .intro-block-content {
    text-align: center;
  }

  .intro-pic-primary {
    margin-top: 1rem;
  }
}
/* =========================================================
   SCROLL ICON ANIMATION (INTRO)
   ========================================================= */
.intro-scroll {
  position: absolute;
  bottom: 40px;
  right: 50%;
  transform: translateX(-50%);
  text-align: left;
  z-index: 5;
}

.intro-scroll__icon svg {
  width: 40px;
  height: 40px;
  fill: #ffffff;
  opacity: 0.7;
  animation: scrollBounce 2s infinite;
  transition: opacity 0.3s ease;
}

.intro-scroll__icon svg:hover {
  opacity: 1;
}

/* bounce animation */
@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(10px);
  }
  60% {
    transform: translateY(5px);
  }
}

/* optional: fade in the icon smoothly */
.intro-scroll {
  animation: fadeInScroll 1.2s ease forwards;
}
@keyframes fadeInScroll {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* --------------------------------------------------------------------
 * ## lists
 * -------------------------------------------------------------------- */
ol {
    list-style: decimal;
}

ul {
    list-style: disc;
}

li {
    display: list-item;
}

ol,
ul {
    margin-left: var(--vspace-0_5);
}

ul li {
    padding-left: var(--vspace-0_125);
}

ul ul,
ul ol,
ol ol,
ol ul {
    margin: var(--vspace-0_5) 0 var(--vspace-0_5) var(--vspace-0_5);
}

ul.disc li {
    display   : list-item;
    list-style: none;
    padding   : 0 0 0 var(--vspace-0_25);
    position  : relative;
}

ul.disc li::before {
    content       : "";
    display       : inline-block;
    width         : 0.6rem;
    height        : 0.6rem;
    border-radius : 50%;
    background    : var(--color-bg-accent);
    position      : absolute;
    left          : calc(var(--vspace-0_25) * -1);
    top           : calc(50% - var(--vspace-0_125));
    vertical-align: middle;
}

dt {
    margin: 0;
    color : var(--color-bg-accent);
}

dt strong {
    color: var(--color-bg-accent);
}

dd {
    margin: 0 0 0 var(--vspace-0_625);
}

/* definition list line style 
 */
.lining dt,
.lining dd {
    display: inline;
    margin : 0;
}

.lining dt+dt:before,
.lining dd+dt:before {
    content    : "\a";
    white-space: pre;
}

.lining dd+dd:before {
    content: ", ";
}

.lining dd+dd:before {
    content: ", ";
}

.lining dd:before {
    content    : ": ";
    margin-left: -0.2em;
}

/* definition list dictionary style 
 */
.dictionary-style dt {
    display      : inline;
    counter-reset: definitions;
}

.dictionary-style dt+dt:before {
    content    : ", ";
    margin-left: -0.2em;
}

.dictionary-style dd {
    display          : block;
    counter-increment: definitions;
}

.dictionary-style dd:before {
    content: counter(definitions, decimal) ". ";
}

/* ------------------------------------------------------------------- 
 * ## media 
 * ------------------------------------------------------------------- */

/* floated image
 */
img.u-pull-right {
    margin: var(--vspace-0_5) 0 var(--vspace-0_5) var(--vspace-0_75);
}

img.u-pull-left {
    margin: var(--vspace-0_5) var(--vspace-0_75) var(--vspace-0_5) 0;
}

/* responsive video container
 */
.video-container {
    --aspect-ratio: 16/9;
    position      : relative;
    height        : 0;
    overflow      : hidden;
    padding-bottom: calc(100% / (var(--aspect-ratio)));
}

.video-container iframe,
.video-container object,
.video-container embed,
.video-container video {
    position: absolute;
    top     : 0;
    left    : 0;
    width   : 100%;
    height  : 100%;
}

/* --------------------------------------------------------------------
 * ## spacing
 * -------------------------------------------------------------------- */
fieldset,
button,
.btn {
    margin-bottom: var(--vspace-0_5);
}

input,
textarea,
select,
pre,
blockquote,
figure,
figcaption,
table,
p,
ul,
ol,
dl,
form,
img,
.video-container,
.ss-custom-select {
    margin-bottom: var(--vspace-1);
}


/* ===================================================================
 * # PRELOADER
 * 
 * 
 * -------------------------------------------------------------------
 * - markup:
 *
 * <div id="preloader">
 *     <div id="loader" class="dots-fade">
 *         <div></div>
 *         <div></div>
 *         <div></div>
 *     </div>
 * </div>
 *
 * - loader class:
 * <dots-fade | dots-jump | dots-pulse>
 *
 * ------------------------------------------------------------------- */

#preloader {
    position       : fixed;
    display        : flex;
    flex-flow      : row wrap;
    justify-content: center;
    align-items    : center;
    background     : var(--color-preloader-bg);
    z-index        : 500;
    height         : 100vh;
    width          : 100%;
    opacity        : 1;
    overflow       : hidden;
}

.no-js #preloader {
    display: none;
}

#loader {
    position: relative;
    width   : 4px;
    height  : 4px;
    padding : 0;
    display : inline-block;
}

#loader>div {
    content      : "";
    background   : var(--color-loader);
    width        : 4px;
    height       : 4px;
    position     : absolute;
    top          : 0;
    left         : 0;
    border-radius: 50%;
}

#loader>div:nth-of-type(1) {
    left: 15px;
}

#loader>div:nth-of-type(3) {
    left: -15px;
}

/* dots jump */
.dots-jump>div {
    animation      : dots-jump 1.2s infinite ease;
    animation-delay: 0.2s;
}

.dots-jump>div:nth-of-type(1) {
    animation-delay: 0.4s;
}

.dots-jump>div:nth-of-type(3) {
    animation-delay: 0s;
}

@keyframes dots-jump {
    0% {
        top: 0;
    }

    40% {
        top: -6px;
    }

    80% {
        top: 0;
    }
}

/* dots fade */
.dots-fade>div {
    animation      : dots-fade 1.6s infinite ease;
    animation-delay: 0.4s;
}

.dots-fade>div:nth-of-type(1) {
    animation-delay: 0.8s;
}

.dots-fade>div:nth-of-type(3) {
    animation-delay: 0s;
}

@keyframes dots-fade {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 0.2;
    }

    80% {
        opacity: 1;
    }
}

/* dots pulse */
.dots-pulse>div {
    animation      : dots-pulse 1.2s infinite ease;
    animation-delay: 0.2s;
}

.dots-pulse>div:nth-of-type(1) {
    animation-delay: 0.4s;
}

.dots-pulse>div:nth-of-type(3) {
    animation-delay: 0s;
}

@keyframes dots-pulse {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.3);
    }

    80% {
        transform: scale(1);
    }
}

/* ------------------------------------------------------------------- 
 * ## page loaded
 * ------------------------------------------------------------------- */
.ss-loaded #preloader {
    opacity   : 0;
    visibility: hidden;
    transition: all 0.3s 0.6s var(--ease-smooth-in-out);
}

.ss-loaded #preloader #loader {
    opacity   : 0;
    transition: opacity 0.3s var(--ease-smooth-in-out);
}


/* ===================================================================
 * # FORM 
 *
 *
 * ------------------------------------------------------------------- */
fieldset {
    border: none;
}

input[type=email],
input[type=number],
input[type=search],
input[type=text],
input[type=tel],
input[type=url],
input[type=password],
textarea,
select {
    --input-height     : var(--vspace-2);
    --input-line-height: var(--vspace-1);
    --input-vpadding   : calc((var(--input-height) - var(--input-line-height)) / 2);

    display            : block;
    height             : var(--input-height);
    padding            : var(--input-vpadding) 0 calc(var(--input-vpadding) - 1px);
    border             : 0;
    outline            : 0;
    color              : var(--color-text-light);
    font-family        : var(--type-body);
    font-size          : calc(var(--text-size) * 0.9);
    line-height        : var(--input-line-height);
    max-width          : 100%;
    background         : transparent;
    border-bottom      : 1px solid var(--color-border);
    transition         : all 0.3s var(--ease-smooth-in-out);
}

.ss-custom-select {
    position: relative;
    padding : 0;
}

.ss-custom-select select {
    -webkit-appearance: none;
    -moz-appearance   : none;
    appearance        : none;
    text-indent       : 0.01px;
    text-overflow     : "";
    margin            : 0;
    vertical-align    : middle;
    line-height       : var(--vspace-1);
}

.ss-custom-select select option {
    padding-inline  : var(--vspace-0_625);
    background-color: var(--color-bg);
}

.ss-custom-select select::-ms-expand {
    display: none;
}

.ss-custom-select::after {
    border-bottom   : 1px solid var(--color-text);
    border-right    : 1px solid var(--color-text);
    content         : "";
    display         : block;
    height          : var(--vspace-0_25);
    width           : var(--vspace-0_25);
    margin-top      : calc((var(--vspace-0_25) - 1) * -1);
    pointer-events  : none;
    position        : absolute;
    right           : var(--vspace-0_75);
    top             : 50%;
    transition      : all 0.15s var(--ease-smooth-in-out);
    transform-origin: 66% 66%;
    transform       : rotate(45deg);
}

textarea {
    min-height: var(--vspace-8);
}

input[type=email]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=text]:focus,
input[type=tel]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus,
select:focus {
    color        : var(--color-bg-accent);
    border-bottom: 1px solid var(--color-bg-accent);
}

label,
legend {
    display      : flex;
    align-items  : flex-start;
    font-family  : var(--type-body);
    font-weight  : 600;
    font-size    : var(--text-xs);
    line-height  : var(--vspace-0_625);
    margin-bottom: var(--vspace-0_25);
    color        : var(--color-headings);
}

input[type=checkbox],
input[type=radio] {
    display: inline-block;
}

label>.label-text {
    display    : inline-block;
    margin-left: var(--vspace-0_25);
    font-family: var(--type-body);
    line-height: inherit;
}

label>input[type=checkbox],
label>input[type=radio] {
    margin  : 0;
    position: relative;
    top     : var(--vspace-0_125);
}

/* ------------------------------------------------------------------- 
 * ## style placeholder text
 * ------------------------------------------------------------------- */
::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color  : var(--color-placeholder);
    opacity: 1;
}

::placeholder {
    /* Most modern browsers support this now. */
    color: var(--color-placeholder);
}

/* ------------------------------------------------------------------- 
 * ## change autocomplete styles in Chrome
 * ------------------------------------------------------------------- */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--color-bg-accent);
    -webkit-transition     : background-color 5000s var(--ease-smooth-in-out) 0s;
    transition             : background-color 5000s var(--ease-smooth-in-out) 0s;
}

/* ===================================================================
 * # BUTTONS
 *
 *
 * ------------------------------------------------------------------- */

.btn,
button,
input[type=submit],
input[type=reset],
input[type=button] {

    --btn-text-size        : var(--text-sm);
    --btn-lineheight       : var(--vspace-0_75);
    --btn-icon-size        : var(--btn-text-size);
    --btn-gap              : var(--vspace-0_25);
    --btn-border-width     : 1px;
    --btn-padding          : var(--vspace-0_5);
    --btn-vpadding         : calc(var(--btn-padding) - var(--btn-border-width));
    --btn-hpadding         : calc((var(--btn-padding) * 2) - var(--btn-border-width));
    --btn-radius           : var(--radius-full);

    display                : inline-flex;
    gap                    : var(--btn-gap);
    align-items            : center;
    justify-content        : center;
    font-family            : var(--type-body);
    font-weight            : 500;
    font-size              : var(--btn-text-size);
    letter-spacing         : 0.02em;
    line-height            : var(--btn-lineheight);
    padding                : var(--btn-vpadding) var(--btn-hpadding);
    margin                 : 0 var(--vspace-0_25) var(--vspace-0_5) 0;
    color                  : var(--color-btn-text);
    text-decoration        : none;
    text-align             : center;
    white-space            : nowrap;
    cursor                 : pointer;
    transition             : all 0.3s;
    border-radius          : var(--btn-radius);
    background-color       : var(--color-btn);
    border                 : var(--btn-border-width) solid var(--color-btn);
    -webkit-font-smoothing : antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition             : all 0.3s var(--ease-smooth-in-out);
}

.btn:focus,
.btn:hover,
button:focus,
button:hover,
input[type=submit]:focus,
input[type=submit]:hover,
input[type=reset]:focus,
input[type=reset]:hover,
input[type=button]:focus,
input[type=button]:hover {
    background-color: var(--color-btn-hover);
    border-color    : var(--color-btn-hover);
    color           : var(--color-btn-hover-text);
    outline         : 0;
}

.btn .btn__icon,
button .btn__icon,
input[type=submit] .btn__icon,
input[type=reset] .btn__icon,
input[type=button] .btn__icon {
    height: var(--btn-icon-size);
    width : var(--btn-icon-size);
    margin: 0;
}

/* button primary
 */
.btn.btn--primary,
button.btn--primary,
input[type=submit].btn--primary,
input[type=reset].btn--primary,
input[type=button].btn--primary {
    background  : var(--color-btn-primary);
    border-color: var(--color-btn-primary);
    color       : var(--color-btn-primary-text);
}

.btn.btn--primary:focus,
.btn.btn--primary:hover,
button.btn--primary:focus,
button.btn--primary:hover,
input[type=submit].btn--primary:focus,
input[type=submit].btn--primary:hover,
input[type=reset].btn--primary:focus,
input[type=reset].btn--primary:hover,
input[type=button].btn--primary:focus,
input[type=button].btn--primary:hover {
    background  : var(--color-btn-primary-hover);
    border-color: var(--color-btn-primary-hover);
    color       : var(--color-btn-primary-hover-text);
}

/* button ghost
 */
.btn.btn--ghost,
button.btn--ghost,
input[type=submit].btn--ghost,
input[type=reset].btn--ghost,
input[type=button].btn--ghost {
    background  : transparent;
    border-color: var(--color-btn-ghost);
    color       : var(--color-btn-ghost-text);
}

.btn.btn--ghost:focus,
.btn.btn--ghost:hover,
button.btn--ghost:focus,
button.btn--ghost:hover,
input[type=submit].btn--ghost:focus,
input[type=submit].btn--ghost:hover,
input[type=reset].btn--ghost:focus,
input[type=reset].btn--ghost:hover,
input[type=button].btn--ghost:focus,
input[type=button].btn--ghost:hover {
    background: var(--color-btn-ghost-hover);
    border    : var(--btn-border-width) solid var(--color-btn-ghost-hover);
    color     : var(--color-btn-ghost-hover-text);
}

/* button modifiers
 */
.btn.u-fullwidth,
button.u-fullwidth,
input[type=submit].u-fullwidth,
input[type=reset].u-fullwidth,
input[type=button].u-fullwidth {
    width       : 100%;
    margin-right: 0;
}

.btn.btn--small,
button.btn--small,
input[type=submit].btn--small,
input[type=reset].btn--small,
input[type=button].btn--small {
    --btn-text-size : var(--text-xs);
    --btn-lineheight: var(--vspace-0_5);
    --btn-hpadding  : calc((var(--btn-padding) * 1.5) - var(--btn-border-width));
}

.btn.btn--medium,
button.btn--medium,
input[type=submit].btn--medium,
input[type=reset].btn--medium,
input[type=button].btn--medium {
    --btn-padding: calc(var(--vspace-0_625));
}

.btn.btn--large,
button.btn--large,
input[type=submit].btn--large,
input[type=reset].btn--large,
input[type=button].btn--large {
    --btn-text-size: var(--text-base);
    --btn-padding  : calc(var(--vspace-0_75));
}

.btn.btn--pill,
button.btn--pill,
input[type=submit].btn--pill,
input[type=reset].btn--pill,
input[type=button].btn--pill {
    --btn-radius: var(--radius-full);
}


/* ===================================================================
 * # TABLE
 *
 *
 * ------------------------------------------------------------------- */
table {
    border-width   : 0;
    width          : 100%;
    max-width      : 100%;
    font-family    : var(--type-body);
    border-collapse: collapse;
}

th,
td {
    padding      : var(--vspace-0_5) var(--vspace-1) calc(var(--vspace-0_5) - 1px);
    text-align   : left;
    border-bottom: 1px solid var(--color-border);
}

th {
    padding    : var(--vspace-0_5) var(--vspace-1);
    color      : var(--color-text-bold);
    font-family: var(--type-headings-alt);
    font-size  : var(--text-sm);
    font-weight: 600;
}

th:first-child,
td:first-child {
    padding-left: 0;
}

th:last-child,
td:last-child {
    padding-right: 0;
}

.table-responsive {
    overflow-x                : auto;
    -webkit-overflow-scrolling: touch;
}


/* ===================================================================
 * # COMPONENTS
 *
 *
 * ------------------------------------------------------------------- */

/* -------------------------------------------------------------------
 * ## pagination 
 * ------------------------------------------------------------------- */
.pgn {
    --pgn-num-height: calc(var(--vspace-1) + var(--vspace-0_125));

    margin          : 0 auto var(--vspace-1);
    text-align      : center;
}

.pgn ul {
    display        : inline-flex;
    flex-flow      : row wrap;
    justify-content: center;
    list-style     : none;
    margin-left    : 0;
    position       : relative;
    padding        : 0 var(--vspace-2);
}

.pgn ul li {
    margin : 0;
    padding: 0;
}

.pgn__num {
    font-family  : var(--type-body);
    font-weight  : 400;
    font-size    : var(--text-sm);
    line-height  : var(--vspace-1);
    display      : block;
    padding      : 0.2rem var(--vspace-0_375);
    height       : var(--pgn-num-height);
    margin       : 0.2rem 0.2rem;
    color        : var(--color-text);
    border-radius: var(--border-radius);
    transition   : all, 0.3s, var(--ease-snappy-polished);
}

.pgn__num:focus,
.pgn__num:hover {
    background: var(--color-border);
    color     : var(--color-white);
}

.pgn .current,
.pgn .current:focus,
.pgn .current:hover {
    background: var(--color-border);
    color     : var(--color-white);
}

.pgn .inactive,
.pgn .inactive:focus,
.pgn .inactive:hover {
    opacity: 0.4;
    cursor : default;
}

.pgn__prev,
.pgn__next {
    display        : inline-flex;
    flex-flow      : row wrap;
    justify-content: center;
    align-items    : center;
    height         : var(--pgn-num-height);
    width          : var(--vspace-1_5);
    line-height    : var(--vspace-1);
    border-radius  : var(--border-radius);
    padding        : 0;
    margin         : 0;
    opacity        : 1;
    font           : 0/0 a;
    text-shadow    : none;
    color          : transparent;
    transition     : all, 0.3s, var(--ease-snappy-polished);
    position       : absolute;
    top            : 50%;
    transform      : translate(0, -50%);
}

.pgn__prev:focus,
.pgn__prev:hover,
.pgn__next:focus,
.pgn__next:hover {
    background: var(--color-border);
}

.pgn__prev svg,
.pgn__next svg {
    height    : var(--vspace-0_75);
    width     : var(--vspace-0_75);
    transition: all, 0.3s, var(--ease-snappy-polished);
}

.pgn__prev svg path,
.pgn__next svg path {
    fill: var(--color-text);
}

.pgn__prev {
    left: 0;
}

.pgn__next {
    right: 0;
}

.pgn__prev.inactive,
.pgn__next.inactive {
    opacity: 0.4;
    cursor : default;
}

.pgn__prev.inactive:focus,
.pgn__prev.inactive:hover,
.pgn__next.inactive:focus,
.pgn__next.inactive:hover {
    background-color: transparent;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * pagination
 * ------------------------------------------------------------------- */
@media screen and (max-width: 600px) {
    .pgn ul {
        padding: 0 var(--vspace-1_75);
    }
}

/* ------------------------------------------------------------------- 
 * ## alert box 
 * ------------------------------------------------------------------- */
.alert-box {
    padding      : var(--vspace-0_75) var(--vspace-1_25) var(--vspace-0_75) var(--vspace-1);
    margin-bottom: var(--vspace-1);
    border-radius: var(--border-radius);
    font-family  : var(--type-body);
    font-weight  : 400;
    font-size    : var(--text-sm);
    line-height  : var(--vspace-0_75);
    opacity      : 1;
    visibility   : visible;
    position     : relative;
}

.alert-box__close {
    position: absolute;
    display : block;
    right   : var(--vspace-0_5);
    top     : var(--vspace-0_5);
    cursor  : pointer;
    width   : var(--vspace-0_375);
    height  : var(--vspace-0_375);
}

.alert-box__close::before,
.alert-box__close::after {
    content : "";
    display : inline-block;
    width   : 1px;
    height  : var(--vspace-0_375);
    position: absolute;
    top     : 0;
    left    : var(--vspace-0_125);
}

.alert-box__close::before {
    transform: rotate(45deg);
}

.alert-box__close::after {
    transform: rotate(-45deg);
}

.alert-box--error {
    background-color: var(--color-error);
    color           : var(--color-error-content);
}

.alert-box--error .alert-box__close::before,
.alert-box--error .alert-box__close::after {
    background-color: var(--color-error-content);
}

.alert-box--success {
    background-color: var(--color-success);
    color           : var(--color-success-content);
}

.alert-box--success .alert-box__close::before,
.alert-box--success .alert-box__close::after {
    background-color: var(--color-success-content);
}

.alert-box--info {
    background-color: var(--color-info);
    color           : var(--color-info-content);
}

.alert-box--info .alert-box__close::before,
.alert-box--info .alert-box__close::after {
    background-color: var(--color-info-content);
}

.alert-box--notice {
    background-color: var(--color-notice);
    color           : var(--color-notice-content);
}

.alert-box--notice .alert-box__close::before,
.alert-box--notice .alert-box__close::after {
    background-color: var(--color-notice-content);
}

.alert-box.hideit {
    opacity   : 0;
    visibility: hidden;
    transition: all 0.6s var(--ease-snappy-polished);
}

/* ------------------------------------------------------------------- 
 * ## skillbars 
 * ------------------------------------------------------------------- */
.skill-bars {
    list-style: none;
    margin    : var(--vspace-2) 0 var(--vspace-1);
}

.skill-bars li {
    height       : var(--vspace-0_125);
    background   : var(--color-bg-neutral-light);
    width        : 100%;
    margin-bottom: calc(var(--vspace-2) - var(--vspace-0_125));
    padding      : 0;
    position     : relative;
}

.skill-bars li strong {
    font-family: var(--type-body);
    font-weight: 600;
    color      : var(--color-text);
    font-size  : var(--text-xs);
    line-height: var(--vspace-0_75);
    position   : absolute;
    left       : 0;
    top        : calc(var(--vspace-1) * 1.25 * -1);
}

.skill-bars li .progress {
    background: var(--color-bg-accent);
    position  : relative;
    height    : 100%;
}

.skill-bars li .progress span {
    display      : block;
    font-family  : var(--type-body);
    font-weight  : 600;
    color        : var(--color-text);
    font-size    : 1.1rem;
    line-height  : 1;
    background   : var(--color-bg-neutral);
    padding      : var(--vspace-0_25);
    border-radius: var(--radius-sm);
    position     : absolute;
    right        : 0;
    top          : calc((var(--vspace-1) + var(--vspace-0_25)) * -1);
}

.skill-bars li .progress span::after {
    position        : absolute;
    left            : 50%;
    bottom          : -10px;
    margin-left     : -5px;
    width           : 0;
    height          : 0;
    border          : 5px solid transparent;
    border-top-color: var(--color-bg-neutral, var(--color-black));
    content         : "";
}

.skill-bars li .percent5 {
    width: 5%;
}

.skill-bars li .percent10 {
    width: 10%;
}

.skill-bars li .percent15 {
    width: 15%;
}

.skill-bars li .percent20 {
    width: 20%;
}

.skill-bars li .percent25 {
    width: 25%;
}

.skill-bars li .percent30 {
    width: 30%;
}

.skill-bars li .percent35 {
    width: 35%;
}

.skill-bars li .percent40 {
    width: 40%;
}

.skill-bars li .percent45 {
    width: 45%;
}

.skill-bars li .percent50 {
    width: 50%;
}

.skill-bars li .percent55 {
    width: 55%;
}

.skill-bars li .percent60 {
    width: 60%;
}

.skill-bars li .percent65 {
    width: 65%;
}

.skill-bars li .percent70 {
    width: 70%;
}

.skill-bars li .percent75 {
    width: 75%;
}

.skill-bars li .percent80 {
    width: 80%;
}

.skill-bars li .percent85 {
    width: 85%;
}

.skill-bars li .percent90 {
    width: 90%;
}

.skill-bars li .percent95 {
    width: 95%;
}

.skill-bars li .percent100 {
    width: 100%;
}

/* --------------------------------------------------------------------
 * ## stats tabs
 * -------------------------------------------------------------------- */
.stats-tabs {
    padding: 0;
    margin : var(--vspace-1) 0;
}

.stats-tabs li {
    display     : inline-block;
    margin      : 0 var(--vspace-0_5) var(--vspace-0_5) 0;
    padding     : 0 var(--vspace-0_5) 0 0;
    border-right: 1px solid var(--color-border);
}

.stats-tabs li:last-child {
    margin : 0;
    padding: 0;
    border : none;
}

.stats-tabs li a {
    display    : block;
    font-family: var(--type-body);
    font-size  : var(--text-xl);
    font-weight: 600;
    line-height: var(--vspace-1_5);
    border     : none;
    color      : var(--color-text);
}

.stats-tabs li a:hover {
    color: var(--color-1-500);
}

.stats-tabs li a em {
    display    : block;
    margin     : 0;
    font-family: var(--type-body);
    font-size  : var(--text-xs);
    line-height: var(--vspace-0_5);
    font-weight: 400;
    font-style : normal;
    color      : var(--color-text-light);
}


/* ===================================================================
 * # THEME-SPECIFIC SHARED STYLES
 *
 *
 * -------------------------------------------------------------------
 * Contains reusable styles specific to this template.
 * These styles extend the base system and are used across the 
 * entire template.
 *
 * ------------------------------------------------------------------- */

.width-sixteen-col {
    --width-grid-max: var(--width-sixteen-cols);
}

.width-wide {
    --width-grid-max: var(--width-wide);
}

.width-narrow {
    --width-grid-max: var(--width-narrow);
}

.width-narrower {
    --width-grid-max: var(--width-narrower);
}

/* ------------------------------------------------------------------- 
 * ## section header
 * ------------------------------------------------------------------- */
.section-header {
    margin-bottom: var(--vspace-2);
}

.section-header .text-display-title {
    margin-top: 0;
    font-size : clamp(var(--text-display), var(--text-display) - 1rem + 2vw, var(--text-huge));
}

.section-header::before {
    display       : block;
    content       : attr(data-num) ".";
    font-family   : var(--type-headings);
    font-weight   : 400;
    font-size     : var(--text-md);
    letter-spacing: -0.02em;
    line-height   : 1;
    color         : var(--color-text-light);
    margin-left   : 0.4em;
    margin-bottom : -0.4em;
}

/* ------------------------------------------------------------------- 
 * ## social list
 * ------------------------------------------------------------------- */
.social-list {
    display    : flex;
    align-items: center;
    list-style : none;
    margin     : 0;
}

.social-list li {
    padding-left: 0;
    margin-right: var(--vspace-0_25);
}

.social-list li:last-child {
    margin-right: 0;
}

.social-list a {
    display    : flex;
    align-items: center;
}

.social-list a:focus svg path,
.social-list a:focus svg circle,
.social-list a:hover svg path,
.social-list a:hover svg circle {
    fill: var(--color-white);
}

.social-list svg {
    height: var(--vspace-0_875);
    width : var(--vspace-0_875);
}

.social-list svg path,
.social-list svg circle {
    fill      : rgba(255, 255, 255, 0.5);
    transition: all 0.3s var(--ease-snappy-polished);
}

/* ------------------------------------------------------------------- 
 * ## swiper overrides
 * ------------------------------------------------------------------- */
.swiper-container .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--vspace-0_375);
}

.swiper-container .swiper-pagination-bullet {
    width     : 6px;
    height    : 6px;
    background: var(--color-neutral-500);
    opacity   : 1;
}

.swiper-container .swiper-pagination-bullet-active {
    background: var(--color-white);
    opacity   : 1;
}

.swiper-container .swiper-pagination-bullet:only-child {
    visibility: hidden;
}

/* ------------------------------------------------------------------- 
 * ## glightbox overrides
 * ------------------------------------------------------------------- */
.glightbox-container a {
    font-weight  : 500 !important;
    color        : var(--color-link);
    border-bottom: 1px dotted var(--color-link);
}

.glightbox-container .gslide-inner-content {
    width: min(100%, 1050px);
}

.glightbox-container .gslide-description {
    background: rgb(0, 0, 0);
    width     : 100%;
    text-align: center;
}

.glightbox-container .gdesc-inner {
    padding: var(--vspace-1_25) var(--vspace-0_75) var(--vspace-2);
}

.glightbox-container .gslide-title,
.glightbox-container .gslide-desc {
    width : min(100%, 600px);
    margin: 0 auto;
}

.glightbox-container .gslide-title {
    font-family  : var(--type-body);
    font-weight  : 400;
    font-size    : 1.7rem !important;
    color        : var(--color-white);
    margin-top   : 0;
    margin-bottom: var(--vspace-0_375);
}

.glightbox-container .gslide-desc {
    font-family: var(--type-body);
    font-weight: 300;
    font-size  : 1.4rem;
    line-height: 1.571;
    color      : rgba(255, 255, 255, 0.5) !important;
}

.glightbox-container .gprev,
.glightbox-container .gnext,
.glightbox-container .gclose {
    margin : 0;
    padding: 0;
}

.glightbox-container .gprev svg,
.glightbox-container .gnext svg,
.glightbox-container .gclose svg {
    width: var(--vspace-0_75);
}

.glightbox-container .goverlay {
    background: #000;
}

.glightbox-mobile .gslide-inner-content {
    padding-top: 0;
}

.glightbox-mobile .glightbox-container .gslide-desc a,
.glightbox-mobile .glightbox-container .gslide-desc .desc-more {
    color: var(--color-link);
}

.glightbox-mobile .glightbox-container .gslide-desc .desc-more {
    opacity: 1;
}


/* ===================================================================
 * # PAGE WRAP
 *
 *
 * ------------------------------------------------------------------- */
.s-pagewrap {
    display       : flex;
    flex-direction: column;
    min-height    : 100%;
    position      : relative;
}

.ss-preload .s-pagewrap {
    opacity   : 0;
    visibility: hidden;
}

.ss-loaded .s-pagewrap {
    opacity   : 1;
    visibility: visible;
    transition: opacity 0.3s var(--ease-smooth-in-out), visibility 0.3s var(--ease-smooth-in-out);
}


/* ===================================================================
 * # SITE HEADER
 *
 *
 * ------------------------------------------------------------------- */
.s-header {
    --header-height : 7.2rem;
    --logo-width    : 20rem;

    z-index         : 100;
    background-color: transparent;
    font-size       : var(--text-sm);
    line-height     : var(--vspace-1);
    height          : var(--header-height);
    width           : 100%;
    position        : absolute;
    top             : var(--vspace-0_5);
    left            : 0;
    position: fixed;
  z-index: 999; /* keeps it above everything */
  background: var(--color-bg, #fff); /* add background so content doesn’t show through */
}

.s-header .s-header__content {
    background-color: transparent;
}

.s-header.offset {
    transform          : translateY(-100%);
    transition-property: transform, background-color;
    transition-duration: 0.6s;
}

.s-header.scrolling {
    transform: translateY(0);
}

.s-header.sticky {
    --header-height : calc(var(--vspace-2_5) + var(--vspace-0_25));

    opacity         : 0;
    visibility      : hidden;
    background-color: var(--color-bg);
    box-shadow      : var(--shadow-medium);
    border-bottom   : 1px solid var(--color-bg-neutral-dark);
    position        : fixed;
    top             : 0;
    left            : 0;
}

.s-header.sticky.scrolling {
    opacity   : 1;
    visibility: visible;
}

.s-header__content {
    display         : flex;
    align-items     : center;
    justify-content : center;
    height          : var(--header-height);
    background-color: var(--color-bg);
    padding         : 0 calc(var(--gutter) * 2);
    position        : relative;
}

.s-header__block {
    z-index    : 101;
    align-items: center;
}

/* --------------------------------------------------------------------
 * ## logo
 * -------------------------------------------------------------------- */
.header-logo {
    z-index    : 3;
    line-height: 1;
    transform  : translate(0, calc(-50% + 0.2rem));
    position   : absolute;
    left       : calc(var(--gutter) * 2);
    top        : 50%;
}

.header-logo a {
    display: block;
    margin : 0;
    padding: 0;
    outline: 0;
    border : none;
}

.header-logo img {
    width         : var(--logo-width);
    margin        : 0;
    vertical-align: bottom;
}

/* --------------------------------------------------------------------
 * ## main navigation
 * -------------------------------------------------------------------- */
.header-nav__links {
    list-style: none;
    display   : inline-flex;
    flex-flow : row nowrap;
    margin    : 0;
    padding   : 0 var(--vspace-1_25);
}

.header-nav__links li {
    padding-left: 0;
}

.header-nav__links a {
    display            : block;
    font-family        : var(--type-body);
    font-weight        : 500;
    color              : var(--color-text-light);
    padding            : 0 var(--vspace-0_375);
    transition-property: color, background-color;
    transition-duration: 0.3s;
}

.header-nav__links a:focus,
.header-nav__links a:hover {
    color: var(--color-text);
}

.header-nav__links .current a {
    color: var(--color-white);
}

/* header contact num
 */
.header-contact {
    transform: translate(0, calc(-50% + 0.2rem));
    position : absolute;
    right    : calc(var(--gutter) * 2);
    top      : 50%;
}

.header-contact__num {
    display        : flex;
    align-items    : center;
    justify-content: center;
    gap            : var(--vspace-0_25);
}

.header-contact__num svg {
    height: var(--vspace-0_5);
    width : var(--vspace-0_5);
}

.header-contact__num svg path {
    stroke: var(--color-text);
}

.header-contact .btn {
    margin: 0 0 var(--vspace-0_125) 0;
}

/* --------------------------------------------------------------------
 * ## mobile menu toggle
 * -------------------------------------------------------------------- */
.header-menu-toggle {
    --toggle-block-width: 44px;
    --toggle-line-width : 28px;
    --toggle-line-height: 1px;

    display             : none;
    width               : var(--toggle-block-width);
    height              : var(--toggle-block-width);
    position            : absolute;
    top                 : calc((var(--header-height) - var(--toggle-block-width)) / 2);
    right               : calc(var(--gutter) * 2 - var(--vspace-0_125));
}

.header-menu-toggle span {
    display         : block;
    background-color: var(--color-white);
    width           : var(--toggle-line-width);
    height          : var(--toggle-line-height);
    margin-top      : -1px;
    font            : 0/0 a;
    text-shadow     : none;
    color           : transparent;
    transition      : all 0.5s;
    position        : absolute;
    right           : calc((var(--toggle-block-width) - var(--toggle-line-width)) / 2);
    top             : 50%;
    bottom          : auto;
    left            : auto;
}

.header-menu-toggle span::before,
.header-menu-toggle span::after {
    content         : "";
    width           : 100%;
    height          : 100%;
    background-color: inherit;
    transition      : all 0.5s;
    position        : absolute;
    left            : 0;
}

.header-menu-toggle span::before {
    top: -8px;
}

.header-menu-toggle span::after {
    bottom: -8px;
}

/* is clicked 
 */
.header-menu-toggle.is-clicked span {
    background-color: rgba(255, 255, 255, 0);
    transition      : all 0.1s;
}

.header-menu-toggle.is-clicked span::before,
.header-menu-toggle.is-clicked span::after {
    background-color: var(--color-white);
}

.header-menu-toggle.is-clicked span::before {
    top      : 0;
    transform: rotate(135deg);
}

.header-menu-toggle.is-clicked span::after {
    bottom   : 0;
    transform: rotate(225deg);
}

/* ------------------------------------------------------------------- 
 * responsive:
 * site-header
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1000px) {
    .header-nav__links a {
        padding: 0 var(--vspace-0_375);
    }
}

@media screen and (max-width: 900px) {
    .s-header {
        --header-height: 80px;
        top            : 0;
    }

    .s-header__content {
        margin    : 0;
        padding   : 0;
        border    : none;
        box-shadow: none;
    }

    .s-header__block {
        width        : 100%;
        height       : var(--header-height);
        border       : none;
        border-bottom: var(--color-bg-neutral-dark);
    }

    .header-logo {
        transform: translate(0, -50%);
    }

    .header-nav {
        display         : block;
        width           : 100%;
        transform       : scaleY(0);
        transform-origin: center top;
        background-color: var(--color-bg);
        box-shadow      : var(--shadow-medium);
        border-bottom   : 1px solid var(--color-bg-neutral-dark);
        padding-top     : calc(var(--header-height) + var(--vspace-1_25));
        padding-right   : calc(var(--gutter) * 2 + 0.2rem);
        padding-left    : calc(var(--gutter) * 2 + 0.2rem);
        padding-bottom  : var(--vspace-1_5);
        margin          : 0;
        position        : absolute;
        top             : 0;
        left            : 0;
    }

    .header-nav__links {
        display     : block;
        padding-left: 0;
        margin      : 0 0 var(--vspace-1_5) 0;
        transform   : translateY(-2rem);
        opacity     : 0;
        visibility  : hidden;
    }

    .header-nav__links a {
        font-size: var(--text-base);
        padding  : var(--vspace-0_25) 0;
    }

    .header-contact {
        position  : static;
        transform : translateY(-2rem);
        opacity   : 0;
        visibility: hidden;
    }

    .header-contact .btn {
        margin: 0;
    }

    .header-menu-toggle {
        display: block;
    }

    .menu-is-open .s-header {
        height: auto;
    }

    .menu-is-open .s-header__block {
        box-shadow: none;
    }

    .menu-is-open .header-nav {
        transform       : scaleY(1);
        transition      : transform 0.3s var(--ease-quick-out);
        transition-delay: 0s;
    }

    .menu-is-open .header-nav__links,
    .menu-is-open .header-contact {
        transform       : translateY(0);
        opacity         : 1;
        visibility      : visible;
        transition      : all 0.6s var(--ease-quick-out);
        transition-delay: 0.3s;
    }
}

@media screen and (max-width: 600px) {
    .header-logo {
        left: calc(var(--gutter) * 2);
    }

    .header-menu-toggle {
        right: calc(var(--gutter) * 2);
    }

    .header-nav {
        padding-right: calc(var(--gutter) * 2 + var(--vspace-0_125));
        padding-left : calc(var(--gutter) * 2 + var(--vspace-0_125));
    }
}

@media screen and (max-width: 400px) {
    .s-header {
        --logo-width: 9.8rem;
    }
}


/* ===================================================================
 * # INTRO
 *
 *
 * ------------------------------------------------------------------- */
.s-intro {
    --content-padding-top   : max(13.6rem, 24vh);
    --content-padding-bottom: var(--vspace-2_5);
    --content-min-height    : calc(var(--vspace-1) * 27);

    z-index                 : 2;
    height                  : max(var(--content-min-height), 100vh);
    overflow                : hidden;
    position                : relative;
}

/* --------------------------------------------------------------------
 * ## intro content
 * -------------------------------------------------------------------- */
.s-intro__content {
    --grid-gap-v      : 0;

    z-index           : 2;
    grid-template-rows: auto 1fr;
    align-items       : center;
    padding-top       : var(--content-padding-top);
    padding-bottom    : var(--content-padding-bottom);
    position          : relative;
}

.intro-header {
    --overline-hline: calc(((100 / (6/1)) * 1%) - var(--gutter));
     --underline-hline: calc(((100 / (6/1)) * 1%) - var(--gutter));

    z-index         : 2;
    grid-column     : 2/span 6;
    padding-top     : var(--vspace-1);
    position        : relative;

width: max-content;

}

.intro-header__overline {
    font-family   : var(--type-headings);
    font-weight   : 400;
    font-style    : italic;
    font-size     : var(--text-lg);
    line-height   : 1;
    letter-spacing: -0.02em;
    color         : var(--color-text);
    padding-left  : 0.25em;
    margin-top    : var(--vspace-0_25);
    margin-bottom : calc(var(--vspace-0_375) * -1);
    position      : relative;
}

.intro-header__overline::before {
    content         : "";
    display         : block;
    height          : 1px;
    width           : var(--overline-hline);
    background-color: var(--color-text-light);
    position        : absolute;
    top             : 50%;
    left            : calc((var(--overline-hline) + var(--gutter)) * -1);
}
.intro-header__underline {
    font-family   : var(--type-headings);
    font-weight   : 400;
    font-style    : italic;
    font-size     : var(--text-lg);
    line-height   : 1;
    letter-spacing: -0.02em;
    color         : var(--color-text);
    padding-left  : 0.25em;
    margin-top    : 0;
    margin-bottom : calc(var(--vspace-0_375) * -1);
    position      : relative;
}

.intro-header__underline::before {
    content         : "";
    display         : block;
    height          : 1px;
    width           : var(--underline-hline);
    background-color: var(--color-text-light);
    position        : absolute;
    top             : 50%;
    left            : calc((var(--underline-hline) + var(--gutter)) * -1);
}
.intro-header__big-type {
    font-size  : clamp(var(--text-display), var(--text-3xl) + 5vw, 18.4rem);
    line-height: 1;
    margin-top : 0;
    padding-bottom: 0;
    margin-bottom: 0;
    border-spacing: 0;
}

.intro-pic-primary {
    --pic-primary-width: calc((100 / (12/4)) * 1%);
    --pic-primary-mleft: calc(var(--pic-primary-width) / 2);

    width              : var(--pic-primary-width);
    display            : inline-flex;
    padding-left       : var(--gutter);
    padding-right      : var(--gutter);
    position           : absolute;
    top                : var(--content-padding-top);
    left               : calc(50% - var(--pic-primary-mleft));
}

.intro-pic-primary img {
    margin        : 0;
    vertical-align: bottom;
    aspect-ratio  : 1200/1650;
}

.intro-block-content {
    display        : flex;
    flex-direction : column;
    justify-content: center;
    align-items    : center;
    grid-column    : 9/span 4;
    grid-row       : 1/3;
    padding-bottom : var(--vspace-2);
    position       : relative;
}

.intro-block-content__pic {
    position: relative;
}

.intro-block-content__pic img {
    margin        : 0;
    vertical-align: bottom;
    aspect-ratio  : 1050/600;
}

.intro-block-content__text {
    border-top : 1px solid var(--color-border);
    padding-top: var(--vspace-0_5);
}

.intro-block-content__social {
    display    : flex;
    margin-left: 0;
    list-style : none;
}

.intro-block-content__social li {
    padding-left: 0;
    margin-right: var(--vspace-0_625);
}

.intro-block-content__social a {
    font-size     : var(--text-sm);
    letter-spacing: 0.15em;
    color         : var(--color-text-light);
}

/* --------------------------------------------------------------------
 * ## intro scroll down
 * -------------------------------------------------------------------- */
.intro-scroll {
    z-index    : 2;
    grid-column: 2/span 6;
    grid-row   : 2;
    display    : flex;
    position   : relative;
}

.intro-scroll a {
    display        : inline-flex;
    align-items    : center;
    justify-content: center;
    width          : 9.2rem;
    height         : 9.2rem;
    position       : relative;
}

.intro-scroll__circle-text {
    height             : 100%;
    width              : 100%;
    background-image   : url(../images/scrolldown-circle-text.svg);
    background-repeat  : no-repeat;
    background-position: center;
    background-size    : cover;
    position           : absolute;
    top                : 0;
    left               : 0;
    animation          : rotation 12s linear infinite;
    transform-origin   : center;
}

.intro-scroll__text {
    display       : block;
    font-family   : var(--type-body);
    font-size     : var(--text-xs);
    font-weight   : 400;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    line-height   : var(--vspace-1);
}

.intro-scroll__icon {
    display        : flex;
    justify-content: center;
    align-items    : center;
    height         : var(--vspace-1_25);
    width          : var(--vspace-1_25);
}

.intro-scroll svg {
    height: var(--vspace-0_875);
    width : var(--vspace-0_875);
}

.intro-scroll svg path {
    fill: var(--color-bg-accent-light);
}

@keyframes rotation {
    to {
        transform: rotate(1turn);
    }
}

/* --------------------------------------------------------------------
 * ## intro transitions
 * -------------------------------------------------------------------- */
.ss-home .s-header__content,
.ss-home .intro-header__overline,
.ss-home .intro-header__underline,
.ss-home .intro-header__big-type,
.ss-home .intro-pic-primary,
.ss-home .intro-block-content__pic,
.ss-home .intro-block-content__text,
.ss-home .intro-block-content__social,
.ss-home .intro-scroll {
    transition-timing-function: var(--ease-smooth-in-out);
    transition-duration       : 0.6s;
    transition-delay          : 0s;
    opacity                   : 0;
    visibility                : hidden;
}

.ss-home .s-header__content,
.ss-home .intro-pic-primary,
.ss-home .intro-block-content__pic {
    transition-property: opacity;
}

.ss-home .intro-header__overline,
.ss-home .intro-header__underline,
.ss-home .intro-header__big-type,
.ss-home .intro-block-content__text,
.ss-home .intro-block-content__social,
.ss-home .intro-scroll {
    transition-property: opacity, transform;
    transform          : translateY(150px);
}

.no-js .s-header__content,
.no-js .intro-pic-primary,
.no-js .intro-block-content__pic,
.ss-show .s-header__content,
.ss-show .intro-pic-primary,
.ss-show .intro-block-content__pic {
    opacity   : 1;
    visibility: visible;
}

.no-js .intro-header__overline,
.no-js .intro-header__underline,
.no-js .intro-header__big-type,
.no-js .intro-block-content__text,
.no-js .intro-block-content__social,
.no-js .intro-scroll,
.ss-show .intro-header__overline,
.ss-show .intro-header__underline,
.ss-show .intro-header__big-type,
.ss-show .intro-block-content__text,
.ss-show .intro-block-content__social,
.ss-show .intro-scroll {
    opacity   : 1;
    visibility: visible;
    transform : translateY(0);
}

.no-js .intro-block-content__pic,
.ss-show .intro-block-content__pic {
    transition-delay: 0.3s;
}

.no-js .intro-header__overline,
.ss-show .intro-header__overline {
    transition-delay: 0.6s;
}
.no-js .intro-header__underline,
.ss-show .intro-header__underline {
    transition-delay: 0.6s;
}
.no-js .intro-header__big-type,
.ss-show .intro-header__big-type {
    transition-delay: 0.9s;
}

.no-js .intro-block-content__text,
.ss-show .intro-block-content__text {
    transition-delay: 1.2s;
}

.no-js .intro-block-content__social,
.ss-show .intro-block-content__social {
    transition-delay: 1.5s;
}

.no-js .intro-scroll,
.ss-show .intro-scroll {
    transition-delay: 1.8s;
}

.no-js .s-header__content,
.ss-show .s-header__content {
    transition-delay: 2.1s;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * intro
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1300px) {
    .intro-header {
        grid-column: 1/span 6;
    }

    .intro-header__overline {
        font-size: var(--text-md);
    }

    .intro-header__overline::before {
        display: none;
    }
    .intro-header__underline {
        font-size: var(--text-md);
    }

    .intro-header__underline::before {
        display: none;
    }
    .intro-scroll {
        grid-column: 1/span 6;
        left       : var(--vspace-0_25);
    }

    .intro-scroll a {
        width : 8.8rem;
        height: 8.8rem;
    }
}

@media screen and (max-width: 1000px) {
    .intro-header {
        grid-column: 1/-1;
    }

    .intro-pic-primary {
        width  : 50%;
        left   : auto;
        right  : 0;
        padding: 0;
    }

    .intro-block-content {
        grid-column   : 4/span 9;
        grid-row      : 2;
        flex-direction: row;
        padding-top   : 15%;
    }

    .intro-block-content__text-wrap,
    .intro-block-content__pic {
        flex : none;
        width: 50%;
    }

    .intro-block-content__text-wrap {
        padding-inline: var(--gutter);
        position      : relative;
        z-index       : 3;
    }

    .intro-block-content__pic {
        padding-right: var(--gutter);
    }

    .intro-block-content__pic img {
        aspect-ratio: auto;
    }

    .intro-block-content__text {
        font-size  : var(--text-sm);
        line-height: var(--vspace-0_875);
        border     : none;
        padding-top: 0;
    }

    .intro-scroll svg {
        height: var(--vspace-0_75);
        width : var(--vspace-0_75);
    }
}

@media screen and (max-width: 900px) {
    .s-intro {
        --content-padding-top: max(13.6rem, 20vh);
    }
}

@media screen and (max-width: 800px) {
    .s-intro {
        height: auto;
    }

    .intro-header__overline {
        font-size: calc(var(--text-size) * 1.1);
    }
    .intro-header__underline {
        font-size: calc(var(--text-size) * 1.1);
    }

    .intro-block-content {
        grid-column: 1/-1;
        padding-top: var(--vspace-1);
    }

    .intro-scroll {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    .s-intro {
        --content-padding-top: max(12.8rem, 12vh);
    }

    .intro-pic-primary {
        width: 66.6666%;
    }

    .intro-block-content {
        padding-top    : var(--vspace-0_5);
        padding-bottom : 0;
        flex-direction : column;
        align-items    : start;
        justify-content: end;
    }

    .intro-block-content__pic {
        width         : 60%;
        margin-bottom : 0;
        padding-inline: 0;
        margin-bottom : var(--vspace-1);
    }

    .intro-block-content__text-wrap {
        width         : 100%;
        padding-inline: 0;
    }
}

@media screen and (max-width: 400px) {
    .intro-block-content__pic {
        width: max(18rem, 60%);
    }
}


/* ===================================================================
 * # ABOUT
 *
 *
 * ------------------------------------------------------------------- */
.s-about {
    padding-top: var(--vspace-5);
}

.s-about__content {
    align-items    : flex-start;
    justify-content: space-between;
}

.s-about__content-start {
    position     : sticky;
    top          : var(--vspace-5);
    margin-bottom: var(--vspace-2);
}

.s-about__content-end {
    padding-top   : var(--vspace-1_5);
    padding-bottom: var(--vspace-1);
}

/* --------------------------------------------------------------------
 * ## about content
 * -------------------------------------------------------------------- */
.about-pic-primary {
    width: 100%;
}

.about-pic-primary img {
    padding           : 0;
    margin            : 0;
    -o-object-fit     : cover;
    object-fit        : cover;
    -o-object-position: center;
    object-position   : center;
    aspect-ratio      : 2000/2000;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * about
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1000px) {
    .s-about__content-start {
        position     : static;
        margin-bottom: var(--vspace-1);
        display      : flex;
        gap          : var(--gutter);
    }

    .s-about__content-start .section-header {
        width: 50%;
    }

    .s-about__content-start .about-pic-primary {
        width: 50%;
    }

    .s-about__content-end {
        padding-top: 0;
    }
}

@media screen and (max-width: 600px) {
    .s-about__content-start {
        display: block;
    }

    .s-about__content-start .section-header {
        width: auto;
    }

    .s-about__content-start .about-pic-primary {
        width        : min(400px, 100%);
        margin-inline: auto;
    }
}


/* ===================================================================
 * # MENU
 *
 *
 * ------------------------------------------------------------------- */
.s-menu {
    padding-top: var(--vspace-5);
}

.s-menu__content {
    justify-content: space-between;
    align-items    : flex-start;
    height         : auto;
}

.s-menu__content-start {
    position     : sticky;
    top          : var(--vspace-5);
    margin-bottom: var(--vspace-2);
}

.s-menu__content-end {
    padding-top: var(--vspace-2_5);
}

/* --------------------------------------------------------------------
 * ## tab navigations
 * -------------------------------------------------------------------- */
.tab-nav__list {
    list-style    : none;
    display       : flex;
    flex-direction: column;
    margin-left   : 0;
    border-top    : 1px solid var(--color-border);
    counter-reset : ctr;
}

.tab-nav__list li {
    padding-left : 0;
    border-bottom: 1px solid var(--color-border);
}

.tab-nav__list li[data-tab-active] {
    border-bottom: 1px solid var(--color-bg-accent);
}

.tab-nav__list li[data-tab-active] a {
    background-color: var(--color-bg-accent);
    color           : var(--color-white);
}

.tab-nav__list li[data-tab-active] a::before {
    color: var(--color-text);
}

.tab-nav__list li[data-tab-active] a svg {
    opacity   : 1;
    visibility: visible;
    transform : translateX(0);
}

.tab-nav__list li[data-tab-active] a svg path {
    fill: var(--color-white);
}

.tab-nav__list a {
    display       : flex;
    align-items   : center;
    height        : 100%;
    color         : var(--color-text);
    padding-top   : var(--vspace-0_75);
    padding-bottom: var(--vspace-0_75);
    padding-left  : var(--vspace-0_75);
    padding-right : var(--vspace-0_75);
}

.tab-nav__list a::before {
    display          : block;
    content          : counter(ctr, decimal-leading-zero) ".";
    font-size        : var(--text-xs);
    margin-right     : var(--vspace-0_625);
    color            : var(--color-text-light);
    counter-increment: ctr;
}

.tab-nav__list a svg {
    height                    : var(--vspace-0_5);
    width                     : var(--vspace-0_5);
    margin-left               : auto;
    opacity                   : 0;
    visibility                : hidden;
    transform                 : translateX(-2rem);
    transition-property       : opacity, visibility, transform;
    transition-duration       : 0.3s;
    transition-timing-function: var(--ease-smooth-in-out);
}

.tab-nav__list a svg path {
    fill: var(--color-text);
}

.tab-nav__list a:hover,
.tab-nav__list a:focus {
    background-color: var(--color-neutral-900);
    color           : var(--color-text);
}

.tab-nav__list a:hover svg,
.tab-nav__list a:focus svg {
    opacity   : 1;
    visibility: visible;
    transform : translateX(0);
}

/* --------------------------------------------------------------------
 * ## tab contents
 * -------------------------------------------------------------------- */
.tab-content {
    position: relative;
    top     : calc(var(--vspace-0_5) * -1);
}

.tab-content__item {
    opacity   : 0;
    visibility: hidden;
    height    : 0;
    overflow  : hidden;
    position  : absolute;
    top       : 100px;
    display: none;
}
.tab-content__item[data-tab-active] {
    opacity                   : 1;
    visibility                : visible;
    height                    : auto;
    transition-property       : opacity, visibility, top;
    transition-duration       : 0.9s;
    transition-timing-function: var(--ease-smooth-in-out);
    transition-delay          : 0s;
    position                  : relative;
    top                       : 0;
    display: block; 
}

/* menu block
 */
.menu-block {
    margin: 0;
}

.menu-block__group {
    margin-bottom: var(--vspace-3);
}

.menu-block__cat-name {
    margin-top   : 0;
    margin-bottom: var(--vspace-1);
    padding-left : var(--vspace-1);
    color        : var(--color-text);
    position     : relative;
}

.menu-block__cat-name::before {
    content         : "";
    display         : block;
    height          : 1px;
    width           : var(--vspace-0_5);
    background-color: var(--color-border);
    position        : absolute;
    top             : 50%;
    left            : 0;
}

.menu-list {
    list-style : none;
    margin-left: 0;
}

.menu-list__item {
}

.menu-list__item:nth-child(odd) {
    background-color: var(--color-bg-neutral-dark);
}

.menu-list__item h4 {
    font-family  : var(--type-body);
    margin-top   : 0;
    margin-bottom: var(--vspace-0_25);
}

.menu-list__item p  {
    font-weight  : 300;
    font-size    : var(--text-sm);
    line-height  : var(--vspace-0_75);
    margin-bottom: var(--vspace-1);
    color        : var(--color-text-light);
}


.menu-list__item-desc {
    max-width    : min(100%, 90rem);
    padding-right: calc(var(--gutter) * 2);
}

.menu-list__item-price {
    font-family  : var(--type-body);
    font-weight  : 500;
    font-size    : var(--text-base);
    padding-right: 0.2rem;
}

.menu-list__item-price span {
    font-size: 0.8em;
    position : relative;
    bottom   : 0.2em;
    left     : -1px;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * menu
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1000px) {
    .s-menu__content-start {
        position: static;
    }

    .s-menu__content-end {
        padding-top: 0;
    }

    .tab-nav__list {
        flex-direction: row;
        flex-wrap     : wrap;
        border-color  : var(--color-border);
        border-style  : solid;
        border-width  : 1px 0 0 1px;
        align-items   : stretch;
        align-content : stretch;
    }

    .tab-nav__list li {
        flex        : 1;
        border-color: var(--color-border);
        border-style: solid;
        border-width: 0 1px 1px 0;
    }

    .tab-nav__list a {
        line-height: var(--vspace-0_75);
    }

    .tab-nav__list a::before {
        margin-right: var(--vspace-0_25);
    }

    .tab-nav__list a svg {
        display: none;
    }
}

@media screen and (max-width: 800px) {
    .tab-nav__list li {
        flex : none;
        width: 50%;
    }
}

@media screen and (max-width: 600px) {
    .tab-nav__list {
        flex-direction: column;
    }

    .tab-nav__list li {
        width: 100%;
    }

    .tab-nav__list a svg {
        display: block;
    }
}

@media screen and (max-width: 500px) {
    .menu-list__item {
        padding-inline: var(--vspace-0_875);
    }

    .menu-list__item h4 {
        font-size: var(--text-md);
    }
}


/* ===================================================================
 * # GALLERY
 *
 *
 * ------------------------------------------------------------------- */
/* ===================================================================
 * # Compact "Glass Dice" Gallery
 * ------------------------------------------------------------------- */
.s-gallery {
  padding-top: var(--vspace-5);
  padding-bottom: var(--vspace-5);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.9));
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.gallery-items {
  --col-min-width: 220px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--col-min-width),100%), 1fr));
  gap: 12px;
  justify-items: center;
  position: relative;
  z-index: 2;
}

/* faint glowing dots floating in the background (dice sparkle feel) */
.s-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.07) 1px, transparent 1px),
                    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.07) 1px, transparent 1px),
                    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 120px 120px, 160px 160px, 200px 200px;
  animation: drift 40s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes drift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 200px 200px, -200px 200px, 300px -200px; }
}

/* each gallery item container */
.gallery-items__item-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
  transform: perspective(600px) rotateX(0deg) rotateY(0deg);
}

/* images */
.gallery-items__item-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.6s ease, opacity 0.4s ease, filter 0.4s ease;
}

/* subtle reflection gradient on top of image */
.gallery-items__item-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  z-index: 1;
  pointer-events: none;
}

/* floating '+' hover icon */
.gallery-items__item-thumb::after {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  font-size: 1.8rem;
  font-weight: 200;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  transition: all 0.35s ease;
  z-index: 2;
}

/* hover animation: subtle tilt + glow + zoom */
.gallery-items__item-thumb:hover {
  transform: perspective(600px) rotateX(4deg) rotateY(4deg) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.gallery-items__item-thumb:hover img {
  transform: scale(1.08);
  opacity: 1;
  filter: brightness(1.1) contrast(1.1);
}

.gallery-items__item-thumb:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* responsive compact mode */
@media screen and (max-width: 600px) {
  .gallery-items {
    --col-min-width: 140px;
    gap: 8px;
  }
  .gallery-items__item-thumb {
    border-radius: 10px;
  }
  .gallery-items__item-thumb::after {
    font-size: 1.3rem;
  }
}
/* =========================================================
   GLIGHTBOX MAGIC EXPANSION STYLE
   Makes the opened viewer feel ethereal and glassy
   ========================================================= */
.glightbox-container {
  backdrop-filter: blur(20px) saturate(1.2);
  background: rgba(10, 10, 10, 0.8);
  animation: lightboxFadeIn 0.6s ease forwards;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

/* overlay background sparkles */
.glightbox-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 180px 180px;
  opacity: 0.4;
  animation: sparkleDrift 60s linear infinite;
  pointer-events: none;
}

@keyframes sparkleDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 300px 300px, -300px -300px; }
}

/* image itself: smooth zoom-in when opening */
.glightbox-container .ginner img {
  transform-origin: center;
  transform: scale(0.95);
  transition: transform 1s ease, filter 0.8s ease;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
  filter: brightness(0.9);
  animation: imageFloat 8s ease-in-out infinite alternate;
}

/* slight floating motion (gives a "breathing" feel) */
@keyframes imageFloat {
  0% { transform: scale(0.95) translateY(0px); filter: brightness(0.9); }
  50% { transform: scale(0.97) translateY(-8px); filter: brightness(1); }
  100% { transform: scale(0.95) translateY(0px); filter: brightness(0.9); }
}

/* image zoom in when hovering (inside the lightbox) */
.glightbox-container .ginner img:hover {
  transform: scale(1) translateY(-3px);
  filter: brightness(1.05) contrast(1.05);
}

/* navigation buttons - glass look */
.glightbox-button, .gclose {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.glightbox-button:hover, .gclose:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* next/prev icons */
.glightbox-button svg path,
.gclose svg path {
  stroke: rgba(255,255,255,0.9);
  transition: stroke 0.3s ease;
}

.glightbox-button:hover svg path,
.gclose:hover svg path {
  stroke: #fff;
}

/* fade-out when closing */
.glightbox-container.fadeOut {
  animation: lightboxFadeOut 0.5s ease forwards;
}

@keyframes lightboxFadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(1.05); }
}



/* ===================================================================
 * # TESTIMONIALS
 *
 *
 * ------------------------------------------------------------------- */
.s-testimonials {
    padding-top   : var(--vspace-5);
    padding-bottom: var(--vspace-2_5);
}

.s-testimonials .testimonials-title {
    margin-top: 0;
}

.s-testimonials .swiper-container {
    padding-bottom: var(--vspace-2);
}

.s-testimonials .testimonials-slider {
    margin-top: var(--vspace-2_5);
}

.testimonials-slider__slide {
    font-size  : calc(var(--text-size) * 1.1);
    line-height: calc(1.125 * var(--space));
    padding-top: var(--vspace-1);
    border-top : 1px solid var(--color-border);
    position   : relative;
}

@media screen and (max-width: 400px) {
    .testimonials-slider__slide {
        font-size  : var(--text-base);
        line-height: var(--vspace-1);
    }
}

.testimonials-slider__author {
    display       : flex;
    align-items   : center;
    padding-bottom: var(--vspace-1_5);
    position      : relative;
}

.testimonials-slider__avatar {
    background-color: var(--color-bg-neutral);
    width           : var(--vspace-2);
    height          : var(--vspace-2);
    padding         : var(--vspace-0_25);
    margin-bottom   : 0;
    margin-right    : var(--vspace-0_5);
    border-radius   : 100%;
    outline         : none;
}

.testimonials-slider__cite {
    display    : block;
    font-family: var(--type-body);
    font-weight: 500;
    font-size  : var(--text-sm);
    line-height: 1.2;
    position   : relative;
}

.testimonials-slider__cite span {
    display    : block;
    font-weight: 400;
    font-size  : 0.9em;
    line-height: 1.2;
    color      : var(--color-text-light);
    margin-top : 0.4rem;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * testimonials
 * ------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
    .testimonials-slider__slide {
        text-align: center;
    }

    .testimonials-slider__author {
        justify-content: center;
    }

    .testimonials-slider__cite {
        text-align: left;
    }
}

@media screen and (max-width: 500px) {
    .s-testimonials {
        padding-top   : var(--vspace-4);
        padding-bottom: var(--vspace-3);
    }

    .s-testimonials .swiper-container {
        padding-bottom: var(--vspace-1_5);
    }
}

@media screen and (max-width: 400px) {
    .testimonials-slider__cite {
        font-size: calc(var(--text-size) * 0.75);
    }
}


/* ===================================================================
 * # FOOTER
 *
 *
 * ------------------------------------------------------------------- */
.s-footer {
    --bottom-padding   : var(--vspace-2_5);
    --footer-logo-width: 16rem;
    
    padding-bottom     : var(--bottom-padding);
}

.s-footer h6 {
    color     : var(--color-bg-accent);
    margin-top: 0;
}

.s-footer a {
    color: var(--color-white);
}

.s-footer a:focus,
.s-footer a:hover {
    color: var(--color-1-500);
}

.s-footer .grid-cols {
    --min-width-wrap: 250px;
}

.s-footer__logo {
    position     : relative;
    margin-top   : var(--vspace-0_5);
    margin-bottom: var(--vspace-0_5);
}

.s-footer__logo a {
    display: block;
    margin : 0;
    padding: 0;
    outline: 0;
    border : none;
}

.s-footer__logo img {
    width         : var(--footer-logo-width);
    margin        : 0;
    vertical-align: bottom;
}

.s-footer__top {
    margin-bottom: var(--vspace-3);
    position     : relative;
}

.s-footer__top::before {
    content         : "";
    display         : block;
    height          : 1px;
    width           : calc(100% - 2 * var(--gutter));
    background-color: var(--color-border);
    position        : absolute;
    top             : 50%;
    left            : var(--gutter);
}

.s-footer__bottom {
    font-size  : var(--text-sm);
    padding-top: var(--vspace-1);
    margin-top : var(--vspace-1_5);
    color      : var(--color-text-light);
    position   : relative;
}

.s-footer__bottom::before {
    content         : "";
    display         : block;
    height          : 1px;
    width           : calc(100% - 2 * var(--gutter));
    background-color: rgba(255, 255, 255, 0.05);
    position        : absolute;
    top             : 0;
    left            : var(--gutter);
}

.s-footer__social svg {
    height: var(--vspace-0_75);
    width : var(--vspace-0_75);
}

.s-footer__social svg path,
.s-footer__social svg circle {
    fill: var(--color-text);
}

.s-footer .link-list {
    list-style : none;
    margin-left: 0;
}

.s-footer .link-list li {
    padding: 0;
}

.s-footer .link-list a {
    color : var(--color-text);
    border: none;
}

.s-footer .link-list a:focus,
.s-footer .link-list a:hover {
    color: var(--color-white);
}

.s-footer .opening-hours {
    list-style : none;
    margin-left: 0;
}

.s-footer .opening-hours li {
    display    : flex;
    padding    : 0;
    align-items: baseline;
}

.s-footer .opening-hours__days {
    margin-right: 1.6rem;
}

.s-footer .opening-hours__time {
    font-size     : var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.footer-block {
    margin-bottom: var(--vspace-0_5);
}

.footer-newsletter {
    background-color: var(--color-bg-neutral-dark);
    padding         : var(--vspace-1_5) var(--vspace-2) var(--vspace-0_75);
    border          : 1px solid var(--color-border);
    border-radius   : var(--border-radius);
    text-align      : center;
    position        : relative;
}

.footer-newsletter h5 {
    font-weight  : 400;
    font-size    : var(--text-base);
    line-height  : var(--vspace-1);
    color        : var(--color-text);
    margin-top   : 0;
    margin-bottom: var(--vspace-1);
}

.footer-newsletter input[type=email],
.footer-newsletter input[type=submit] {
    margin: 0;
}

.footer-newsletter input[type=email] {
    flex            : 1;
    background-color: var(--color-bg-neutral);
    font-size       : var(--text-sm);
    border          : none;
    padding-left    : var(--vspace-0_75);
    padding-right   : var(--vspace-0_75);
    border-radius   : var(--radius-full);
}

.footer-newsletter input[type=email]:focus {
    color: var(--color-white);
}

.footer-newsletter input[type=submit] {
    flex : none;
    width: 33%;
}

.footer-newsletter .mc-input-wrap {
    display         : flex;
    justify-content : space-between;
    background-color: var(--color-bg-neutral);
    margin-bottom   : var(--vspace-0_5);
    border          : 1px solid var(--color-bg-neutral);
    border-radius   : var(--radius-full);
}

.footer-newsletter .mc-status {
    font-family: var(--type-body);
    font-weight: 500;
    font-size  : var(--text-xs);
    line-height: var(--vspace-0_625);
    color      : var(--color-white);
    padding    : 0 0.8rem;
}

.footer-newsletter .mc-status.error-message {
    color: var(--color-error-content);
}

.footer-newsletter .mc-status.success-message {
    color: var(--color-bg-accent);
}

/* ------------------------------------------------------------------- 
 * ## Preloader
 * ------------------------------------------------------------------- */
/* ===== Two-stage preloader ===== */
:root {
  --pre-bg: #0e0e0e;          /* dark background for splash */
  --pre-fg: #ffffff;          /* text color */
  --pre-accent: #ff7a00;      /* orange swipe */
  --pre-z: 9999;
  --pre-font: inherit;        /* or a display font */
}

html.is-preloading { overflow: hidden; }

#preloader {
  position: fixed;
  inset: 0;
  z-index: var(--pre-z);
  display: grid;
  place-items: center;
  background: var(--pre-bg);
  transition: opacity .5s ease, visibility .5s ease;
}

#preloader.hide {
  opacity: 0; visibility: hidden;
}

/* shared stage wrapper */
.prestage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--pre-bg);
}
/* Preloader words styling */
.prestage .word {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  color: #fff;
  text-transform: capitalize; /* Capitalize first letter */
  letter-spacing: 0.05em;
}

/* ===== Stage 1: words ===== */
.stage1-inner {
  display: flex;
  flex-direction: row;           /* horizontal by default (wide view) */
  align-items: center;
  justify-content: center;
  gap: 1.5rem;                   /* spacing between words */
  font-family: var(--pre-font);
  text-align: center;
  text-transform: capitalize;    /* first letter uppercase */
}

.stage1 .w {
  color: var(--pre-fg);
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 64px);
  line-height: 1.05;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(12px);
  animation: s1-in .6s cubic-bezier(.2,.8,.2,1) forwards;
}

.stage1 .w.bold { font-weight: 800; }

.stage1 .w:nth-child(1) { animation-delay: .05s; }
.stage1 .w:nth-child(2) { animation-delay: .35s; }
.stage1 .w:nth-child(3) { animation-delay: .65s; }

@keyframes s1-in {
  to { opacity: 1; transform: translateY(0); }
}

/* graceful exit for stage1 */
.stage1.out { animation: s1-out .5s ease forwards; }
@keyframes s1-out {
  to { opacity: 0; transform: scale(.98); }
}

/* ===== Responsive: vertical stack on smaller screens ===== */
@media (max-width: 768px) {
  .stage1-inner {
    flex-direction: column;       /* vertical stack on mobile */
    gap: 1rem;
  }
}



/* ===== Stage 2: orange swipe reveal ===== */
.stage2 {
  opacity: 0;
  pointer-events: none;
}

.stage2.in { 
  opacity: 1;
  transition: opacity .35s ease;
  pointer-events: auto;
}

.stage2-box {
  position: relative;
  width: min(78vw, 560px);
  height: min(22vw, 140px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.stage2-box .brand {
  color: var(--pre-fg);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(6px);
}

.stage2-box .swipe {
  position: absolute;
  inset: 0;
  margin: auto;
  height: 100%;
  width: 0%;
  background: var(--pre-accent);
  transform-origin: left center;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08) inset;
}

/* Play the swipe then reveal text */
.stage2.play .swipe {
  animation: s2-swipe 900ms cubic-bezier(.65,.02,.19,1) forwards;
}

@keyframes s2-swipe {
  0%   { width: 0%; transform: translateX(0); }
  55%  { width: 100%; transform: translateX(0); }
  100% { width: 100%; transform: translateX(102%); }
}

.stage2.play .brand {
  animation: s2-reveal 800ms cubic-bezier(.2,.8,.2,1) 320ms forwards;
}

@keyframes s2-reveal {
  0%   { opacity: 0; transform: translateY(6px); filter: blur(2px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .stage1 .w,
  .stage1.out,
  .stage2.in,
  .stage2.play .swipe,
  .stage2.play .brand,
  #preloader { animation: none !important; transition: none !important; }
  .stage1 .w,
  .stage2 .brand { opacity: 1; transform: none; }
}


/* ------------------------------------------------------------------- 
 * ## copyright
 * ------------------------------------------------------------------- */
.ss-copyright {
    margin     : 0 var(--vspace-2) 0 0;
    line-height: var(--vspace-0_875);
}

.ss-copyright span {
    display: inline-block;
}

.ss-copyright span::after {
    content: "|";
    display: inline-block;
    padding: 0 0.8rem 0 1rem;
    color  : var(--color-border);
}

.ss-copyright span:last-child::after {
    display: none;
}

/* ------------------------------------------------------------------- 
 * ## go top
 * ------------------------------------------------------------------- */
.ss-go-top {
    --width-label   : 11rem;
    z-index         : 2;
    display         : flex;
    align-items     : center;
    position        : absolute;
    transform       : rotate(-90deg);
    transform-origin: left bottom;
    bottom          : calc(var(--bottom-padding) - var(--vspace-0_5));
    right           : calc(var(--gutter) + var(--vspace-0_75) - var(--width-label) - var(--vspace-1_75) - var(--vspace-0_75));
}

.ss-go-top span {
    display       : block;
    width         : var(--width-label);
    font-family   : var(--type-body);
    font-size     : 1.1rem;
    font-weight   : 300;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color         : var(--color-text);
    position      : relative;
}

.ss-go-top a {
    display        : flex;
    align-items    : center;
    justify-content: center;
    text-decoration: none;
    border         : none;
    height         : var(--vspace-1_75);
    width          : var(--vspace-1_75);
    border-radius  : 50%;
    border         : 1px solid var(--color-white);
    margin-right   : var(--vspace-0_75);
    position       : relative;
}

.ss-go-top svg {
    height: var(--vspace-0_625);
    width : var(--vspace-0_625);
}

.ss-go-top svg path {
    fill: var(--color-white);
}

/* ------------------------------------------------------------------- 
 * responsive:
 * footer
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1600px) {
    .ss-go-top {
        bottom: calc(var(--bottom-padding) - var(--vspace-0_25));
        right : var(--vspace-0_125);
    }

    .ss-go-top span {
        display: none;
    }

    .ss-go-top a {
        margin: 0;
        height: var(--vspace-1_5);
        width : var(--vspace-1_5);
    }

    .ss-go-top svg {
        height: var(--vspace-0_5);
        width : var(--vspace-0_5);
    }
}

@media screen and (max-width: 1200px) {
    .s-footer__main-start {
        margin-bottom: var(--vspace-1_5);
    }

    .ss-go-top {
        bottom: calc(var(--bottom-padding) - var(--vspace-0_25));
        right : 0;
    }
}

@media screen and (max-width: 1000px) {
    .s-footer__top {
        margin-bottom: var(--vspace-3);
    }
}

@media screen and (max-width: 800px) {
    .footer-newsletter {
        padding-inline: var(--vspace-1);
    }

    .footer-newsletter input[type=email] {
        text-align: center;
    }

    .footer-newsletter input[type=submit] {
        width: 100%;
    }

    .footer-newsletter .mc-input-wrap {
        flex-direction  : column;
        gap             : var(--vspace-0_25);
        background-color: transparent;
        border-radius   : 0;
        border          : none;
    }
}

@media screen and (max-width: 600px) {
    .s-footer {
        --footer-logo-width: 13rem;
    }

    .ss-go-top {
        bottom: var(--bottom-padding);
    }

    .ss-copyright span {
        display: block;
    }

    .ss-copyright span::after {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    .footer-newsletter h5 {
        font-size  : var(--text-sm);
        line-height: var(--vspace-0_75);
    }
}




/* ==== 3D Dice (filled, with pips) ==== */


/* --- Fixed background layer for the dice --- */
#dice-bg {
  position: fixed;
  inset: 0;                 /* full viewport */
  z-index: 0;               /* behind page content */
  pointer-events: none;     /* never blocks clicks/scroll */
  overflow: visible;
  /* optional subtle fade */
  opacity: .90; */

  /* This is the element that holds the 3D cube/dice */
#dice-bg .cube3d {
  position: absolute;
  top: 3vmin;              /* stick toward the top-right */
  right: 3vmin;
  width: var(--cube-size);
  height: var(--cube-size);

  transform-style: preserve-3d;
  /* Keep your existing rotation keyframes but slow the duration (see Section 3) */
  animation:
    cube-rotate var(--cube-rotate-speed, 32s) linear infinite,
    cube-bob    var(--cube-bob-speed, 6.5s) ease-in-out infinite;
  will-change: transform;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,.15));
}

/* Provide perspective from a parent stacking context */
#dice-bg {
  perspective: 1200px;
}

/* Each face sized to the cube; we’ll make it a filled dice, not wireframe */
#dice-bg .face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fff;                /* dice body */
  border: 2px solid rgba(0,0,0,.08);
  border-radius: 12px;
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.03),
    0 1px 10px rgba(0,0,0,.06);
  backface-visibility: hidden;
}

/* Faces positioned around the cube */
#dice-bg .face--front  { transform: translateZ(calc(var(--cube-size) / 2)); }
#dice-bg .face--back   { transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2)); }
#dice-bg .face--right  { transform: rotateY(90deg)  translateZ(calc(var(--cube-size) / 2)); }
#dice-bg .face--left   { transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2)); }
#dice-bg .face--top    { transform: rotateX(90deg)  translateZ(calc(var(--cube-size) / 2)); }
#dice-bg .face--bottom { transform: rotateX(-90deg) translateZ(calc(var(--cube-size) / 2)); }

/* --- Dice pips (dots) -------------------------------------------------- */
/* Use CSS radial-gradients so we don’t need extra markup. */
#dice-bg .face {
  background-color: #fff;
  background-size: 18% 18%;
  background-repeat: no-repeat;
}

/* 1: center */
#dice-bg .face--front  { background-image:
  radial-gradient(circle, #111 0 45%, transparent 46% 100%);
  background-position: 50% 50%;
}

/* 2: top-left & bottom-right */
#dice-bg .face--back   { background-image:
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%);
  background-position: 25% 25%, 75% 75%;
}

/* 3: diag + center */
#dice-bg .face--right  { background-image:
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%);
  background-position: 25% 25%, 50% 50%, 75% 75%;
}

/* 4: corners */
#dice-bg .face--left   { background-image:
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%);
  background-position: 25% 25%, 75% 25%, 25% 75%, 75% 75%;
}

/* 5: corners + center */
#dice-bg .face--top    { background-image:
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%);
  background-position: 25% 25%, 75% 25%, 50% 50%, 25% 75%, 75% 75%;
}

/* 6: three left & three right */
#dice-bg .face--bottom { background-image:
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%),
  radial-gradient(circle, #111 0 45%, transparent 46% 100%);
  background-position: 30% 20%, 30% 50%, 30% 80%, 70% 20%, 70% 50%, 70% 80%;
  background-size: 14% 14%; /* slightly smaller pips for six */
}

/* Keep your current rotate path but slow with duration in the .cube3d animation */
@keyframes cube-rotate {
  from { transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg); }
  to   { transform: rotateX(360deg) rotateY(0deg)   rotateZ(-360deg); }
}

/* Gentle up-down motion (mirrors the dodecahedron float vibe) */
@keyframes cube-bob {
  0%   { transform: translateY(0)      rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) rotateZ(var(--rz, 0)); }
  50%  { transform: translateY(-3.5vmin) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) rotateZ(var(--rz, 0)); }
  100% { transform: translateY(0)      rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) rotateZ(var(--rz, 0)); }
}

/* Optional: if you want a tiny initial tilt toward the viewer */
#dice-bg .cube3d { transform: rotateX(var(--cube-tilt)) rotateY(0deg); }
:root {
  --cube-rotate-speed: 100s;  /* increase for slower, decrease for faster */
  --cube-bob-speed: 7s;      /* up/down tempo */
}

}
/* Position: massive, responsive, top-right */
.dice-scene{
  --size: clamp(200px, 30vw, 600px);
  --half: calc(var(--size) / 2);
  position: fixed;
  top: max(12px, 2vh);
  right: max(12px, 2vw);
  width: var(--size);
  height: var(--size);
  z-index: 2;

  /* Perspective so all faces show (fix for “only 1 side visible”) */
  perspective: 1200px;
  perspective-origin: 80% 30%;
  pointer-events: none; /* purely decorative */
}
/* Position: massive, responsive, top-right */
.dice-scene-small{
  --size: clamp(100px, 15vw, 300px);
  --half: calc(var(--size) / 2);
  position: fixed;
  top: max(12px, 2vh);
  right: max(12px, 2vw);
  width: var(--size);
  height: var(--size);
  z-index: 2;

  /* Perspective so all faces show (fix for “only 1 side visible”) */
  perspective: 1200px;
  perspective-origin: 80% 30%;
  pointer-events: none; /* purely decorative */
}
.dice-scene-smaller{
  --size: clamp(50px, 7.5vw, 150px);
  --half: calc(var(--size) / 2);
  position: fixed;
  top: max(12px, 2vh);
  right: max(12px, 2vw);
  width: var(--size);
  height: var(--size);
  z-index: 2;

  /* Perspective so all faces show (fix for “only 1 side visible”) */
  perspective: 1200px;
  perspective-origin: 80% 30%;
  pointer-events: none; /* purely decorative */
}
/* Vertical bobbing separated from rotation (mirrors dodecahedron float) */
.dice-bob{
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: dice-bob 4.2s ease-in-out infinite;
  will-change: transform;
}
/* Add this zoom keyframes */
@keyframes dice-zoom {
  0%, 100% {
    transform: scale(1); /* normal size */
  }
  50% {
    transform: scale(1.05); /* slight zoom in */
  }
}

/* Apply zoom together with rotation/bobbing */
.dice-scene {
  animation: 
    cube-rotate 20s linear infinite,
    dice-bob 6s ease-in-out infinite,
    dice-zoom 8s ease-in-out infinite; /* <-- new zoom */
}

.dice-scene-small {
  animation: 
    cube-rotate 20s linear infinite,
    dice-bob 6s ease-in-out infinite,
    dice-zoom 8s ease-in-out infinite; /* <-- new zoom */
}
.dice-scene-smaller {
  animation: 
    cube-rotate 20s linear infinite,
    dice-bob 6s ease-in-out infinite,
    dice-zoom 8s ease-in-out infinite; /* <-- new zoom */
}

/* The cube body */
.dice{
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d; /* critical! */
  transform-origin: center center;
  /* Symmetrical spin on all axes (fix for “only up/down”) */
  animation: cube-rotate-symmetric 50s linear infinite;
  will-change: transform;
}

/* Apply an orange outline to each dice face */
.dice .face {
  border: 2px solid orange;   /* thickness + color */
  box-sizing: border-box;     /* makes sure the border sits neatly */
box-shadow: 0 0 8px rgba(255,122,0,0.6); /* subtle orange glow */
  }

/* Faces */
.face{
  position: absolute;
  inset: 0;
  background: #1a1a1a;                 /* filled die, not wireframe */

  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.05),
    0 12px 30px rgba(0,0,0,0.18);
  backface-visibility: hidden;         /* avoid see-through text */
  display: grid; place-items: center;
}

/* Slight inset to avoid z-fighting */
.face::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.08);
  pointer-events: none;
}

/* Position each face half the cube size outward */
.face-1{ transform: translateZ(calc(var(--half) - 0.5px)); }                    /* front (1) */
.face-2{ transform: rotateY(180deg) translateZ(calc(var(--half) - 0.5px)); }    /* back (2) */
.face-3{ transform: rotateY(90deg) translateZ(calc(var(--half) - 0.5px)); }     /* right (3) */
.face-4{ transform: rotateY(-90deg) translateZ(calc(var(--half) - 0.5px)); }    /* left (4) */
.face-5{ transform: rotateX(90deg) translateZ(calc(var(--half) - 0.5px)); }     /* top (5) */
.face-6{ transform: rotateX(-90deg) translateZ(calc(var(--half) - 0.5px)); }    /* bottom (6) */

/* Pips (dice dots) */
.pips{
  --pip: clamp(18px, 2.5vw, 502px);
  width: var(--pip);
  height: var(--pip);
  background: #ff7a00;
  border-radius: 50%;
  position: absolute;
}
.pips-small{
  --pip: clamp(9px, 1.25vw, 251px);
  width: var(--pip);
  height: var(--pip);
  background: #ff7a00;
  border-radius: 50%;
  position: absolute;
}


/* Helpers */
@supports (display: grid) {
  .face{
    display: block; /* we'll manually place pips for classic layout */
  }
}

/* === Layout for each face’s pips === */

/* 1 */
.face-1 .pip-1{ top: 50%; left: 50%; transform: translate(-50%,-50%); }

/* 2 (diagonally opposite) */
.face-2 .pip-2a{ top: 22%; left: 22%; }
.face-2 .pip-2b{ bottom: 22%; right: 22%; }

/* 3 (diagonal + center) */
.face-3 .pip-3a{ top: 18%; left: 18%; }
.face-3 .pip-3b{ top: 50%; left: 50%; transform: translate(-50%,-50%); }
.face-3 .pip-3c{ bottom: 18%; right: 18%; }

/* 4 (corners) */
.face-4 .pip-4a{ top: 18%; left: 18%; }
.face-4 .pip-4b{ top: 18%; right: 18%; }
.face-4 .pip-4c{ bottom: 18%; left: 18%; }
.face-4 .pip-4d{ bottom: 18%; right: 18%; }

/* 5 (4 corners + center) */
.face-5 .pip-5a{ top: 18%; left: 18%; }
.face-5 .pip-5b{ top: 18%; right: 18%; }
.face-5 .pip-5c{ bottom: 18%; left: 18%; }
.face-5 .pip-5d{ bottom: 18%; right: 18%; }
.face-5 .pip-5e{ top: 50%; left: 50%; transform: translate(-50%,-50%); }

/* 6 (three per side) */
.face-6 .pip-6a{ top: 14%; left: 24%; }
.face-6 .pip-6b{ top: 50%; left: 24%; transform: translateY(-50%); }
.face-6 .pip-6c{ bottom: 14%; left: 24%; }
.face-6 .pip-6d{ top: 14%; right: 24%; }
.face-6 .pip-6e{ top: 50%; right: 24%; transform: translateY(-50%); }
.face-6 .pip-6f{ bottom: 14%; right: 24%; }

/* === Animations === */

/* Smooth symmetric rotation on all axes (no wobble bias) */
@keyframes cube-rotate-symmetric{
  0%   { transform: rotateX(0deg)   rotateY(0deg)   rotateZ(0deg); }
  50%  { transform: rotateX(180deg) rotateY(180deg) rotateZ(180deg); }
  100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* Gentle float/bob (mirrors dodecahedron’s up/down) */
@keyframes dice-bob{
  0%   { transform: translateY(0) }
  50%  { transform: translateY(-14px) }
  100% { transform: translateY(0) }
}

/* Optional: reduce motion for accessibility */
@media (prefers-reduced-motion: reduce){
  .dice, .dice-bob{ animation: none; }
}


/* === Global orange spotlight that follows the dice === */
/* Defaults; JS will keep these updated */
:root{
  --spot-x: 50vw;                 /* spotlight center X (viewport coords) */
  --spot-y: 80vh;                 /* spotlight center Y (viewport coords) */
  --spot-r: 80vmin;               /* radius of the orange ink */
  --spot-color: #ff7a00;          /* orange */


}


/* Apply to most inline text nodes sitewide (no manual classes needed) */
:where(h1,h2,h3,h4,h5,h6,p,li,a,span,strong,em,small,blockquote,label,button,dd,dt,figcaption){
  /* Two layers:
     1) Radial orange that’s transparent outside the circle
     2) Solid currentColor as the base (your normal text color)
     We clip both to text so only glyphs get filled, not backgrounds. */
  background-image:
    radial-gradient(circle at var(--spot-x) var(--spot-y),
      var(--spot-color) 0,
      var(--spot-color) calc(var(--spot-r) - 1px),
      transparent var(--spot-r)
    ),
    linear-gradient(currentColor, currentColor);
  -webkit-background-clip: text, text;
  background-clip: text, text;

  /* Keep the base color outside the spotlight by stacking two bg layers.
     We make the text transparent so the backgrounds become the ink. */
  -webkit-text-fill-color: transparent;
  color: inherit;

  /* Keep the spotlight fixed to the viewport as you scroll */
  background-attachment: fixed, fixed;
}

/* -------------------------------------------

dodecahedron

------------------------------------------- */
.mil-animation-frame {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  -webkit-animation: jump 10s linear infinite;
          animation: jump 10s linear infinite;
  pointer-events: none;
}

.mil-animation {
  position: absolute;
  display: inline-block;
  width: 300px;
  height: 300px;
  opacity: 0.2;
  pointer-events: none;
}

.mil-position-1 {
  top: 100px;
  right: 100px;
}
.mil-position-1 .mil-pentagon div {
  border-top: 0.1px solid rgb(255, 255, 255);
}

.mil-position-2 {
  top: -60px;
  left: 15%;
}
.mil-position-2 .mil-pentagon div {
  border-top: 1px solid rgb(255, 255, 255);
}
.mil-position-2 .mil-dodecahedron {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
@media screen and (max-width: 1400px) {
  .mil-position-2 {
    display: none;
  }
}

.mil-position-3 {
  bottom: 1px;
  right: 65%;
}
.mil-position-3 .mil-pentagon div {
  border-top: 1px solid rgb(255, 255, 255);
}
.mil-position-3 .mil-dodecahedron {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
@media screen and (max-width: 1400px) {
  .mil-position-3 {
    display: none;
  }
}

.mil-position-4 {
  top: -60px;
  right: 20%;
}
.mil-position-4 .mil-pentagon div {
  border-top: 0.1px solid rgb(255, 255, 255);
}
.mil-position-4 .mil-dodecahedron {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
@media screen and (max-width: 1400px) {
  .mil-position-4 {
    display: none;
  }
}
.mil-position-4.mil-dark .mil-pentagon div {
  border-top: 0.1px solid rgb(0, 0, 0);
}

.mil-dodecahedron {
  position: relative;
  left: 100px;
  top: 40px;
  width: 100px;
  height: 223px;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-animation: rotate 100s infinite linear;
          animation: rotate 100s infinite linear;
}
@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg);
            transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg);
  }
  to {
    -webkit-transform: rotateX(360deg) rotateY(0deg) rotateZ(-360deg);
            transform: rotateX(360deg) rotateY(0deg) rotateZ(-360deg);
  }
}
@keyframes rotate {
  from {
    -webkit-transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg);
            transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg);
  }
  to {
    -webkit-transform: rotateX(360deg) rotateY(0deg) rotateZ(-360deg);
            transform: rotateX(360deg) rotateY(0deg) rotateZ(-360deg);
  }
}

.mil-pentagon {
  position: absolute;
  width: 100px;
}
.mil-pentagon:nth-child(1) {
  -webkit-transform: rotateY(0.2turn) translateZ(69px) rotateX(26.5deg);
          transform: rotateY(0.2turn) translateZ(69px) rotateX(26.5deg);
}
.mil-pentagon:nth-child(6) {
  bottom: 0;
  -webkit-transform: rotateY(0.2turn) translateZ(-69px) rotateX(206.5deg);
          transform: rotateY(0.2turn) translateZ(-69px) rotateX(206.5deg);
}
.mil-pentagon:nth-child(2) {
  -webkit-transform: rotateY(0.4turn) translateZ(69px) rotateX(26.5deg);
          transform: rotateY(0.4turn) translateZ(69px) rotateX(26.5deg);
}
.mil-pentagon:nth-child(7) {
  bottom: 0;
  -webkit-transform: rotateY(0.4turn) translateZ(-69px) rotateX(206.5deg);
          transform: rotateY(0.4turn) translateZ(-69px) rotateX(206.5deg);
}
.mil-pentagon:nth-child(3) {
  -webkit-transform: rotateY(0.6turn) translateZ(69px) rotateX(26.5deg);
          transform: rotateY(0.6turn) translateZ(69px) rotateX(26.5deg);
}
.mil-pentagon:nth-child(8) {
  bottom: 0;
  -webkit-transform: rotateY(0.6turn) translateZ(-69px) rotateX(206.5deg);
          transform: rotateY(0.6turn) translateZ(-69px) rotateX(206.5deg);
}
.mil-pentagon:nth-child(4) {
  -webkit-transform: rotateY(0.8turn) translateZ(69px) rotateX(26.5deg);
          transform: rotateY(0.8turn) translateZ(69px) rotateX(26.5deg);
}
.mil-pentagon:nth-child(9) {
  bottom: 0;
  -webkit-transform: rotateY(0.8turn) translateZ(-69px) rotateX(206.5deg);
          transform: rotateY(0.8turn) translateZ(-69px) rotateX(206.5deg);
}
.mil-pentagon:nth-child(5) {
  -webkit-transform: rotateY(1turn) translateZ(69px) rotateX(26.5deg);
          transform: rotateY(1turn) translateZ(69px) rotateX(26.5deg);
}
.mil-pentagon:nth-child(10) {
  bottom: 0;
  -webkit-transform: rotateY(1turn) translateZ(-69px) rotateX(206.5deg);
          transform: rotateY(1turn) translateZ(-69px) rotateX(206.5deg);
}
.mil-pentagon:nth-child(11) {
  -webkit-transform: translateZ(69px) rotateX(-90deg);
          transform: translateZ(69px) rotateX(-90deg);
}
.mil-pentagon:nth-child(12) {
  bottom: 0;
  -webkit-transform: translateZ(-69px) rotateX(90deg);
          transform: translateZ(-69px) rotateX(90deg);
}
.mil-pentagon div {
  position: absolute;
  width: 100px;
  height: 69px;
  -webkit-transform-origin: bottom;
          transform-origin: bottom;
}
.mil-pentagon div:nth-child(1) {
  -webkit-transform: rotate(0.2turn);
          transform: rotate(0.2turn);
}
.mil-pentagon div:nth-child(2) {
  -webkit-transform: rotate(0.4turn);
          transform: rotate(0.4turn);
}
.mil-pentagon div:nth-child(3) {
  -webkit-transform: rotate(0.6turn);
          transform: rotate(0.6turn);
}
.mil-pentagon div:nth-child(4) {
  -webkit-transform: rotate(0.8turn);
          transform: rotate(0.8turn);
}
.mil-pentagon div:nth-child(5) {
  -webkit-transform: rotate(1turn);
          transform: rotate(1turn);
}

@-webkit-keyframes jump {
  0% {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
  50% {
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
}

@keyframes jump {
  0% {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
  50% {
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
}

.dice-story2 {
  perspective: 1000px;
  margin: 2rem 0;
  text-align: center;
}

.dice2 {
  width: 250px;
  height: 250px;
  margin: 0 auto;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateDice 12s infinite linear;
}

.dice2 .face2 {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  color: #ff7a00; /* orange accent */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  font-size: 1.1rem;
  border: 2px solid #ff7a00;
  border-radius: 12px;
}

/* Positioning 4 visible faces */
.dice2 .face2:nth-child(1) { transform: rotateY(  0deg) translateZ(125px); }
.dice2 .face2:nth-child(2) { transform: rotateY( 90deg) translateZ(125px); }
.dice2 .face2:nth-child(3) { transform: rotateY(180deg) translateZ(125px); }
.dice2 .face2:nth-child(4) { transform: rotateY(-90deg) translateZ(125px); }

/* Dice rotation animation */
@keyframes rotateDice {
  0%   { transform: rotateY(0deg); }
  25%  { transform: rotateY(-90deg); }
  50%  { transform: rotateY(-180deg); }
  75%  { transform: rotateY(-270deg); }
  100% { transform: rotateY(-360deg); }
}



/* --- Our Story: synced reveal with dice --- */

.dice-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.dice-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0.75rem 0;
}

/* The rotating dice icon */
.dice-bullet {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  animation: dice-spin 3.5s linear infinite;
  transform-origin: 50% 50%;
  /* inherit text color so it matches your theme/spotlight effect */
  color: currentColor;
}

/* styling the SVG parts */
.dice-bullet rect {
  fill: none;             /* outline cube look */
  stroke: currentColor;
  stroke-width: 2;
}

.dice-bullet circle {
  fill: currentColor;
}

/* spin animation */
@keyframes dice-spin {
  0%   { transform: rotateZ(0deg); }
  100% { transform: rotateZ(360deg); }
}

/* carousel */
.carousel{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* default for desktop */
    transition: object-position 0.6s ease, transform 0.6s ease;
}

/* On smaller screens, focus the right-hand side of the image */
@media screen and (max-width: 1024px) {
    .carousel .list .item img {
        object-position: right center;
         transition: object-position 0.8s ease-in-out;
    }
}

.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
    color: #c87337;
}
.carousel .list .item .title,
.carousel .list .item .topic{
    font-size: 4em;
    font-weight: bold;
    line-height: 1.3em;
    font-family: ojuju;
}
.carousel .list .item .topic{
    color: #f1683a;
}


/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.thumbnail .item .content .title{
    font-weight: 500;
}
.thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 90%;
    right: 60%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* Modern smooth fade and slide animation for text */
.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .distraction-btn
{
    transform: translateY(30px) scale(0.95);
    filter: blur(10px);
    opacity: 0;
    animation: modernSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

@keyframes modernSlideIn{
    0%{
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px) scale(1);
        filter: blur(0px);
        opacity: 1;
    }
}

.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 0.7s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 0.9s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.1s!important;
}
.carousel .list .item:nth-child(1) .content .distraction-btn{
    animation-delay: 1.3s!important;
}

/* Smooth expand animation for next image */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: smoothExpand 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes smoothExpand{
    0%{
        bottom: 50px;
        left: 50%;
        width: 150px;
        height: 220px;
        border-radius: 30px;
        transform: scale(1);
        opacity: 1;
    }
    50%{
        transform: scale(1.1);
    }
    100%{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        transform: scale(1);
        opacity: 1;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .distraction-btn
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
}

.distraction-btn {
    position: relative;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10%;
    width: max-content;
    height: max-content;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #c87337 0%, #e73f20 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 
        0 4px 15px rgba(200, 115, 55, 0.4),
        0 0 0 0 rgba(200, 115, 55, 0.5);
    animation: pulse-glow 2s infinite;
    z-index: 1;
}

.distraction-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.distraction-btn:hover::before {
    left: 100%;
}

.distraction-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(200, 115, 55, 0.6),
        0 0 30px rgba(200, 115, 55, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.distraction-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 
        0 4px 15px rgba(200, 115, 55, 0.5);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 4px 15px rgba(200, 115, 55, 0.4),
            0 0 0 0 rgba(200, 115, 55, 0.5);
    }
    50% {
        box-shadow: 
            0 4px 20px rgba(200, 115, 55, 0.6),
            0 0 20px 5px rgba(200, 115, 55, 0.3);
    }
}

