/* === variables.css === */
/* =============================================================
   CSS Custom Properties — www.amnestic.org
   Extracted from the live site's assets/css/main.css.
   Every repeated colour, font, and spacing value is captured here.
   ============================================================= */

:root {
    /* ----- Colours: brand & interactive ----- */
    --color-primary: #43b3e0;
    --color-primary-hover: #43bff0;
    --color-primary-active: #3ba8d3;

    --color-text: #595959;
    --color-heading: #3e3e3e;
    --color-strong: #3e3e3e;

    /* ----- Navigation ----- */
    --color-nav-bg: #282828;
    --color-nav-hover: #383838;
    --color-nav-active: #484848;

    /* ----- Backgrounds ----- */
    --color-bg-white: #fff;
    --color-bg-light: #fafafa;
    --color-bg-grey: #f4f4f4;
    --color-bg-dark: #303030;

    /* ----- Dark section ----- */
    --color-dark-text: #999;
    --color-dark-text-shadow: #181818;
    --color-dark-heading: #fff;

    /* ----- Buttons (alt) ----- */
    --color-btn-alt-bg: #444;
    --color-btn-alt-hover: #4f4f4f;
    --color-btn-alt-active: #3f3f3f;
    --color-btn-alt-shadow: #242424;

    /* ----- Borders ----- */
    --color-border-light: #eee;
    --color-border-input: #ddd;

    /* ----- Form ----- */
    --color-input-text: #bbb;
    --color-input-placeholder: #555;
    --color-input-focus-bg: #fafafa;
    --color-dark-input-bg: #282828;
    --color-dark-input-focus: #252525;

    /* ----- Social icons ----- */
    --color-social-text: #2e2e2e;
    --color-social-shadow: rgba(255, 255, 255, 0.1);

    /* ----- Misc ----- */
    --color-copyright: #666;
    --color-copyright-hover: #777;
    --color-icon-featured: #ea8a95;

    /* ----- Shadows (preserved as-is) ----- */
    --shadow-box: 0px 2px 3px 0px rgba(0, 0, 0, 0.1);
    --shadow-box-inset: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.15);
    --shadow-btn:
        inset 0px 0px 0px 1px rgba(0, 0, 0, 0.5),
        inset 0px 2px 1px 0px rgba(255, 255, 255, 0.75);
    --shadow-input:
        inset 0px 2px 3px 1px rgba(0, 0, 0, 0.05),
        0px 1px 0px 0px rgba(255, 255, 255, 0.025);
    --shadow-input-focus:
        inset 0px 2px 5px 0px rgba(0, 0, 0, 0.05),
        0px 1px 0px 0px rgba(255, 255, 255, 0.025),
        inset 0px 0px 2px 1px #43bff0;
    --shadow-wrapper:
        inset 0px 1px 0px 0px rgba(0, 0, 0, 0.05),
        inset 0px 2px 3px 0px rgba(0, 0, 0, 0.1);

    /* ----- Typography ----- */
    --font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-bold: 600;
    --font-weight-heavy: 700;

    /* ----- Font sizes ----- */
    --font-size-body: 13pt;
    --font-size-body-large: 11pt;
    --font-size-body-small: 10pt;
    --font-size-h1: 3.25em;
    --font-size-h1-small: 2.25em;
    --font-size-h2: 2em;
    --font-size-h3: 1.5em;
    --font-size-lead: 1.25em;
    --font-size-button: 1.1em;
    --font-size-button-small: 1.2em;
    --font-size-button-large: 1.5em;
    --font-size-icon: 1.25em;
    --font-size-icon-featured: 6em;
    --font-size-social: 26px;

    /* ----- Line heights ----- */
    --line-height-body: 1.85em;
    --line-height-body-small: 1.75em;
    --line-height-h1-small: 1.25em;
    --line-height-nav: 3.5em;

    /* ----- Spacing ----- */
    --spacing-section: 8em;
    --spacing-section-large: 5em;
    --spacing-section-small: 3em;
    --spacing-element: 2em;
    --spacing-element-half: 1em;
    --spacing-element-small: 0.75em;
    --spacing-element-xs: 0.5em;
    --spacing-hr: 3em;
    --spacing-button-x: 2.35em;
    --spacing-button-y: 1em;
    --spacing-nav-x: 1.25em;

    /* ----- Nav ----- */
    --nav-height: 3.5em;
    --nav-height-small: 44px;

    /* ----- Border radius ----- */
    --border-radius: 8px;
    --border-radius-social: 6px;

    /* ----- Layout ----- */
    --container-max-width: 1200px;
    --container-gutter: 50px;
    --container-gutter-small: 30px;
}

/* === reset.css === */
/* =============================================================
   Reset & Base — www.amnestic.org
   Ported from the live site's assets/css/main.css.
   ============================================================= */

/* ----- Element reset ----- */
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;
}

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

mark {
    background-color: transparent;
    color: inherit;
}

/* ----- Input appearance ----- */
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input,
select,
textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

/* ----- Box-sizing ----- */
html {
    box-sizing: border-box;
}

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

/* ----- Body baseline ----- */
body {
    -webkit-text-size-adjust: none;
    padding-top: var(--nav-height);
    font-family: var(--font-family);
    line-height: var(--line-height-body);
    color: var(--color-text);
    font-weight: var(--font-weight-light);
    font-size: var(--font-size-body);
}

/* ----- Preload animation lock ----- */
body.is-preload *,
body.is-preload *::before,
body.is-preload *::after {
    -moz-animation: none !important;
    -webkit-animation: none !important;
    animation: none !important;
    -moz-transition: none !important;
    -webkit-transition: none !important;
    transition: none !important;
}

/* ----- Responsive font sizing ----- */
@media screen and (max-width: 1280px) {
    body,
    input,
    textarea,
    select {
        font-size: var(--font-size-body-large);
    }
}

@media screen and (max-width: 736px) {
    body {
        padding-top: var(--nav-height-small);
    }

    body,
    input,
    textarea,
    select {
        line-height: var(--line-height-body-small);
        font-size: var(--font-size-body-small);
        letter-spacing: 0;
    }
}

/* === layout.css === */
/* =============================================================
   Layout — www.amnestic.org
   Container, grid, wrappers.
   The 12-column grid is defined ONCE; breakpoint media queries
   only map breakpoint-specific class names to the same widths.
   ============================================================= */

/* ===========================================
   Container
   =========================================== */
.container {
    margin: 0 auto;
    max-width: calc(100% - var(--container-gutter));
    width: var(--container-max-width);
}

.container.medium {
    width: 900px;
}

@media screen and (max-width: 1680px) {
    .container {
        width: var(--container-max-width);
    }
    .container.medium {
        width: 900px;
    }
}

@media screen and (max-width: 1280px) {
    .container {
        width: 960px;
    }
    .container.medium {
        width: 720px;
    }
}

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

@media screen and (max-width: 736px) {
    .container {
        width: 100%;
        max-width: calc(100% - var(--container-gutter-small));
    }
    .container.medium {
        width: 100%;
    }
}

/* ===========================================
   Grid — base definition (once)
   =========================================== */
.row {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    align-items: stretch;
}

.row > * {
    box-sizing: border-box;
}

.row.gtr-uniform > * > :last-child {
    margin-bottom: 0;
}

/* Alignment */
.row.aln-left {
    justify-content: flex-start;
}
.row.aln-center {
    justify-content: center;
}
.row.aln-right {
    justify-content: flex-end;
}
.row.aln-top {
    align-items: flex-start;
}
.row.aln-middle {
    align-items: center;
}
.row.aln-bottom {
    align-items: flex-end;
}

/* Source ordering */
.row > .imp {
    order: -1;
}

/* ----- Column widths (base) ----- */
.row > .col-1 {
    width: 8.33333%;
}
.row > .col-2 {
    width: 16.66667%;
}
.row > .col-3 {
    width: 25%;
}
.row > .col-4 {
    width: 33.33333%;
}
.row > .col-5 {
    width: 41.66667%;
}
.row > .col-6 {
    width: 50%;
}
.row > .col-7 {
    width: 58.33333%;
}
.row > .col-8 {
    width: 66.66667%;
}
.row > .col-9 {
    width: 75%;
}
.row > .col-10 {
    width: 83.33333%;
}
.row > .col-11 {
    width: 91.66667%;
}
.row > .col-12 {
    width: 100%;
}

/* ----- Offsets (base) ----- */
.row > .off-1 {
    margin-left: 8.33333%;
}
.row > .off-2 {
    margin-left: 16.66667%;
}
.row > .off-3 {
    margin-left: 25%;
}
.row > .off-4 {
    margin-left: 33.33333%;
}
.row > .off-5 {
    margin-left: 41.66667%;
}
.row > .off-6 {
    margin-left: 50%;
}
.row > .off-7 {
    margin-left: 58.33333%;
}
.row > .off-8 {
    margin-left: 66.66667%;
}
.row > .off-9 {
    margin-left: 75%;
}
.row > .off-10 {
    margin-left: 83.33333%;
}
.row > .off-11 {
    margin-left: 91.66667%;
}
.row > .off-12 {
    margin-left: 100%;
}

/* ----- Gutters (base) ----- */
.row.gtr-0 {
    margin-top: 0;
    margin-left: 0;
}
.row.gtr-25 {
    margin-top: -6.25px;
    margin-left: -6.25px;
}
.row.gtr-50 {
    margin-top: -12.5px;
    margin-left: -12.5px;
}
.row {
    margin-top: -25px;
    margin-left: -25px;
}
.row.gtr-150 {
    margin-top: -37.5px;
    margin-left: -37.5px;
}
.row.gtr-200 {
    margin-top: -50px;
    margin-left: -50px;
}

.row.gtr-0 > * {
    padding: 0;
}
.row.gtr-25 > * {
    padding: 6.25px 0 0 6.25px;
}
.row.gtr-50 > * {
    padding: 12.5px 0 0 12.5px;
}
.row > * {
    padding: 25px 0 0 25px;
}
.row.gtr-150 > * {
    padding: 37.5px 0 0 37.5px;
}
.row.gtr-200 > * {
    padding: 50px 0 0 50px;
}

/* Uniform gutters (vertical only) */
.row.gtr-0.gtr-uniform {
    margin-top: 0;
}
.row.gtr-25.gtr-uniform {
    margin-top: -6.25px;
}
.row.gtr-50.gtr-uniform {
    margin-top: -12.5px;
}
.row.gtr-uniform {
    margin-top: -25px;
}
.row.gtr-150.gtr-uniform {
    margin-top: -37.5px;
}
.row.gtr-200.gtr-uniform {
    margin-top: -50px;
}

.row.gtr-0.gtr-uniform > * {
    padding-top: 0;
}
.row.gtr-25.gtr-uniform > * {
    padding-top: 6.25px;
}
.row.gtr-50.gtr-uniform > * {
    padding-top: 12.5px;
}
.row.gtr-uniform > * {
    padding-top: 25px;
}
.row.gtr-150.gtr-uniform > * {
    padding-top: 37.5px;
}
.row.gtr-200.gtr-uniform > * {
    padding-top: 50px;
}

/* ===========================================
   Grid — breakpoint-specific column classes
   Only the column-name-to-width mapping is
   declared per breakpoint; everything else is
   inherited from the base definition above.
   =========================================== */

/* --- XLarge (1281px – 1680px) --- */
@media screen and (max-width: 1680px) {
    .row > .col-1-xlarge {
        width: 8.33333%;
    }
    .row > .col-2-xlarge {
        width: 16.66667%;
    }
    .row > .col-3-xlarge {
        width: 25%;
    }
    .row > .col-4-xlarge {
        width: 33.33333%;
    }
    .row > .col-5-xlarge {
        width: 41.66667%;
    }
    .row > .col-6-xlarge {
        width: 50%;
    }
    .row > .col-7-xlarge {
        width: 58.33333%;
    }
    .row > .col-8-xlarge {
        width: 66.66667%;
    }
    .row > .col-9-xlarge {
        width: 75%;
    }
    .row > .col-10-xlarge {
        width: 83.33333%;
    }
    .row > .col-11-xlarge {
        width: 91.66667%;
    }
    .row > .col-12-xlarge {
        width: 100%;
    }

    .row > .off-1-xlarge {
        margin-left: 8.33333%;
    }
    .row > .off-2-xlarge {
        margin-left: 16.66667%;
    }
    .row > .off-3-xlarge {
        margin-left: 25%;
    }
    .row > .off-4-xlarge {
        margin-left: 33.33333%;
    }
    .row > .off-5-xlarge {
        margin-left: 41.66667%;
    }
    .row > .off-6-xlarge {
        margin-left: 50%;
    }
    .row > .off-7-xlarge {
        margin-left: 58.33333%;
    }
    .row > .off-8-xlarge {
        margin-left: 66.66667%;
    }
    .row > .off-9-xlarge {
        margin-left: 75%;
    }
    .row > .off-10-xlarge {
        margin-left: 83.33333%;
    }
    .row > .off-11-xlarge {
        margin-left: 91.66667%;
    }
    .row > .off-12-xlarge {
        margin-left: 100%;
    }

    .row > .imp-xlarge {
        order: -1;
    }
}

/* --- Large (981px – 1280px) --- */
@media screen and (max-width: 1280px) {
    .row > .col-1-large {
        width: 8.33333%;
    }
    .row > .col-2-large {
        width: 16.66667%;
    }
    .row > .col-3-large {
        width: 25%;
    }
    .row > .col-4-large {
        width: 33.33333%;
    }
    .row > .col-5-large {
        width: 41.66667%;
    }
    .row > .col-6-large {
        width: 50%;
    }
    .row > .col-7-large {
        width: 58.33333%;
    }
    .row > .col-8-large {
        width: 66.66667%;
    }
    .row > .col-9-large {
        width: 75%;
    }
    .row > .col-10-large {
        width: 83.33333%;
    }
    .row > .col-11-large {
        width: 91.66667%;
    }
    .row > .col-12-large {
        width: 100%;
    }

    .row > .off-1-large {
        margin-left: 8.33333%;
    }
    .row > .off-2-large {
        margin-left: 16.66667%;
    }
    .row > .off-3-large {
        margin-left: 25%;
    }
    .row > .off-4-large {
        margin-left: 33.33333%;
    }
    .row > .off-5-large {
        margin-left: 41.66667%;
    }
    .row > .off-6-large {
        margin-left: 50%;
    }
    .row > .off-7-large {
        margin-left: 58.33333%;
    }
    .row > .off-8-large {
        margin-left: 66.66667%;
    }
    .row > .off-9-large {
        margin-left: 75%;
    }
    .row > .off-10-large {
        margin-left: 83.33333%;
    }
    .row > .off-11-large {
        margin-left: 91.66667%;
    }
    .row > .off-12-large {
        margin-left: 100%;
    }

    .row > .imp-large {
        order: -1;
    }
}

/* --- Medium (737px – 980px) --- */
@media screen and (max-width: 980px) {
    .row > .col-1-medium {
        width: 8.33333%;
    }
    .row > .col-2-medium {
        width: 16.66667%;
    }
    .row > .col-3-medium {
        width: 25%;
    }
    .row > .col-4-medium {
        width: 33.33333%;
    }
    .row > .col-5-medium {
        width: 41.66667%;
    }
    .row > .col-6-medium {
        width: 50%;
    }
    .row > .col-7-medium {
        width: 58.33333%;
    }
    .row > .col-8-medium {
        width: 66.66667%;
    }
    .row > .col-9-medium {
        width: 75%;
    }
    .row > .col-10-medium {
        width: 83.33333%;
    }
    .row > .col-11-medium {
        width: 91.66667%;
    }
    .row > .col-12-medium {
        width: 100%;
    }

    .row > .off-1-medium {
        margin-left: 8.33333%;
    }
    .row > .off-2-medium {
        margin-left: 16.66667%;
    }
    .row > .off-3-medium {
        margin-left: 25%;
    }
    .row > .off-4-medium {
        margin-left: 33.33333%;
    }
    .row > .off-5-medium {
        margin-left: 41.66667%;
    }
    .row > .off-6-medium {
        margin-left: 50%;
    }
    .row > .off-7-medium {
        margin-left: 58.33333%;
    }
    .row > .off-8-medium {
        margin-left: 66.66667%;
    }
    .row > .off-9-medium {
        margin-left: 75%;
    }
    .row > .off-10-medium {
        margin-left: 83.33333%;
    }
    .row > .off-11-medium {
        margin-left: 91.66667%;
    }
    .row > .off-12-medium {
        margin-left: 100%;
    }

    .row > .imp-medium {
        order: -1;
    }
}

/* --- Small (≤ 736px) --- */
@media screen and (max-width: 736px) {
    .row > .col-1-small {
        width: 8.33333%;
    }
    .row > .col-2-small {
        width: 16.66667%;
    }
    .row > .col-3-small {
        width: 25%;
    }
    .row > .col-4-small {
        width: 33.33333%;
    }
    .row > .col-5-small {
        width: 41.66667%;
    }
    .row > .col-6-small {
        width: 50%;
    }
    .row > .col-7-small {
        width: 58.33333%;
    }
    .row > .col-8-small {
        width: 66.66667%;
    }
    .row > .col-9-small {
        width: 75%;
    }
    .row > .col-10-small {
        width: 83.33333%;
    }
    .row > .col-11-small {
        width: 91.66667%;
    }
    .row > .col-12-small {
        width: 100%;
    }

    .row > .off-1-small {
        margin-left: 8.33333%;
    }
    .row > .off-2-small {
        margin-left: 16.66667%;
    }
    .row > .off-3-small {
        margin-left: 25%;
    }
    .row > .off-4-small {
        margin-left: 33.33333%;
    }
    .row > .off-5-small {
        margin-left: 41.66667%;
    }
    .row > .off-6-small {
        margin-left: 50%;
    }
    .row > .off-7-small {
        margin-left: 58.33333%;
    }
    .row > .off-8-small {
        margin-left: 66.66667%;
    }
    .row > .off-9-small {
        margin-left: 75%;
    }
    .row > .off-10-small {
        margin-left: 83.33333%;
    }
    .row > .off-11-small {
        margin-left: 91.66667%;
    }
    .row > .off-12-small {
        margin-left: 100%;
    }

    .row > .imp-small {
        order: -1;
    }

    /* Gutter override for small */
    .row.gtr-25 {
        margin-top: -3.75px;
        margin-left: -3.75px;
    }
    .row.gtr-50 {
        margin-top: -7.5px;
        margin-left: -7.5px;
    }
    .row {
        margin-top: -15px;
        margin-left: -15px;
    }
    .row.gtr-150 {
        margin-top: -22.5px;
        margin-left: -22.5px;
    }
    .row.gtr-200 {
        margin-top: -30px;
        margin-left: -30px;
    }

    .row.gtr-25 > * {
        padding: 3.75px 0 0 3.75px;
    }
    .row.gtr-50 > * {
        padding: 7.5px 0 0 7.5px;
    }
    .row > * {
        padding: 15px 0 0 15px;
    }
    .row.gtr-150 > * {
        padding: 22.5px 0 0 22.5px;
    }
    .row.gtr-200 > * {
        padding: 30px 0 0 30px;
    }

    .row.gtr-25.gtr-uniform {
        margin-top: -3.75px;
    }
    .row.gtr-50.gtr-uniform {
        margin-top: -7.5px;
    }
    .row.gtr-uniform {
        margin-top: -15px;
    }
    .row.gtr-150.gtr-uniform {
        margin-top: -22.5px;
    }
    .row.gtr-200.gtr-uniform {
        margin-top: -30px;
    }

    .row.gtr-25.gtr-uniform > * {
        padding-top: 3.75px;
    }
    .row.gtr-50.gtr-uniform > * {
        padding-top: 7.5px;
    }
    .row.gtr-uniform > * {
        padding-top: 15px;
    }
    .row.gtr-150.gtr-uniform > * {
        padding-top: 22.5px;
    }
    .row.gtr-200.gtr-uniform > * {
        padding-top: 30px;
    }
}

/* ===========================================
   Wrappers (section backgrounds)
   =========================================== */
.wrapper {
    background-image: url("../images/bg.png");
    box-shadow: var(--shadow-wrapper);
    padding: var(--spacing-section) 0;
    text-align: center;
}

.wrapper.style1 {
    background-image: none;
    background-color: var(--color-bg-white);
}

.wrapper.style2 {
    background-color: var(--color-bg-light);
    text-shadow: 1px 1px 0px var(--color-bg-white);
}

.wrapper.style3 {
    background-color: var(--color-bg-grey);
    text-shadow: 1px 1px 0px var(--color-bg-white);
}

.wrapper.style4 {
    background-color: var(--color-bg-dark);
    color: var(--color-dark-text);
    text-shadow: -1px -1px 0px var(--color-dark-text-shadow);
}

.wrapper.style4 h1,
.wrapper.style4 h2,
.wrapper.style4 h3,
.wrapper.style4 h4,
.wrapper.style4 h5,
.wrapper.style4 h6 {
    color: var(--color-dark-heading);
}

.wrapper.style4 form input[type="text"],
.wrapper.style4 form input[type="email"],
.wrapper.style4 form input[type="password"],
.wrapper.style4 form select,
.wrapper.style4 form textarea {
    border: solid 1px rgba(255, 255, 255, 0.2);
    background: var(--color-bg-white);
    color: var(--color-heading);
}

.wrapper.style4 form input[type="text"]:focus,
.wrapper.style4 form input[type="email"]:focus,
.wrapper.style4 form input[type="password"]:focus,
.wrapper.style4 form select:focus,
.wrapper.style4 form textarea:focus {
    background: var(--color-bg-white);
    box-shadow: var(--shadow-input-focus);
}

/* ----- Wrapper responsive ----- */
@media screen and (max-width: 1280px) {
    .wrapper {
        padding: var(--spacing-section-large) 0;
        text-align: center;
    }
}

@media screen and (max-width: 736px) {
    .wrapper {
        padding: var(--spacing-section-small) 0;
        text-align: center;
    }
}

/* === components.css === */
/* =============================================================
   Components — www.amnestic.org
   Ported from the live site's assets/css/main.css.
   All hardcoded values replaced with var(--*) references.
   ============================================================= */

/* ===========================================
   Typography & links
   =========================================== */
a {
    -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    color: var(--color-primary);
    text-decoration: underline;
}

a:hover {
    color: var(--color-primary-hover) !important;
}

a img {
    border: 0;
}

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

i,
em {
    font-style: italic;
}

sub {
    position: relative;
    top: 0.5em;
    font-size: 0.8em;
}

sup {
    position: relative;
    top: -0.5em;
    font-size: 0.8em;
}

blockquote {
    border-left: solid 0.75em var(--color-border-light);
    padding: 1em 0 1em 1.5em;
    font-style: italic;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-heading);
    margin: 0 0 var(--spacing-element-small) 0;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    text-decoration: none;
    color: inherit;
}

h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-heavy);
}

h1 {
    font-size: var(--font-size-h1);
    letter-spacing: -0.025em;
    font-weight: var(--font-weight-light);
}

h1 strong {
    font-weight: var(--font-weight-heavy);
}

h2 {
    font-size: var(--font-size-h2);
    letter-spacing: -0.015em;
}

h3 {
    font-size: var(--font-size-h3);
    letter-spacing: -0.015em;
}

br.clear {
    clear: both;
}

hr {
    border: 0;
    border-top: solid 1px #444;
    border-top-color: rgba(0, 0, 0, 0.35);
    box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
    height: 1px;
    margin: var(--spacing-hr) 0;
}

p,
ul,
ol,
dl,
table {
    margin-bottom: var(--spacing-element);
}

header {
    margin: 0 0 var(--spacing-hr) 0;
}

header > p {
    font-size: var(--font-size-lead);
    margin: 0;
}

footer {
    margin: var(--spacing-hr) 0 0 0;
}

footer > p {
    font-size: var(--font-size-lead);
}

table {
    width: 100%;
}

table.default {
    width: 100%;
}

table.default tr {
    border-top: solid 1px var(--color-border-light);
}

table.default tr:first-child {
    border-top: 0;
}

table.default td {
    padding: 0.5em 1em;
}

table.default th {
    text-align: left;
    padding: 0.5em 1em;
    font-weight: var(--font-weight-bold);
    margin: 0 0 1em 0;
}

table.default thead {
    background: var(--color-btn-alt-hover);
    color: var(--color-bg-white);
}

section,
article {
    margin-bottom: var(--spacing-hr);
}

section > :last-child,
article > :last-child,
section:last-child,
article:last-child {
    margin-bottom: 0;
}

.image {
    display: inline-block;
    position: relative;
}

.image img {
    display: block;
    width: 100%;
}

.image.fit {
    display: block;
    width: 100%;
}

.image.featured {
    display: block;
    width: 100%;
    margin: 0 0 var(--spacing-element) 0;
}

.image.left {
    float: left;
    margin: 0 var(--spacing-element) var(--spacing-element) 0;
}

.image.centered {
    display: block;
    margin: 0 0 var(--spacing-element) 0;
}

.image.centered img {
    margin: 0 auto;
    width: auto;
}

input[type="button"],
input[type="submit"],
input[type="reset"],
button,
.button {
    background-image:
        url("../images/bg.png"),
        -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
    background-image:
        url("../images/bg.png"),
        -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
    background-image:
        url("../images/bg.png"),
        -ms-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
    background-image:
        url("../images/bg.png"),
        linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
    -moz-transition: background-color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
    -webkit-appearance: none;
    position: relative;
    display: inline-block;
    color: var(--color-bg-white) !important;
    text-decoration: none;
    font-weight: var(--font-weight-heavy);
    border: 0;
    outline: 0;
    cursor: pointer;
    border-radius: var(--border-radius);
    text-shadow: -1px -1px 0.5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    box-shadow: var(--shadow-btn);
    background-color: var(--color-primary);
    padding: var(--spacing-button-y) var(--spacing-button-x);
    font-size: var(--font-size-button);
    max-width: 24em;
}

input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover,
.button:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-bg-white) !important;
}

input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
button:active,
.button:active {
    background-color: var(--color-primary-active);
    top: 1px;
}

input[type="button"].large,
input[type="submit"].large,
input[type="reset"].large,
button.large,
.button.large {
    font-size: var(--font-size-button-large);
    letter-spacing: -0.025em;
}

input[type="button"].alt,
input[type="submit"].alt,
input[type="reset"].alt,
button.alt,
.button.alt {
    background-color: var(--color-btn-alt-bg);
    box-shadow:
        inset 0px 0px 0px 1px var(--color-btn-alt-shadow),
        inset 0px 2px 1px 0px rgba(255, 255, 255, 0.2);
}

input[type="button"].alt:hover,
input[type="submit"].alt:hover,
input[type="reset"].alt:hover,
button.alt:hover,
.button.alt:hover {
    background-color: var(--color-btn-alt-hover);
    color: var(--color-bg-white) !important;
}

input[type="button"].alt:active,
input[type="submit"].alt:active,
input[type="reset"].alt:active,
button.alt:active,
.button.alt:active {
    background-color: var(--color-btn-alt-active);
}

ul {
    list-style: disc;
    padding-left: 1em;
}

ul li {
    padding-left: 0.5em;
}

ol {
    list-style: decimal;
    padding-left: 1.25em;
}

ol li {
    padding-left: 0.25em;
}

ul.social {
    cursor: default;
    margin: 0;
    list-style: none;
    padding-left: 0;
}

ul.social li {
    position: relative;
    display: inline-block;
    margin: 0.25em;
    top: 0;
    padding-left: 0;
}

ul.social li a {
    -moz-transition: top 0.2s ease-in-out;
    -webkit-transition: top 0.2s ease-in-out;
    transition: top 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-social);
    top: 0;
    position: relative;
    text-decoration: none;
    background-color: var(--color-btn-alt-bg);
    box-shadow:
        inset 0px 0px 0px 1px #282828,
        inset 0px 2px 1px 0px var(--color-social-shadow);
}

ul.social li a svg {
    display: block;
    width: 26px;
    height: 26px;
    fill: var(--color-bg-white);
}

ul.social li a:hover {
    top: -5px;
    background-color: transparent;
}

ul.social li a.linkedin {
    background-color: #006599;
}

ul.social li a.linkedin:hover {
    background-color: #0077b5;
}

ul.actions {
    list-style: none;
    padding-left: 0;
}

ul.actions li {
    display: inline-block;
    margin: 0 0 0 1em;
    padding-left: 0;
}

ul.actions li:first-child {
    margin-left: 0;
}

.box {
    background: var(--color-bg-white);
    box-shadow: var(--shadow-box-inset), var(--shadow-box);
    text-align: center;
    padding: var(--spacing-element);
}

.box.style1 {
    padding: 3em 2em 3.5em;
}

.box.style1 h3 {
    margin-bottom: 0.5em;
}

.box.style2 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.box.style2 h3 {
    margin-bottom: 0.25em;
}

.box.style2 .image {
    position: relative;
    left: 2em;
    top: 2em;
    margin: -4em 0 4em -4em;
    width: auto;
}

.icon {
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.icon svg {
    display: block;
    width: var(--font-size-icon);
    height: var(--font-size-icon);
    fill: currentColor;
}

.icon.featured {
    color: var(--color-icon-featured);
    display: block;
    margin: 0 0 1.5em 0;
    cursor: default;
    text-align: center;
}

.icon.featured svg {
    width: var(--font-size-icon-featured);
    height: auto;
    margin: 0 auto;
}

#nav {
    background-color: var(--color-nav-bg);
    text-align: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10000;
    cursor: default;
    height: var(--nav-height);
    line-height: var(--line-height-nav);
}

#nav ul {
    margin-bottom: 0;
    list-style: none;
    padding-left: 0;
}

#nav li {
    display: inline-block;
    padding-left: 0;
}

#nav a {
    -moz-transition: background-color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
    position: relative;
    display: block;
    color: var(--color-bg-white);
    text-decoration: none;
    outline: 0;
    font-weight: var(--font-weight-bold);
    border-radius: var(--border-radius);
    height: 2.5em;
    line-height: 2.5em;
    padding: 0 var(--spacing-nav-x);
}

#nav a:hover {
    color: var(--color-bg-white) !important;
    background: var(--color-nav-hover);
}

#nav a.active {
    background: var(--color-nav-active);
}

#nav a.active::before {
    content: "";
    display: block;
    position: absolute;
    bottom: -0.6em;
    left: 50%;
    margin-left: -0.75em;
    border-left: solid 0.75em transparent;
    border-right: solid 0.75em transparent;
    border-top: solid 0.6em var(--color-nav-bg);
}

body > article {
    margin-bottom: 0;
}

#top {
    padding: 10em 0;
    text-align: left;
}

#top .image {
    border-radius: 100%;
    width: 20em;
    height: 20em;
    margin: 0;
}

#top .image img {
    border-radius: 100%;
}

#top h1 {
    margin-top: 0.35em;
}

#top p {
    font-size: var(--font-size-h3);
    line-height: 1.75em;
}

#top p a {
    color: inherit;
}

#contact footer {
    font-size: 0.9em;
}

#copyright {
    color: var(--color-copyright);
    font-size: 1em;
    line-height: 1em;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

#copyright li {
    display: inline-block;
    border-left: solid 1px rgba(0, 0, 0, 0.5);
    box-shadow: -1px 0px 0px 0px rgba(255, 255, 255, 0.1);
    padding: 0 0 0 1em;
    margin: 0 0 0 1em;
}

#copyright li:first-child {
    border: 0;
    box-shadow: none;
    padding-left: 0;
    margin-left: 0;
}

#copyright a {
    -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    color: inherit;
}

#copyright a:hover {
    color: var(--color-copyright-hover);
}

form label {
    color: var(--color-heading);
    font-weight: var(--font-weight-heavy);
    display: block;
    margin: 0 0 var(--spacing-element-xs) 0;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form select,
form textarea {
    -moz-transition:
        background 0.2s ease-in-out,
        box-shadow 0.2s ease-in-out;
    -webkit-transition:
        background 0.2s ease-in-out,
        box-shadow 0.2s ease-in-out;
    transition:
        background 0.2s ease-in-out,
        box-shadow 0.2s ease-in-out;
    -webkit-appearance: none;
    display: block;
    border: 0;
    padding: var(--spacing-element-small);
    font-size: 1em;
    border-radius: var(--border-radius);
    border: solid 1px var(--color-border-input);
    background: var(--color-bg-white);
    color: var(--color-input-text);
    box-shadow: var(--shadow-input);
    width: 100%;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form select:focus,
form textarea:focus {
    background: var(--color-input-focus-bg);
    box-shadow: var(--shadow-input-focus);
}

form input[type="text"]:focus-visible,
form input[type="email"]:focus-visible,
form input[type="password"]:focus-visible,
form select:focus-visible,
form textarea:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

form textarea {
    height: 15em;
}

form .actions:last-child {
    margin-bottom: 0;
}

form ::-webkit-input-placeholder {
    color: var(--color-input-placeholder) !important;
}

form :-moz-placeholder {
    color: var(--color-input-placeholder) !important;
}

form ::-moz-placeholder {
    color: var(--color-input-placeholder) !important;
}

form :-ms-input-placeholder {
    color: var(--color-input-placeholder) !important;
}

form ::-moz-focus-inner {
    border: 0;
}

@media screen and (max-width: 1280px) {
    header {
        margin: 0 0 4em 0;
    }

    #top {
        padding: 8em 0;
    }

    #top .image {
        width: 24em;
        height: 24em;
        margin: 0;
    }
}

@media screen and (max-width: 980px) {
    #top {
        text-align: center;
        padding: 5em 0;
    }

    #top .image {
        margin: 0 auto 2em auto;
    }
}

@media screen and (max-width: 736px) {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: var(--font-size-lead);
        margin: 0 0 0.4em 0;
    }

    h1 {
        font-size: var(--font-size-h1-small);
        line-height: var(--line-height-h1-small);
    }

    header {
        margin: 0 0 var(--spacing-element) 0;
    }

    header > p {
        font-size: var(--font-size-lead);
    }

    footer {
        margin: 2.5em 0 0 0;
    }

    footer > p {
        font-size: var(--font-size-lead);
    }

    hr {
        margin: 1.5em 0 2em 0;
    }

    section,
    article {
        clear: both;
    }

    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    button,
    .button {
        text-align: center;
        font-size: var(--font-size-button-small);
        width: 100%;
        padding: 1em 0;
    }

    input[type="button"].large,
    input[type="submit"].large,
    input[type="reset"].large,
    button.large,
    .button.large {
        font-size: var(--font-size-button-small);
        letter-spacing: 0;
    }

    ul.social {
        padding: 1em 0.5em 0;
    }

    ul.social li {
        margin: 0.5em;
    }

    ul.social li a {
        top: 0 !important;
    }

    ul.social li a {
        background-color: transparent !important;
        box-shadow: none;
    }

    ul.social li a svg {
        fill: var(--color-bg-white);
    }

    ul.actions {
        margin: 0;
    }

    ul.actions li {
        display: block;
        margin: 15px 0 0 0;
    }

    ul.actions li:first-child {
        margin-top: 0;
    }

    .box {
        padding: 30px 20px;
        margin: 0 0 20px 0 !important;
    }

    .box h3 {
        margin-bottom: 0.25em;
    }

    .box .image.centered {
        margin-bottom: 1em;
    }

    .box .image.featured {
        position: relative;
        left: 20px;
        top: 20px;
        margin: -50px 0 50px -40px;
        width: auto;
    }

    .box.style1 {
        max-width: 32em;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .box.style2 {
        max-width: 32em;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #nav {
        height: var(--nav-height-small);
        line-height: var(--nav-height-small);
        overflow: hidden;
    }

    #nav a {
        padding: 0 0.5em;
        height: inherit;
        line-height: inherit;
        border-radius: 0;
    }

    #nav a:hover {
        background-color: transparent;
    }

    #top {
        padding: 3em 0;
    }

    #top .image {
        width: 50vw;
        height: 50vw;
        max-width: 15em;
        max-height: 15em;
        margin-bottom: 0;
    }

    #top p {
        font-size: 1em;
    }

    #contact footer {
        margin: 0;
    }

    #copyright {
        font-size: 1em;
        margin: 0;
    }

    #copyright li {
        display: block;
        margin: 1em 0 0 0;
        padding: 0;
        box-shadow: none;
        border-left: 0;
    }

    #copyright li:first-child {
        margin-top: 0;
    }
}

/* === utilities.css === */
/* =============================================================
   Utilities — www.amnestic.org
   Helper classes and overrides.
   ============================================================= */

/* ----- Screen-reader only (visually hidden) ----- */
.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* ----- Skip to main content link (visible on focus) ----- */
.skip-link {
    background: #fff;
    color: #1b1f22;
    font-weight: bold;
    left: 1rem;
    padding: 0.5rem 1rem;
    position: absolute;
    top: -100%;
    z-index: 10000;
}

.skip-link:focus {
    top: 1rem;
}
