@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset */
html, body, div, span, button, h1, h2, h3, p, a, ul, li, footer {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

body {
    -webkit-text-size-adjust: none;
    background: #1a1e26; /* Dark gray background */
    color: #f5f5f5; /* Off-white text */
    font-family: 'Roboto', system-ui, sans-serif;
    font-size: 15pt;
    font-weight: 400;
    letter-spacing: 0.075em;
    line-height: 1.65em;
}

@media screen and (max-width: 1680px) {
    body {
        font-size: 13pt;
    }
}

@media screen and (max-width: 1280px) {
    body {
        font-size: 12pt;
    }
}

@media screen and (max-width: 736px) {
    body {
        font-size: 11pt;
        letter-spacing: 0.025em;
    }
}

/* Typography */
a {
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
    border-bottom: 1px dotted #b0b8c2; /* Light gray */
    color: #f5f5f5;
    text-decoration: none;
}

a:hover {
    border-bottom-color: transparent;
    color: #ff6b6b !important; /* Coral */
}

h1, h2, h3 {
    color: #f5f5f5;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.2em;
    margin: 0 0 1em 0;
    text-transform: uppercase;
}

h2 {
    font-size: 1.5em;
    line-height: 1.75em;
}

@media screen and (max-width: 736px) {
    h2 {
        font-size: 1.2em;
        line-height: 1.65em;
    }
}

h3 {
    font-size: 1em;
    line-height: 1.75em;
}

p {
    margin: 0 0 2em 0;
    color: #b0b8c2; /* Light gray for secondary text */
}

/* Grid System */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    align-items: stretch;
}

.grid-container > * {
    box-sizing: border-box;
}

.grid-container > .span-12 {
    width: 100%;
}

/* Header */
header.prominent h2 {
    border-bottom: 2px solid #4a4a4a; /* Dark gray border */
    display: inline-block;
    padding-bottom: 0.5em;
}

header p {
    color: #b0b8c2;
}

/* Button */
.button {
    appearance: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    background-color: transparent;
    border-radius: 4px;
    border: 2px solid #f5f5f5;
    color: #f5f5f5;
    cursor: pointer;
    display: inline-block;
    font-size: 0.8em;
    font-weight: 700;
    height: 3em;
    letter-spacing: 0.15em;
    line-height: 3em;
    padding: 0 2em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.button:hover {
    background-color: #ff6b6b; /* Coral */
    border-color: #ff6b6b;
    color: #fff !important;
}

.button.primary {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
}

.button.primary:hover {
    background-color: #ff8c8c; /* Lighter coral */
}

/* Actions */
ul.actions {
    display: flex;
    cursor: default;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.actions li {
    padding: 0 1em 0 0;
    vertical-align: middle;
}

/* Icons */
ul.icons-list {
    cursor: default;
    list-style: none;
    padding: 0;
}

ul.icons-list li {
    display: inline-block;
    padding: 0 1em 0 0;
}

ul.icons-list a {
    color: #b0b8c2;
    font-size: 1.2em;
    border-bottom: none;
}

ul.icons-list a:hover {
    color: #ff6b6b;
}

/* Page Container */
#page-container {
    transition: opacity 0.5s ease;
    opacity: 1;
    padding-top: 4em;
}

body.is-nav-visible #page-container {
    opacity: 0.35;
}

body.is-nav-visible #page-container:before {
    display: block;
}

/* Sidebar Navigation */
#sidebar-nav {
    transform: translateX(100%); /* Move fully off-screen */
    transition: transform 0.5s ease, visibility 0.5s ease;
    visibility: hidden; /* Hide completely */
    -webkit-overflow-scrolling: touch;
    background: #4a5ae9; /* Indigo */
    color: #f5f5f5;
    height: 100%;
    max-width: 80%;
    overflow-y: auto;
    padding: 2em 1.5em;
    position: fixed;
    right: 0;
    top: 0;
    width: 18em; /* Narrower */
    z-index: 10002;
}

body.is-nav-visible #sidebar-nav {
    transform: translateX(0);
    visibility: visible; /* Show when active */
}

#sidebar-nav h3 {
    margin-bottom: 1em;
    font-size: 1.2em;
    color: #f5f5f5;
}

#sidebar-nav ul {
    list-style: none;
    padding: 0;
}

#sidebar-nav ul > li {
    margin: 0.5em 0;
}

#sidebar-nav ul > li > a {
    border: 0;
    color: #f5f5f5;
    display: block;
    font-size: 0.9em;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
}

#sidebar-nav ul > li > a:hover {
    color: #ff6b6b;
}

#sidebar-nav .close {
    background: none;
    border: 0;
    cursor: pointer;
    display: block;
    height: 3em;
    position: absolute;
    right: 0;
    top: 0;
    width: 7em;
}

#sidebar-nav .close:after {
    content: '✕';
    font-size: 1.5em;
    color: #f5f5f5;
}

/* Site Header */
#site-header {
    transition: background-color 0.2s ease;
    background: rgba(26, 30, 38, 0.9); /* Slightly transparent dark gray */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    height: 4em;
    left: 0;
    line-height: 4em;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

#site-header h1 {
    height: inherit;
    left: 1.25em;
    line-height: inherit;
    position: absolute;
    top: 0;
}

#site-header h1 a {
    border: 0;
    color: #f5f5f5;
    display: block;
    height: inherit;
    line-height: inherit;
    font-size: 1.2em;
}

#site-header nav {
    height: inherit;
    line-height: inherit;
    position: absolute;
    right: 0;
    top: 0;
}

#site-header nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#site-header nav > ul > li {
    display: inline-block;
    padding: 0;
}

#site-header nav > ul > li > a {
    border: 0;
    color: #f5f5f5;
    display: block;
    font-size: 0.8em;
    letter-spacing: 0.15em;
    padding: 0 1.5em;
    text-transform: uppercase;
}

#site-header nav > ul > li > a.nav-toggle:after {
    content: '☰';
    display: inline-block;
    height: 3.75em;
    vertical-align: top;
    width: 2em;
    color: #f5f5f5;
}

#site-header.transparent {
    background: transparent;
    box-shadow: none;
}

#site-header.transparent h1 {
    opacity: 0;
}

/* Hero */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: default;
    background: linear-gradient(rgba(74, 90, 233, 0.7), rgba(255, 107, 107, 0.7)); /* Gradient only, no image */
    height: 80vh; /* Reduced height */
    min-height: 25em;
    overflow: hidden;
    position: relative;
    text-align: center;
    padding: 4em 2em;
}

#hero h2 {
    transform: scale(1);
    transition: transform 0.5s ease, opacity 0.5s ease;
    font-size: 2em;
    opacity: 1;
    padding: 0.35em 1em;
    position: relative;
    z-index: 1;
}

#hero h2:before, #hero h2:after {
    transition: width 0.85s ease;
    transition-delay: 0.25s;
    background: #f5f5f5;
    content: '';
    display: block;
    height: 2px;
    position: absolute;
    width: 100%;
}

#hero h2:before {
    top: 0;
    left: 0;
}

#hero h2:after {
    bottom: 0;
    right: 0;
}

#hero p {
    color: #f5f5f5;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

#hero:after {
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    content: '';
    background: #1a1e26;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

@media screen and (max-width: 736px) {
    #hero {
        height: 60vh;
        min-height: 20em;
        padding: 3em 1.5em;
    }

    #hero h2 {
        font-size: 1.5em;
    }
}

body.is-loading #hero h2 {
    transform: scale(1.05);
    opacity: 0;
}

body.is-loading #hero h2:before, body.is-loading #hero h2:after {
    width: 0;
}

body.is-loading #hero:after {
    opacity: 1;
}

/* Container */
.container {
    padding: 4em 0;
}

.container > .inner {
    width: 60em;
    margin: 0 auto;
}

@media screen and (max-width: 1280px) {
    .container > .inner {
        width: 90%;
    }
}

@media screen and (max-width: 980px) {
    .container > .inner {
        width: 100%;
    }
}

/* Footer */
#footer {
    background: #1a1e26;
    padding: 3em 0;
    text-align: center;
}

#footer .inner {
    width: 60em;
    margin: 0 auto;
}

@media screen and (max-width: 1280px) {
    #footer .inner {
        width: 90%;
    }
}

@media screen and (max-width: 980px) {
    #footer .inner {
        width: 100%;
    }
}

#footer .copyright {
    margin-top: 1em;
}

#footer .copyright li {
    color: #b0b8c2;
    display: inline-block;
    font-size: 0.8em;
    letter-spacing: 0.15em;
    margin: 0 0.5em;
}

/* Text Alignment */
.text-center {
    text-align: center;
}