/* =================================================================== 
 *
 * base.css
 * --------
 * Font declarations, body styles, typography, links, focus states,
 * forms, spacing, preloader, pace.js, and classes introduced
 * during Phase 2 HTML refactoring.
 *
 * TOC:
 *  # font declarations
 *  # base overrides
 *  # typography
 *      ## headings
 *      ## body text
 *      ## lists
 *      ## blockquote / code / tables
 *      ## misc type
 *  # links and focus
 *  # forms
 *  # spacing
 *  # pace.js
 *  # preloader
 *  # phase-2 additions
 *
 * =================================================================== */


/* ===================================================================
 * # font declarations
 * ------------------------------------------------------------------- */
@font-face {
    font-family: "Ubuntu";
    src: url("../fonts/ubuntu/ubuntu-regular-webfont.woff2") format("woff2"),
         url("../fonts/ubuntu/ubuntu-regular-webfont.woff")  format("woff");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat/montserrat-medium-webfont.woff2") format("woff2"),
         url("../fonts/montserrat/montserrat-medium-webfont.woff")  format("woff");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}


/* ===================================================================
 * # base overrides
 * ------------------------------------------------------------------- */
html {
    font-size: 10px;
}

@media only screen and (max-width: 400px) {
    html {
        font-size: 9.411764705882353px;
    }
}

html,
body {
    height: 100%;
}

body {
    background: #fff;
    font-family: "Ubuntu", sans-serif;
    font-size: 1.7rem;
    font-style: normal;
    font-weight: normal;
    line-height: 1.765;
    color: #333;
    margin: 0;
    padding: 0;
}


/* ===================================================================
 * # typography
 * ------------------------------------------------------------------- */

/* ------------------------------------------------------------------- 
 * ## headings
 * ------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
    color: #000000;
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
    margin-top: 6rem;
    margin-bottom: 1.8rem;
}

@media only screen and (max-width: 600px) {
    h1,
    h2,
    h3,
    h4 {
        margin-top: 5.1rem;
    }
}

h5,
h6 {
    margin-top: 4.2rem;
    margin-bottom: 1.5rem;
}

@media only screen and (max-width: 600px) {
    h5,
    h6 {
        margin-top: 3.6rem;
        margin-bottom: 0.9rem;
    }
}

h1 {
    font-size: 3.6rem;
    line-height: 1.25;
    letter-spacing: -0.1rem;
}

@media only screen and (max-width: 600px) {
    h1 {
        font-size: 3.3rem;
        letter-spacing: -0.07rem;
    }
}

h2 {
    font-size: 3rem;
    line-height: 1.3;
}

h3 {
    font-size: 2.4rem;
    line-height: 1.25;
}

h4 {
    font-size: 2.1rem;
    line-height: 1.286;
}

h5 {
    font-size: 1.6rem;
    line-height: 1.313;
}

h6 {
    font-size: 1.3rem;
    line-height: 1.385;
    text-transform: uppercase;
    letter-spacing: 0.16rem;
}


/* ------------------------------------------------------------------- 
 * ## body text
 * ------------------------------------------------------------------- */
p img {
    margin: 0;
}

p.lead {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 3.6rem;
    color: #000000;
}

@media only screen and (max-width: 800px) {
    p.lead {
        font-size: 1.8rem;
    }
}

em,
i,
strong,
b {
    font-size: inherit;
    line-height: inherit;
    font-style: normal;
    font-weight: normal;
}

em,
i {
    font-family: "Ubuntu", sans-serif;
    font-style: italic;
}

strong,
b {
    font-family: "Ubuntu", sans-serif;
    font-weight: bold;
}

small {
    font-size: 1.2rem;
    line-height: inherit;
}

abbr {
    font-family: "Ubuntu", sans-serif;
    font-variant: small-caps;
    font-weight: bold;
    text-transform: lowercase;
    letter-spacing: 0.05rem;
    color: #828282;
}

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

mark {
    background: #ffd900;
    color: #000000;
}

del {
    text-decoration: line-through;
}

hr {
    border: solid rgba(0, 0, 0, 0.1);
    border-width: 1px 0 0;
    clear: both;
    margin: 2.4rem 0 1.5rem;
    height: 0;
}


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

ul {
    list-style: disc;
}

li {
    display: list-item;
}

ol,
ul {
    margin-left: 1.7rem;
}

ul li {
    padding-left: 0.4rem;
}

ul ul,
ul ol,
ol ol,
ol ul {
    margin: 0.6rem 0 0.6rem 1.7rem;
}

ul.disc li {
    display: list-item;
    list-style: none;
    padding: 0 0 0 0.8rem;
    position: relative;
}

ul.disc li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff99cc;
    position: absolute;
    left: -17px;
    top: 11px;
    vertical-align: middle;
}

dt {
    margin: 0;
    color: #ff99cc;
}

dd {
    margin: 0 0 0 2rem;
}


/* ------------------------------------------------------------------- 
 * ## blockquote / code / tables
 * ------------------------------------------------------------------- */
blockquote {
    margin: 3.9rem 0;
    padding-left: 4.5rem;
    position: relative;
}

blockquote::before {
    content: "\201C";
    font-size: 10rem;
    line-height: 0;
    margin: 0;
    color: rgba(0, 0, 0, 0.25);
    font-family: arial, sans-serif;
    position: absolute;
    top: 3.6rem;
    left: 0;
}

blockquote p {
    font-family: "Montserrat", sans-serif;
    padding: 0;
    font-size: 2.1rem;
    line-height: 1.857;
    color: #111111;
}

blockquote cite {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    font-style: normal;
    line-height: 1.5;
}

blockquote cite::before {
    content: "\2014 \0020";
}

blockquote cite a,
blockquote cite a:visited {
    color: #828282;
    border: none;
}

var,
kbd,
samp,
code,
pre {
    font-family: Consolas, "Andale Mono", Courier, "Courier New", monospace;
}

pre {
    padding: 2.4rem 3rem 3rem;
    background: #f1f1f1;
    overflow-x: auto;
}

code {
    font-size: 1.4rem;
    margin: 0 0.2rem;
    padding: 0.3rem 0.6rem;
    white-space: nowrap;
    background: #f1f1f1;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
}

pre > code {
    display: block;
    white-space: pre;
    line-height: 2;
    padding: 0;
    margin: 0;
}

pre.prettyprint > code {
    border: none;
}

table {
    border-width: 0;
    width: 100%;
    max-width: 100%;
    font-family: "Ubuntu", sans-serif;
}

th,
td {
    padding: 1.5rem 3rem;
    text-align: left;
    border-bottom: 1px solid #e8e8e8;
}

th {
    color: #000000;
    font-family: "Montserrat", sans-serif;
}

td {
    line-height: 1.5;
}

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

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

.table-responsive {
    overflow-x: auto;
}


/* ------------------------------------------------------------------- 
 * ## misc type
 * ------------------------------------------------------------------- */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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

img.pull-right {
    margin: 1.5rem 0 0 3rem;
}

img.pull-left {
    margin: 1.5rem 3rem 0 0;
}


/* ===================================================================
 * # links and focus
 * ------------------------------------------------------------------- */
a {
    color: #ee3d96;
    transition: all 0.3s ease-in-out;
}

/* Accessible focus indicator — replaces the removed outline: 0 rules */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #ee3d96;
    outline-offset: 3px;
}


/* ===================================================================
 * # forms
 * ------------------------------------------------------------------- */
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 {
    display: block;
    height: 6rem;
    padding: 1.5rem 0;
    border: 0;
    outline: none;
    color: #333333;
    font-family: "montserrat-light", sans-serif;
    font-size: 1.4rem;
    line-height: 3rem;
    max-width: 100%;
    background: transparent;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

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

.cl-custom-select select {
    appearance: none;
    text-indent: 0.01px;
    text-overflow: "";
    margin: 0;
    line-height: 3rem;
    vertical-align: middle;
}

.cl-custom-select select option {
    padding-left: 2rem;
    padding-right: 2rem;
}

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

.cl-custom-select::after {
    border-bottom: 2px solid rgba(0, 0, 0, 0.5);
    border-right: 2px solid rgba(0, 0, 0, 0.5);
    content: "";
    display: block;
    height: 8px;
    width: 8px;
    margin-top: -7px;
    pointer-events: none;
    position: absolute;
    right: 2.4rem;
    top: 50%;
    transform-origin: 66% 66%;
    transform: rotate(45deg);
    transition: all 0.15s ease-in-out;
}

textarea {
    min-height: 25rem;
}

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: #000000;
    border-bottom: 2px solid black;
}

label,
legend {
    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.9rem;
    line-height: 1.714;
    color: #000000;
    display: block;
}

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

label > .label-text {
    display: inline-block;
    margin-left: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: normal;
    line-height: inherit;
}

label > input[type="checkbox"],
label > input[type="radio"] {
    margin: 0;
    position: relative;
    top: 0.15rem;
}

/* placeholder text */
::placeholder {
    color: #828282;
}

/* Chrome autofill override */
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: #ff99cc;
    transition: background-color 5000s ease-in-out 0s;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}


/* ===================================================================
 * # spacing
 * ------------------------------------------------------------------- */
button,
.btn {
    margin-bottom: 1.2rem;
}

fieldset {
    margin-bottom: 1.5rem;
}

input,
textarea,
select,
pre,
blockquote,
figure,
table,
p,
ul,
ol,
dl,
form,
.video-container,
.cl-custom-select {
    margin-bottom: 3rem;
}


/* ===================================================================
 * # pace.js — minimal progress bar styles
 * ------------------------------------------------------------------- */
.pace {
    pointer-events: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background: #ff99cc;
    position: fixed;
    z-index: 900;
    top: 0;
    right: 100%;
    width: 100%;
    height: 4px;
}

.oldie .pace {
    display: none;
}


/* ===================================================================
 * # preloader
 * ------------------------------------------------------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #050505;
    z-index: 800;
    height: 100%;
    width: 100%;
    display: table;
}

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

#loader {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.spinner {
    margin: 100px auto;
    width: 40px;
    height: 40px;
    position: relative;
}

.cube1,
.cube2 {
    background-color: #ff99cc;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 0;
    left: 0;
    animation: sk-cubemove 1.8s infinite ease-in-out;
}

.cube2 {
    animation-delay: -0.9s;
}

@keyframes sk-cubemove {
    25% {
        transform: translateX(42px) rotate(-90deg) scale(0.5);
    }
    50% {
        transform: translateX(42px) translateY(42px) rotate(-179deg);
    }
    50.1% {
        transform: translateX(42px) translateY(42px) rotate(-180deg);
    }
    75% {
        transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    }
    100% {
        transform: rotate(-360deg);
    }
}


/* ===================================================================
 * # phase-2 additions
 * These classes were introduced during HTML refactoring (Phase 2).
 * ------------------------------------------------------------------- */

/* Skip navigation link — visually hidden until focused */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.8rem 1.6rem;
    background: #ee3d96;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Hero tagline paragraph — replaced <small> inside <h1> */
.home-content__tagline {
    font-family: "Montserrat", sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 1.2rem 6px;
    line-height: 1.5;
}

/* Hero lead paragraph — replaced inline style */
.home-content__lead {
    color: #cecece;
    font-size: large;
    margin-top: 1.2rem;
    margin-bottom: 0;
}

/* Nav panel label — replaced <h3> inside <nav> */
.header-nav__title {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    margin-bottom: 4.8rem;
    margin-top: 0.9rem;
    color: #ff99cc;
}
