@charset "UTF-8";
/* ===================================================================
 *
 *  Waldo Main Stylesheet
 *  Template Ver. 1.0.0
 *  07-01-2025
 *
 * ------------------------------------------------------------------
 *
 *  TOC:
 *  # SETTINGS
 *      ## font families
 *      ## colors
 *      ## shadows
 *      ## easing functions
 *      ## spacing, radius and typescale
 *      ## type variables
 *      ## grid variables
 *  # CSS RESET
 *  # GRID
 *      ## extra large devices (1201px and above)
 *      ## large devices (1001px to 1200px)
 *      ## medium devices (801px to 1000px)
 *      ## tablet devices (601px to 800px)
 *      ## mobile devices (401px to 600px)
 *      ## small mobile devices (up to 400px)
 *      ## additional column stackpoints
 *  # CSS GRID Layout Tools
 *      ## Grid Block
 *      ## grid columns
 *  # BASE SETUP
 *  # UTILITY CLASSES
 *  # TYPOGRAPHY
 *      ## base type styles
 *      ## additional typography & helper 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
 *  # PROJECT-SPECIFIC STYLES
 *      ## section title
 *      ## info list
 *  # PAGE WRAP
 *  # SITE HEADER
 *      ## brand
 *      ## main navigation
 *      ## mobile menu toggle
 *  # INTRO
 *      ## intro content
 *      ## intro scroll down
 *      ## intro transitions
 *  # PROFILE
 *      ## about profile
 *      ## profile block
 *      ## stats
 *  # WORKS
 *      ## portfolio item
 *      ## modal
 *  # FOOTER
 *      ## back to top
 *      ## copyright
 *
 *
 * ------------------------------------------------------------------ */


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

/* -------------------------------------------------------------------
 * ## font families
 * ------------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Antonio:wght@100..700&family=Instrument+Serif:ital@0;1&family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap");

:root {

  /* font-families
   */
    --font-1   : "Roboto Flex", Sans-Serif;
    --font-2   : "Instrument Serif", Serif;
    --font-3   : "Antonio", Sans-Serif;
    --font-mono: Consolas, "Andale Mono", Courier, "Courier New", monospace;
}

/* -------------------------------------------------------------------
 * ## colors
 * ------------------------------------------------------------------- */

:root {

  /* theme colors
   * generated using
   * Tailwind CSS Color Generator
   * (https://uicolors.app/generate/)
   *
   * color-1 (#c16b49)
   * color-2 (#588f5d)
   */
    --color-1-50                  : #fbf6f1;
    --color-1-100                 : #f5e9df;
    --color-1-200                 : #ead0be;
    --color-1-300                 : #dcb095;
    --color-1-400                 : #cd8a6a;
    --color-1-500                 : #c16b49;
    --color-1-600                 : #b45b42;
    --color-1-700                 : #964738;
    --color-1-800                 : #793b33;
    --color-1-900                 : #62332c;
    --color-1-950                 : #351815;
    --color-1                     : var(--color-1-500);

    --color-2-50                  : #f4f9f5;
    --color-2-100                 : #e7f1e7;
    --color-2-200                 : #cfe3d1;
    --color-2-300                 : #a9ccad;
    --color-2-400                 : #7bad7f;
    --color-2-500                 : #588f5d;
    --color-2-600                 : #4b7e50;
    --color-2-700                 : #395c3d;
    --color-2-800                 : #304b33;
    --color-2-900                 : #293e2b;
    --color-2-950                 : #132014;
    --color-2                     : var(--color-2-500);

  /* neutrals
   * generated using
   * Tint & Shade Generator
   * (https://maketintsandshades.com/)
   */
    --color-neutral-50            : #f9f9f9;
    --color-neutral-100           : #f2f4f2;
    --color-neutral-150           : #eceeec;
    --color-neutral-200           : #e5e8e5;
    --color-neutral-250           : #dfe3df;
    --color-neutral-300           : #d8ddd8;
    --color-neutral-350           : #d2d7d2;
    --color-neutral-400           : #cbd1cb;
    --color-neutral-450           : #c5ccc5;
    --color-neutral-500           : #bec6be;
    --color-neutral-550           : #abb2ab;
    --color-neutral-600           : #989e98;
    --color-neutral-650           : #858b85;
    --color-neutral-700           : #727772;
    --color-neutral-750           : #5f635f;
    --color-neutral-800           : #4c4f4c;
    --color-neutral-850           : #393b39;
    --color-neutral-900           : #262826;
    --color-neutral-950           : #141514;
    --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 colors
   * color-error(#ffd1d2), color-success(#c8e675),
   * color-info(#d7ecfb), color-notice(#fff099)
   */
    --color-error                 : hsl(359, 100%, 91%);
    --color-success               : hsl(76, 69%, 68%);
    --color-info                  : hsl(205, 82%, 91%);
    --color-notice                : hsl(51, 100%, 80%);
    --color-error-content         : hsl(359, 50%, 50%);
    --color-success-content       : hsl(76, 29%, 28%);
    --color-info-content          : hsl(205, 32%, 31%);
    --color-notice-content        : hsl(51, 30%, 30%);

  /* background,surface and border colors
   */
    --color-bg                    : var(--color-neutral-50);
    --color-bg-inverse            : var(--color-neutral-950);
    --color-bg-primary            : var(--color-1-500);
    --color-bg-primary-light      : var(--color-1-400);
    --color-bg-primary-dark       : var(--color-1-600);
    --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-bg-primary);
    --color-bg-accent-light       : var(--color-bg-primary-light);
    --color-bg-accent-dark        : var(--color-bg-primary-dark);
    --color-bg-neutral            : var(--color-neutral-200);
    --color-bg-neutral-light      : var(--color-neutral-100);
    --color-bg-neutral-dark       : var(--color-neutral-350);
    --color-border                : var(--color-neutral-300);

  /* text
   */
    --color-text                  : var(--color-neutral-850);
    --color-text-bold             : var(--color-neutral-650);
    --color-text-light            : var(--color-neutral-650);
    --color-headings              : var(--color-neutral-950);
    --color-placeholder           : var(--color-neutral-600);

  /* link
   */
    --color-link                  : var(--color-bg-accent);
    --color-link-hover            : var(--color-bg-secondary);
    --color-link-active           : var(--color-bg-secondary);

  /* buttons
   */
    --color-btn                   : var(--color-text);
    --color-btn-text              : var(--color-white);
    --color-btn-hover             : var(--color-bg-accent);
    --color-btn-hover-text        : var(--color-white);
    --color-btn-primary           : var(--color-bg-accent);
    --color-btn-primary-text      : var(--color-white);
    --color-btn-primary-hover     : var(--color-bg-accent-dark);
    --color-btn-primary-hover-text: var(--color-white);
    --color-btn-ghost             : var(--color-text);
    --color-btn-ghost-text        : var(--color-text);
    --color-btn-ghost-hover       : var(--color-text);
    --color-btn-ghost-hover-text  : var(--color-white);

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

/* -------------------------------------------------------------------
 * ## 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.
 *
 * Feel free to experiment with different values to
 * find what works best for your layout.
 */
@media screen and (max-width: 600px) {
    :root {
        --multiplier: .9375;
    }
}

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

/* -------------------------------------------------------------------
 * ## type variables
 * ------------------------------------------------------------------- */
:root {

  /* type-assignments
   */
    --type-body                    : var(--font-1);
    --type-headings                : var(--font-1);
    --type-headings-alt            : var(--font-1);
    --type-all-caps                : var(--font-1);
    --type-quote                   : var(--font-2);
    --type-lead                    : var(--font-2);
    --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.4;
    --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         : 500;
    --type-weight-headings-alt     : 600;
    --type-weight-all-caps         : 600;
    --type-weight-quote            : 400;
    --type-weight-lead             : 400;
    --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.03em;
    --type-spacing-headlines-alt   : -0.02em;

  /* 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(2.4rem, calc((2.4rem - .5rem) + 1vw), var(--text-xl));
    --type-size-lead               : clamp(2.4rem, calc((2.4rem - .5rem) + 1vw), var(--text-xl));
    --type-size-caption            : var(--text-xs);
    --type-size-drop-cap           : var(--vspace-3);
    --type-size-code               : var(--text-xs);
}

/* -------------------------------------------------------------------
 * ## grid variables
 * ------------------------------------------------------------------- */
:root {

  /* widths for rows and 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);
}

/* ====================================================================
 * # CSS RESET
 *
 *
 * --------------------------------------------------------------------
 * http://meyerweb.com/eric/tools/css/reset/
 * v2.0 | 20110126
 * License: none (public domain)
 * -------------------------------------------------------------------- */
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(92%, 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);
}

.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: 500px) {
    .stack-on-500 {
        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-sr-hidden {
    width      : 1px;
    height     : 1px;
    padding    : 0;
    margin     : -1px;
    overflow   : hidden;
    clip       : rect(0, 0, 0, 0);
    white-space: nowrap;
    border     : 0;
    position   : absolute;
}

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

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_25);
}

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) var(--vspace-1_25);
    border-left: 2px solid var(--color-text);
    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-headings);
    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-dark);
    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 & helper 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);
    color      : var(--color-headings);
    text-wrap: balance;
}

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

/* --------------------------------------------------------------------
 * ## 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-secondary);
    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-base) * 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-text);
    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-md);

    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;
    padding        : 0 var(--vspace-2);
    position       : relative;
}

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

.pgn__num {
    font-family  : var(--type-body);
    font-weight  : 500;
    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-text);
    color     : var(--color-white);
}

.pgn .current,
.pgn .current:focus,
.pgn .current:hover {
    background: var(--color-text);
    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-text);
}

.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:focus svg path,
.pgn__prev:hover svg path,
.pgn__next:focus svg path,
.pgn__next:hover svg path {
    fill: var(--color-white);
}

.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;
    pointer-events: auto;
    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;
    pointer-events: none;
    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-dark);
    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-headings);
    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-dark);
    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-dark, 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-bg-secondary);
}

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


/* ===================================================================
 * # PROJECT-SPECIFIC STYLES
 *
 *
 * -------------------------------------------------------------------
 * Contains project-specific styles, including theme-related classes,
 * custom components, plugin style overrides, and any other styles not
 * covered by the base settings or core components.
 *
 * ------------------------------------------------------------------- */
.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 title
 * ------------------------------------------------------------------- */
.section-title {
    --color-line  : var(--color-neutral-500);

    display       : flex;
    gap           : var(--vspace-0_25);
    align-items   : center;
    margin-top    : 0;
    font-family   : var(--font-3);
    font-weight   : 400;
    font-size     : var(--text-lg);
    text-transform: uppercase;
    line-height   : 1;
    color         : var(--color-bg-accent);
    margin-bottom : var(--vspace-1);
}

.section-title::before {
    display       : block;
    content       : attr(data-num);
    letter-spacing: -0.05em;
    color         : var(--color-bg-accent);
    order         : -1;
}

.section-title::after {
    display         : block;
    content         : "";
    height          : 1px;
    width           : var(--vspace-0_5);
    background-color: var(--color-line);
    order           : -1;
}

/* -------------------------------------------------------------------
 * ## info list
 * ------------------------------------------------------------------- */
.info-list--services {
    border-top : 2px solid var(--color-border);
    padding-top: var(--vspace-0_25);
}

.info-card {
    margin-bottom: var(--vspace-0_5);
}

.info-card__header {
    margin-bottom: var(--vspace-0_25);
}

.info-card__title {
    margin-top: 0;
}

.info-card__entity,
.info-card__date {
    font-size    : var(--text-sm);
    line-height  : var(--vspace-0_875);
    color        : var(--color-text-light);
    margin-bottom: 0;
}

.info-card--services {
    padding      : var(--vspace-1) 0 var(--vspace-1);
    border-bottom: 1px solid var(--color-border);
}

.info-card--services .info-card__desc {
    margin-bottom: 1rem;
}


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

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

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

/* ===================================================================
 * # SITE HEADER
 *
 *
 * ------------------------------------------------------------------- */
.s-header {
    --header-height        : 7.2rem;
    --navlink-color        : var(--color-text-light);
    --navlink-color-current: var(--color-text);

    z-index                : 100;
    font-size              : var(--text-sm);
    line-height            : var(--vspace-1);
    height                 : var(--header-height);
    width                  : 100%;
    background-color       : transparent;
    position               : absolute;
    top                    : var(--vspace-0_75);
    left                   : 0;
}

.s-header.is-visible {
    --header-height           : var(--vspace-3);

    transition-property       : transform;
    transition-duration       : 0.6s;
    transition-timing-function: var(--ease-quick-out);
    background-color          : rgba(19, 20, 19, 0.9);
    backdrop-filter           : blur(120px);
    -webkit-backdrop-filter   : blur(120px);
    border-bottom             : 1px solid rgba(229, 232, 229, 0.05);
    box-shadow                : var(--shadow-low);
    position                  : fixed;
    top                       : 0;
}

.s-header.is-hidden {
    transform: translateY(-100%);
}

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

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

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

.header-brand__link {
    display    : flex;
    align-items: center;
    gap        : calc(var(--vspace-0_25) + 0.4rem);
    margin     : 0;
    padding    : 0;
    outline    : 0;
    border     : none;
}

.header-brand__avatar {
    width         : var(--vspace-1_5);
    border-radius : var(--radius-full);
    margin        : 0;
    vertical-align: bottom;
}

.header-brand__text {
    font-family   : var(--font-3);
    font-weight   : 400;
    font-size     : var(--vspace-0_875);
    line-height   : 1;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    color         : var(--navlink-color-current);
    mix-blend-mode: exclusion;
}

.is-visible {
    --navlink-color        : var(--color-neutral-700);
    --navlink-color-current: var(--color-bg-neutral);
}

.is-visible .header-brand__avatar {
    width: var(--vspace-1_25);
}

.is-visible .header-brand__text {
    font-weight: 200;
}

.menu-is-open .is-visible {
    --navlink-color-current: var(--color-text);
}

.menu-is-open .is-visible .header-brand__text {
    font-weight: 400;
}

/* --------------------------------------------------------------------
 * ## main navigation
 * -------------------------------------------------------------------- */
.header-nav__links {
    list-style: none;
    display   : inline-flex;
    flex-flow : row nowrap;
    margin    : 0;
    padding   : 0 0 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(--navlink-color);
    padding-inline     : 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(--navlink-color-current);
}

.header-nav__links .current a {
    font-weight: 500;
    color      : var(--navlink-color-current);
}

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

    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));
}

.is-visible .header-menu-toggle {
    --toggle-line-color: var(--color-bg-neutral);
}

.header-menu-toggle span {
    display         : block;
    background-color: var(--toggle-line-color);
    width           : var(--toggle-line-width);
    height          : var(--toggle-line-height);
    margin-top      : -1px;
    font            : 0/0 a;
    text-shadow     : none;
    color           : transparent;
    transition      : transform 0.4s;
    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      : transform 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: transparent;
    transition      : all 0.1s;
}

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

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

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

.is-visible .header-menu-toggle.is-clicked span {
    --toggle-line-color: var(--color-black);
}

/* -------------------------------------------------------------------
 * responsive:
 * site-header
 * ------------------------------------------------------------------- */
@media screen and (max-width: 900px) {
    .s-header {
        --header-height: 80px;
        top            : var(--vspace-0_375);
    }

    .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-brand__avatar {
        width: 4.4rem;
    }

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

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

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

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

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

    .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;
        pointer-events  : auto;
        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));
    }
}


/* ===================================================================
 * # INTRO
 *
 *
 * ------------------------------------------------------------------- */
.s-intro {
    position: relative;
}

.s-intro__inner {
    --content-padding-top   : var(--vspace-6);
    --content-padding-bottom: max(var(--vspace-5_5), 20vh);

    background-image        : url(../images/intro-bg.png);
    background-repeat       : no-repeat;
    background-position     : center top;
    background-size         : contain;
    z-index                 : 2;
    height                  : auto;
    position                : relative;
}

/* --------------------------------------------------------------------
 * ## intro content
 * -------------------------------------------------------------------- */
.intro-content-wrap {
    justify-content: center;
    padding-top    : var(--content-padding-top);
    padding-bottom : var(--content-padding-bottom);
    z-index        : 2;
    position       : relative;
}

.intro-content {
    display        : flex;
    flex-direction : column;
    justify-content: center;
    align-items    : center;
    text-align     : center;
    position       : relative;
}

.intro-content__overline {
    font-family   : var(--type-headings);
    font-weight   : 400;
    font-size     : var(--text-base);
    line-height   : 1.4;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color         : var(--color-text-light);
    padding-bottom: var(--vspace-1);
    margin-bottom : var(--vspace-1);
    width         : 70%;
    position      : relative;
}

.intro-content__overline::after {
    content         : "";
    display         : block;
    background-color: var(--color-neutral);
    height          : 1px;
    width           : var(--vspace-5);
    transform       : translate(-50%, 0);
    position        : absolute;
    left            : 50%;
    bottom          : 0%;
    z-index         : 2;
}

.intro-content__big-type {
    margin-top   : 0;
    margin-bottom: var(--vspace-1_75);
    width        : 98%;
}

.intro-content__big-type .intro-content__text:not(.u-sr-hidden) {
    font-family   : var(--font-3);
    font-weight   : 500;
    font-size     : clamp(var(--text-2xl), var(--text-2xl) - 1rem + 14vw, 28.8rem);
    line-height   : 1;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color         : var(--color-bg-accent);
}

.intro-content__big-type .intro-content__img-text {
    margin        : 0;
    vertical-align: bottom;
}

.intro-content__desc {
    width: min(98%, 920px);
}

/* --------------------------------------------------------------------
 * ## intro scroll down
 * -------------------------------------------------------------------- */
.intro-scroll {
    display        : flex;
    flex-direction : column;
    width          : var(--vspace-0_25);
    align-items    : center;
    color          : var(--color-text);
    text-decoration: none;
    z-index        : 2;
    position       : absolute;
    bottom         : calc(var(--vspace-3) * -1);
    right          : min(var(--vspace-1_5), 6vw);
}

.intro-scroll:focus,
.intro-scroll:hover {
    color: var(--color-text);
}

.intro-scroll__text {
    font-size     : var(--text-xs);
    font-weight   : 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space   : nowrap;
    color         : var(--color-text-light);
    transform     : translateX(-50%) rotate(-90deg);
    position      : absolute;
    top           : -40%;
    left          : 50%;
}

.intro-scroll__line {
    width           : 2px;
    height          : var(--vspace-4_5);
    background-color: var(--color-bg-accent);
    position        : relative;
}

/* --------------------------------------------------------------------
 * ## intro transitions
 * -------------------------------------------------------------------- */
.is-home .s-header__content,
.is-home .intro-content__overline,
.is-home .intro-content__big-type,
.is-home .intro-content__desc,
.is-home .intro-scroll {
    transition-timing-function: var(--ease-smooth-in-out);
    transition-duration       : 0.6s;
    transition-delay          : 0s;
    opacity                   : 0;
    visibility                : hidden;
    pointer-events            : none;
}

.is-home .s-header__content,
.is-home .intro-content__overline,
.is-home .intro-content__big-type,
.is-home .intro-content__desc,
.is-home .intro-scroll {
    transition-property: opacity, transform;
    transform          : translateY(60px);
}

.no-js .s-header__content,
.no-js .intro-content__overline,
.no-js .intro-content__big-type,
.no-js .intro-content__desc,
.no-js .intro-scroll,
.animate-fold .s-header__content,
.animate-fold .intro-content__overline,
.animate-fold .intro-content__big-type,
.animate-fold .intro-content__desc,
.animate-fold .intro-scroll {
    opacity       : 1;
    visibility    : visible;
    pointer-events: auto;
    transform     : translateY(0);
}

.no-js .s-header__content,
.animate-fold .s-header__content {
    transition-delay: 0s;
}

.no-js .intro-content__overline,
.animate-fold .intro-content__overline {
    transition-delay: 0.3s;
}

.no-js .intro-content__big-type,
.animate-fold .intro-content__big-type {
    transition-delay: 0.5s;
}

.no-js .intro-content__desc,
.animate-fold .intro-content__desc {
    transition-delay: 0.7s;
}

.no-js .intro-scroll,
.animate-fold .intro-scroll {
    transition-delay: 0.9s;
}

/* -------------------------------------------------------------------
 * responsive:
 * intro
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1000px) {
    .intro-content__overline {
        font-size     : var(--text-sm);
        padding-bottom: var(--vspace-0_75);
        margin-bottom : var(--vspace-0_75);
    }
}

@media screen and (max-width: 800px) {
    .intro-scroll {
        bottom: calc(var(--vspace-2) * -1);
    }

    .intro-scroll__text {
        top: -60%;
    }

    .intro-scroll__line {
        height: var(--vspace-3);
    }
}

@media screen and (max-width: 600px) {
    .s-intro__inner {
        --content-padding-bottom: max(var(--vspace-4), 16vh);
    }
}

@media screen and (max-width: 400px) {
    .intro-content__overline {
        font-size: calc(var(--text-base) * 0.8);
    }
}


/* ===================================================================
 * # PROFILE
 *
 *
 * ------------------------------------------------------------------- */

/* --------------------------------------------------------------------
 * ## about
 * -------------------------------------------------------------------- */
.s-about {
    --color-headings: var(--color-bg);
    --color-border  : var(--color-neutral-800);
    --color-text    : var(--color-neutral-400);

    padding-top     : var(--vspace-5);
    padding-bottom  : var(--vspace-5);
    background-color: var(--color-bg-inverse);
    color           : var(--color-text);
}

.s-about .section-title {
    --color-line: var(--color-neutral-800);
}

.s-about__header {
    grid-column: 1/-1;
}

.s-about__media {
    grid-column  : 1/span 5;
    grid-row     : 2/span 2;
    margin-bottom: var(--vspace-1_25);
}

.s-about__intro {
    grid-column: 7/span 6;
    grid-row   : 2/span 1;
}

.s-about__main {
    grid-column: 7/span 6;
    grid-row   : 3/span 1;
    width      : min(100%, 560px);
}

.s-about .lead {
    margin-bottom: var(--vspace-1);
}

.s-about .available-block-wrap {
    display        : flex;
    align-items    : center;
    justify-content: start;
    padding-inline : var(--vspace-0_25);
    margin-top     : var(--vspace-1_5);
    position       : relative;
}

.s-about .available-block-wrap::before {
    content         : "";
    display         : block;
    height          : 1px;
    width           : 100%;
    background-color: var(--color-neutral-850);
    position        : absolute;
    left            : 0;
    top             : 50%;
}

.s-about .available-block {
    z-index         : 2;
    display         : flex;
    align-items     : center;
    gap             : var(--vspace-0_375);
    font-size       : var(--text-sm);
    font-weight     : 500;
    line-height     : var(--vspace-0_625);
    color           : var(--color-text-light);
    padding         : var(--vspace-0_375) var(--vspace-0_5);
    background-color: var(--color-neutral-900);
    border-radius   : var(--radius-md);
    width           : -moz-fit-content;
    width           : fit-content;
}

.s-about .dot {
    flex-shrink     : 0;
    width           : 1.2rem;
    height          : 1.2rem;
    background-color: var(--color-bg-secondary);
    border-radius   : 50%;
    box-shadow      : 0 0 0 0 rgba(88, 143, 93, 0.5);
    animation       : pulse 2s infinite var(--ease-smooth-out);
    position        : relative;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(88, 143, 93, 0.5);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(88, 143, 93, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(88, 143, 93, 0);
    }
}

/* --------------------------------------------------------------------
 * ## about profile
 * -------------------------------------------------------------------- */
.about-profile-pic {
    width : 100%;
    margin: 0;
    border: 1px solid var(--color-neutral-850)
}

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

/* --------------------------------------------------------------------
 * ## profile block
 * -------------------------------------------------------------------- */
.s-profile-block {
    padding-top: var(--vspace-2);
}

.s-profile-block--start {
    padding-top: var(--vspace-5);
}

.s-profile-block--end {
    padding-bottom: var(--vspace-4);
}

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

/* --------------------------------------------------------------------
 * ## stats
 * -------------------------------------------------------------------- */
.stats-group {
    display  : flex;
    flex-wrap: wrap;
}

.stats-group .stat-item {
    flex : none;
    width: 50%;
}

.stat-item {
    display       : flex;
    flex-direction: column;
    gap           : var(--vspace-0_875);
    padding-left  : var(--vspace-0_625);
    margin-bottom : var(--vspace-1_5);
    border-left   : 2px solid var(--color-border);
    position      : relative;
}

.stat-item__value {
    font-family   : var(--font-3);
    font-weight   : 500;
    font-size     : var(--text-huge);
    letter-spacing: -0.035em;
    line-height   : 1;
    color         : var(--color-bg-accent);
}

.stat-item__label {
    font-size   : var(--text-base);
    font-weight : 400;
    line-height : var(--vspace-0_75);
    color       : var(--color-text-light);
    padding-left: var(--vspace-0_125);
}

/* -------------------------------------------------------------------
 * responsive:
 * profile
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .s-about__media {
        grid-column: 1/span 4;
    }

    .s-about__intro {
        grid-column: 5/span 8;
    }

    .s-about__main {
        grid-column: 5/span 8;
    }
}

@media screen and (max-width: 1000px) {
    .s-about__media {
        grid-column: 1/span 4;
        grid-row   : 2/span 1;
    }

    .s-about__intro {
        grid-column: 5/span 8;
    }

    .s-about__main {
        grid-column: 1/-1;
        grid-row   : 3/span 1;
        width      : auto;
    }
}

@media screen and (max-width: 800px) {
    .s-about__media {
        grid-column: 1/span 3;
        grid-row   : 2/span 1;
    }

    .s-about__intro {
        grid-column: 4/span 5;
    }

    .s-about__main {
        grid-column: 1/-1;
        grid-row   : 3/span 1;
        width      : auto;
    }
}

@media screen and (max-width: 600px) {
    .s-about .grid-block__item {
        grid-column: 1/-1;
        grid-row   : auto;
    }

    .s-about .available-block-wrap {
        justify-content: center;
    }

    .stat-item__value {
        font-size: var(--text-3display);
    }
}

@media screen and (max-width: 500px) {
    .stat-item {
        padding-left: var(--vspace-0_5);
    }

    .stat-item__value {
        font-size: var(--text-2display);
    }
}

@media screen and (max-width: 360px) {
    .stats-group .stat-item {
        width: 100%;
    }

    .stat-item {
        margin-bottom: var(--vspace-1);
    }

    .stat-item__value {
        font-size: var(--text-3display);
    }
}


/* ===================================================================
 * # WORKS
 *
 *
 * ------------------------------------------------------------------- */
.s-works {
    padding-top     : var(--vspace-5);
    padding-bottom  : var(--vspace-6);
    background-color: var(--color-bg-neutral-light);
}

.s-works__header {
    margin-bottom: var(--vspace-2);
}

.s-works__header-start {
    padding-top: var(--vspace-0_375);
}

/* --------------------------------------------------------------------
 * ## portfolio item
 * -------------------------------------------------------------------- */
.portfolio-group-wrap {
    --width-grid-max: calc(var(--width-default) + (var(--gutter) * 4));
}

.portfolio-group {
    --grid-gap-v: 0;
    --grid-gap-h: 0;
}

.portfolio-item {
    overflow    : hidden;
    aspect-ratio: 1/1;
    position    : relative;
}

.portfolio-item:nth-child(1) {
    grid-column     : 1/span 6;
    grid-row        : 1/span 2;
    background-color: var(--color-bg-neutral);
}

.portfolio-item:nth-child(2) {
    grid-column     : 7/span 3;
    background-color: var(--color-bg-neutral);
}

.portfolio-item:nth-child(3) {
    grid-column     : 10/span 3;
    background-color: var(--color-bg-neutral);
}

.portfolio-item:nth-child(4) {
    grid-column     : 7/span 3;
    background-color: var(--color-bg-neutral);
}

.portfolio-item:nth-child(5) {
    grid-column     : 10/span 3;
    background-color: var(--color-bg-neutral);
}

.portfolio-item__link {
    display        : flex;
    justify-content: center;
    align-items    : center;
    text-decoration: none;
    position       : absolute;
    top            : 0;
    left           : 0;
    right          : 0;
    bottom         : 0;
    width          : 100%;
    height         : 100%;
}

.portfolio-item__link::before {
    z-index         : 2;
    content         : "";
    display         : block;
    position        : absolute;
    top             : 0;
    left            : 0;
    right           : 0;
    bottom          : 0;
    width           : 100%;
    height          : 100%;
    background-color: rgba(19, 20, 19, 0.9);
    opacity         : 0;
    visibility      : hidden;
    pointer-events  : none;
    transition      : opacity 0.6s var(--ease-smooth);
}

.portfolio-item__link .portfolio-item__title {
    z-index         : 2;
    font-family     : var(--font-2);
    font-weight     : 400;
    font-size       : var(--text-md);
    line-height     : 1.2;
    color           : var(--color-bg);
    padding         : var(--vspace-1);
    transform       : scale(0);
    transform-origin: center;
    transition      : transform 0.6s var(--ease-smooth);
}

.portfolio-item__link:hover::before,
.portfolio-item__link:focus::before {
    opacity       : 1;
    visibility    : visible;
    pointer-events: auto;
}

.portfolio-item__link:hover .portfolio-item__title,
.portfolio-item__link:focus .portfolio-item__title {
    transform: scale(1);
    text-wrap: balance;
    text-align: center;
}

.portfolio-item__link:hover .portfolio-item__thumbnail,
.portfolio-item__link:focus .portfolio-item__thumbnail {
    transform: scale(1.025);
}

.portfolio-item__thumbnail {
    position     : absolute;
    top          : 0;
    left         : 0;
    right        : 0;
    bottom       : 0;
    width        : 100%;
    height       : 100%;
    -o-object-fit: cover;
    object-fit   : cover;
    transition   : all 0.6s var(--ease-smooth);
}

.portfolio-item--featured .portfolio-item__title {
    font-size: var(--text-2xl);
}

.portfolio-item__details {
    display: none;
}

/* --------------------------------------------------------------------
 * ## modal
 * -------------------------------------------------------------------- */
.modal {
    --color-modal-text        : rgba(255, 255, 255, 0.5);
    --color-modal-bg          : var(--color-bg-inverse);
    --color-project-link-bg   : var(--color-neutral-850);
    --color-scroll-track      : var(--color-neutral-900);
    --color-scroll-thumb      : var(--color-neutral-800);
    --color-scroll-thumb-hover: var(--color-neutral-700);
    --color-border            : var(--color-neutral-900);

    z-index                   : 400;
    display                   : none;
    width                     : 100%;
    height                    : 100%;
    background                : rgba(0, 0, 0, 0);
    font-size                 : var(--text-sm);
    line-height               : var(--vspace-0_75);
    color                     : var(--color-modal-text);
    overflow-y                : auto;
    transition                : background 0.3s var(--ease-smooth-in-out);
    scrollbar-width           : thin;
    scrollbar-color           : var(--color-scroll-thumb) var(--color-scroll-track);
    position                  : fixed;
    top                       : 0;
    left                      : 0;
}

.modal p,
.modal ul {
    margin-bottom: var(--vspace-0_75);
}

/* scrollbars
 */
.modal::-webkit-scrollbar {
    width: 8px;
}

.modal::-webkit-scrollbar-track {
    background   : var(--color-scroll-track);
    border-radius: var(--radius-sm);
}

.modal::-webkit-scrollbar-thumb {
    background   : var(--color-scroll-thumb);
    border-radius: var(--radius-sm);
}

.modal::-webkit-scrollbar-thumb:hover {
    background: var(--color-scroll-thumb-hover);
}

/* modal content
 */
.modal__content {
    display       : flex;
    flex-direction: column;
    align-items   : center;
    width         : min(100%, 920px);
    margin        : max(var(--vspace-4), 10vh) auto;
    background    : transparent;
    position      : relative;
}

/* modal image container
 */
.modal__image-container {
    display       : flex;
    flex-direction: column;
    gap           : var(--vspace-1_5);
    padding       : 0;
    margin-bottom : var(--vspace-1);
    background    : transparent;
    overflow      : hidden;
}

.image-wrapper {
    width       : 100%;
    max-width   : 100%;
    aspect-ratio: 3/2;
    overflow    : hidden;
    position    : relative;
}

.image-wrapper .loader {
    width           : var(--vspace-1);
    height          : var(--vspace-1);
    transform       : translate(-50%, -50%);
    border          : 2px solid var(--color-modal-text);
    border-top-color: transparent;
    border-radius   : 50%;
    animation       : spin 1s linear infinite;
    position        : absolute;
    top             : 50%;
    left            : 50%;
}

.image-wrapper img {
    display           : block;
    width             : 100%;
    height            : 100%;
    min-width         : 100%;
    min-height        : 100%;
    -o-object-fit     : cover;
    object-fit        : cover;
    -o-object-position: center;
    object-position   : center;
    opacity           : 0;
    transition        : opacity 0.3s var(--ease-smooth-in-out);
}

.image-wrapper img.loaded {
    opacity: 1;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* modal text container
 */
.modal__text-container {
    width         : min(100%, 800px);
    padding-inline: calc(var(--gutter) * 2);
}

.modal__text-container a {
    color: var(--color-bg-accent);
}

.modal__text-container a:hover,
.modal__text-container a:focus {
    color: var(--color-bg);
}

.modal__text-container a:focus {
    border-bottom: 1px dotted var(--color-border);
}

.modal__text-container .modal__title {
    font-family: var(--font-2);
    font-size  : var(--type-size-h3);
    color      : var(--color-bg);
    text-align : center;
    margin-top : 0;
}

.modal__text-container h5 {
    font-size     : var(--vspace-0_375);
    font-weight   : 300;
    color         : var(--color-bg);
    margin-top    : 0;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.modal__text-container ul {
    list-style : none;
    margin-left: 0;
}

.modal__text-container ul li {
    padding-left: 0;
    display     : inline;
}

.modal__text-container ul li:not(:last-child)::after {
    content: ", ";
}

/* close button icon
 */
button.modal__close-btn {
    width                     : var(--vspace-0_75);
    height                    : var(--vspace-0_75);
    margin                    : 0;
    padding                   : 0;
    background-color          : transparent;
    border                    : none;
    cursor                    : pointer;
    opacity                   : 0;
    transition-property       : opacity, transform;
    transition-duration       : 0.3s;
    transition-timing-function: var(--ease-smooth-in-out);
    position                  : absolute;
    top                       : var(--vspace-1);
    right                     : var(--vspace-1);
}

button.modal__close-btn::before,
button.modal__close-btn::after {
    content         : "";
    width           : var(--vspace-0_625);
    height          : 1px;
    background-color: var(--color-bg);
    transform-origin: center;
    position        : absolute;
    top             : 50%;
    left            : 50%;
}

button.modal__close-btn::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

button.modal__close-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

button.modal__close-btn:hover {
    transform: rotate(90deg);
}

/* modal info group
 */
.modal__info-group {
    --col-min-width: 200px;
    margin-top     : var(--vspace-1_5);
}

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

.modal__link-container {
    border: none;
}

.modal__link-container .modal__link {
    display         : inline-flex;
    align-items     : center;
    gap             : var(--vspace-0_125);
    font-size       : calc(var(--text-base) * 0.5);
    text-transform  : uppercase;
    letter-spacing  : 0.1em;
    color           : var(--color-bg);
    background-color: var(--color-project-link-bg);
    padding         : 0.2rem var(--vspace-0_375);
    border-radius   : var(--radius-sm);
}

.modal__link-container .modal__link svg {
    stroke    : var(--color-bg);
    width     : calc(var(--text-base) * 0.8);
    height    : calc(var(--text-base) * 0.8);
    transform : translate(0.2rem, 0);
    transition: stroke 0.3s var(--ease-snappy-polished);
}

.modal__link-container .modal__link:focus,
.modal__link-container .modal__link:hover {
    background-color: var(--color-bg);
    color           : var(--color-modal-bg);
}

.modal__link-container .modal__link:focus svg,
.modal__link-container .modal__link:hover svg {
    stroke: var(--color-modal-bg);
}

/* transition animation
 */
.modal__content,
.modal__image-container,
.modal__content .modal__title,
.modal__content .modal__description-text,
.modal__content .modal__info-group {
    opacity                   : 0;
    transform                 : translateY(20px);
    transition-property       : opacity, transform;
    transition-duration       : 0.3s;
    transition-timing-function: var(--ease-smooth-in-out);
}

.modal__image-container {
    transition-delay: 0.4s;
}

.modal__text-container .modal__title {
    transition-delay: 0.5s;
}

.modal__text-container .modal__description-text {
    transition-delay: 0.6s;
}

.modal__info-group {
    transition-delay: 0.7s;
}

/* reverse transition staggered effect
 */
.modal:not(.show) {
    transition-delay: 0.4s;  /* delay background fade on close */
}

.modal:not(.show) .modal__image-container {
    transition-delay: 0.3s;
}

.modal:not(.show) .modal__text-container .modal__title {
    transition-delay: 0.2s;
}

.modal:not(.show) .modal__text-container .modal__description-text {
    transition-delay: 0.1s;
}

.modal:not(.show) .modal__info-group {
    transition-delay: 0s;
}

/* show modal
 */
.modal.show {
    display         : block;
    background      : var(--color-modal-bg);
    transition-delay: 0s;  /* no delay on open */
}

.modal.show .modal__content,
.modal.show .modal__image-container,
.modal.show .modal__content .modal__title,
.modal.show .modal__content .modal__description-text,
.modal.show .modal__content .modal__info-group {
    opacity  : 1;
    transform: translateY(0);
}

.modal.show button.modal__close-btn {
    opacity: 1;
}

/* -------------------------------------------------------------------
 * responsive:
 * works
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1000px) {
    .portfolio-item__link .portfolio-item__title {
        font-size: var(--text-base);
    }

    .portfolio-item--featured .portfolio-item__title {
        font-size: var(--text-xl);
    }
}

@media screen and (max-width: 800px) {
    .portfolio-item:nth-child(1) {
        grid-column: 1/-1;
        grid-row   : 1/span 2;
    }

    .portfolio-item:nth-child(2) {
        grid-column: 1/span 4;
    }

    .portfolio-item:nth-child(3) {
        grid-column: 5/span 4;
    }

    .portfolio-item:nth-child(4) {
        grid-column: 1/span 4;
    }

    .portfolio-item:nth-child(5) {
        grid-column: 5/span 4;
    }

    .portfolio-item__link .portfolio-item__title {
        font-size: var(--text-md);
    }

    .portfolio-item--featured .portfolio-item__title {
        font-size: var(--text-2xl);
    }
}

@media screen and (max-width: 600px) {
    .portfolio-item:nth-child(1) {
        grid-column: 1/-1;
    }

    .portfolio-item:nth-child(2) {
        grid-column: 1/span 2;
    }

    .portfolio-item:nth-child(3) {
        grid-column: 3/span 2;
    }

    .portfolio-item:nth-child(4) {
        grid-column: 1/span 2;
    }

    .portfolio-item:nth-child(5) {
        grid-column: 3/span 2;
    }

    .portfolio-item__link .portfolio-item__title {
        font-size: var(--text-base);
    }

    .portfolio-item--featured .portfolio-item__title {
        font-size: var(--text-xl);
    }
}

@media screen and (max-width: 400px) {
    .s-works {
        padding-top   : var(--vspace-4);
        padding-bottom: var(--vspace-5);
    }
}


/* ===================================================================
 * # FOOTER
 *
 *
 * ------------------------------------------------------------------- */
.s-footer {
    padding-top   : var(--vspace-4);
    padding-bottom: var(--vspace-2);
}

.s-footer__top,
.s-footer__bottom {
    justify-content: space-between;
}

.s-footer__top-end {
    padding-top: var(--vspace-0_125);
}

.s-footer .footer-overline {
    font-weight  : 400;
    font-size    : var(--text-base);
    margin-top   : 0;
    margin-bottom: var(--vspace-0_25);
    margin-left  : var(--vspace-0_125);
    color        : var(--color-text-light);
}

.s-footer .footer-title {
    font-family  : var(--font-1);
    font-weight  : var(--type-weight-body-bold);
    font-size    : var(--text-base);
    margin-top   : 0;
    margin-bottom: var(--vspace-0_125);
}

.s-footer__bottom {
    align-items: center;
    font-size  : var(--text-sm);
    padding-top: var(--vspace-0_5);
    margin-top : var(--vspace-2);
    color      : var(--color-text);
    position   : relative;
}

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

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

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

.footer-buttons {
    display   : flex;
    margin-top: var(--vspace-1_25);
}

.footer-block a {
    display      : inline-block;
    color        : var(--color-text);
    border-bottom: 1px solid var(--color-bg-neutral-dark);
}

.footer-block a:focus,
.footer-block a:hover {
    color        : var(--color-bg-accent);
    border-bottom: 1px solid var(--color-bg-accent);
}

.footer-social {
    /*display   : flex;*/
    /*flex-wrap : wrap;*/
    list-style: none;
    margin    : 0;
    width     : min(100%, 40rem);
}

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

/* -------------------------------------------------------------------
 * ## back to top
 * ------------------------------------------------------------------- */
.ss-back-to-top {
    margin-bottom: 0;
}

.ss-back-to-top__link {
    display        : inline-flex;
    flex-direction : row;
    align-items    : center;
    gap            : var(--vspace-0_375);
    text-decoration: none;
    border         : none;
    width          : -moz-fit-content;
    width          : fit-content;
}

.ss-back-to-top__link:hover .ss-back-to-top__text::after,
.ss-back-to-top__link:focus .ss-back-to-top__text::after {
    transform: scaleX(1);
}

.ss-back-to-top__link:hover .ss-back-to-top__icon,
.ss-back-to-top__link:focus .ss-back-to-top__icon {
    background-color: var(--color-headings);
}

.ss-back-to-top__link:hover .ss-back-to-top__icon svg,
.ss-back-to-top__link:focus .ss-back-to-top__icon svg {
    stroke: var(--color-bg);
}

.ss-back-to-top__text {
    display       : inline-block;
    font-weight   : 500;
    font-size     : var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color         : var(--color-text);
    position      : relative;
}

.ss-back-to-top__text::after {
    content         : "";
    width           : 100%;
    height          : 1px;
    background-color: var(--color-bg-accent);
    transform       : scaleX(0);
    transform-origin: left;
    transition      : transform 0.3s var(--ease-snappy-polished);
    position        : absolute;
    left            : 0;
    bottom          : 0;
}

.ss-back-to-top__icon {
    display         : flex;
    justify-content : center;
    align-items     : center;
    width           : var(--vspace-0_875);
    height          : var(--vspace-0_875);
    background-color: var(--color-bg-neutral-dark);
    transition      : background-color 0.3s var(--ease-snappy-polished);
    border-radius   : var(--radius-full);
}

.ss-back-to-top__icon svg {
    height    : var(--vspace-0_5);
    width     : var(--vspace-0_5);
    stroke    : var(--color-text);
    transition: stroke 0.3s var(--ease-snappy-polished);
}

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

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

/* -------------------------------------------------------------------
 * responsive:
 * footer
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1000px) {
    .s-footer__top-end {
        margin-top: var(--vspace-2);
    }

    .s-footer__bottom {
        margin-top: var(--vspace-1);
    }

    .footer-buttons {
        gap: var(--gutter);
    }

    .footer-buttons .btn {
        flex: 1;
    }
}

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

    .s-footer__bottom-start,
    .s-footer__bottom-end {
        width: auto;
    }

    .ss-copyright span {
        display: block;
    }

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

    .ss-back-to-top__text {
        display: none;
    }

    .ss-back-to-top__icon {
        width : var(--vspace-1_25);
        height: var(--vspace-1_25);
    }

    .ss-back-to-top__icon svg {
        height: var(--vspace-0_75);
        width : var(--vspace-0_75);
    }
}

@media screen and (max-width: 600px) {
    .footer-buttons {
        flex-direction: column;
        gap           : 0;
    }

    .s-footer__bottom-end {
        text-align: right;
    }
}
