/* CSS Custom Properties */
:root {
    --font-family-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --font-family-mono: ui-monospace, SFMono-Regular, Menlo, "Courier 10 Pitch", courier, monospace;
    --border-radius: 5px;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --color-black: rgb(0 0 0);
    --color-white: rgb(255 255 255);
    --color-text: var(--color-black);
    --color-text-light: rgb(0 0 0 / 0.65);
    --color-border: rgba(0, 0, 0, 0.1);
    --color-background: var(--color-white);
    --color-accent: var(--color-black);
    --color-accent-soft: rgb(0 0 0 / 0.14);
    --form-radius: 5px;
    --form-height: 3rem;
    --form-padding-inline: 0.875rem;
    --line-height-base: 1.65;
    --line-height-heading: 1.25;
    --line-height-tight: 1.1;
    --font-weight-heading: 600;
    --container-width: min(90vw, 1600px);
    --measure: 80ch;

    --font-size-xs: clamp(0.75rem, 1.5vw, 0.8rem);
    --font-size-sm: clamp(0.875rem, 2vw, 0.9rem);
    --font-size-base: 1em;
    --font-size-lg: clamp(1.125rem, 2.5vw, 1.25rem);
    --font-size-xl: clamp(1.25rem, 3vw, 1.5rem);
    --font-size-2xl: clamp(1.5rem, 4vw, 2rem);
    --font-size-3xl: clamp(2rem, 5vw, 3rem);
    --font-size-4xl: clamp(2.5rem, 6vw, 4rem);
    --font-size-5xl: clamp(3rem, 7vw, 5rem);

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

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

html {
    line-height: var(--line-height-base);
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: gray transparent;
}

body {
    margin: 0;
    background: var(--color-background);
    font-family: var(--font-family-system);
    font-size: clamp(0.95rem, 1.15vw + 0.7rem, 1.0625rem);
    line-height: var(--line-height-base);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (max-width: 640px) {
    body {
        font-size: 0.95em;
    }
}

main {
    display: block;
}

hr {
    background-color: var(--color-border);
    border: 0;
    block-size: 1px;
    margin-block-end: var(--spacing-lg);
}

pre {
    font-family: var(--font-family-mono);
    font-size: 0.85em;
    line-height: 1.6;
    margin-block-end: var(--spacing-lg);
    max-inline-size: 100%;
    overflow: auto;
}

a {
    color: var(--color-black);
}

abbr[title] {
    border-block-end: none;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

samp {
    font-family: var(--font-family-mono);
    font-size: 0.85em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    inset-block-end: -0.25em;
}

sup {
    inset-block-start: -0.5em;
}

img {
    border-style: none;
    display: block;
    block-size: auto;
    max-inline-size: 100%;
}

button,
input,
optgroup,
select,
textarea {
    font: inherit;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    appearance: button;
    -webkit-appearance: button;
    cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-inline-size: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
    inline-size: 100%;
    resize: vertical;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    block-size: auto;
}

[type="search"] {
    appearance: textfield;
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    appearance: none;
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    appearance: button;
    -webkit-appearance: button;
    font: inherit;
}

/* Video Hero */
.iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.iframe-wrapper video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
}

/* Embed Responsively */
.embed-container {
    position: relative;
    max-width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

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

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    margin-block: 0 var(--spacing-md);
    line-height: var(--line-height-heading);
    font-weight: var(--font-weight-heading);
    text-wrap: balance;
}

h1 {
    font-size: clamp(2rem, 1.2rem + 2vw, 3rem);
}

h1.xl-title {
    font-size: clamp(2.25rem, 6vw, 5rem);
    line-height: 1.05;
}

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

h2 {
    font-size: clamp(1.7rem, 1.1rem + 1.4vw, 2.3rem);
}

h3 {
    font-size: clamp(1.4rem, 1rem + 1vw, 1.8rem);
}

h4 {
    font-size: clamp(1.2rem, 0.95rem + 0.6vw, 1.4rem);
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p { margin: 0; }

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin-inline: var(--spacing-lg);
}

address {
    margin-block-end: var(--spacing-lg);
}

code,
kbd,
tt,
var {
    font-family: var(--font-family-mono);
    font-size: 0.85em;
}

abbr,
acronym {
    border-block-end: 1px dotted rgb(0 0 0 / 0.6);
    cursor: help;
}

mark,
ins {
    background: #fff59d;
    text-decoration: none;
}

big {
    font-size: 125%;
}

ul,
ol {
    margin: 0 0 var(--spacing-lg) 3em;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-block-end: 0;
    margin-inline-start: var(--spacing-lg);
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 var(--spacing-lg) var(--spacing-lg);
}

embed,
iframe,
object {
    max-inline-size: 100%;
}

figure {
    margin-block: var(--spacing-md);
}

table {
    margin-block-end: var(--spacing-lg);
    inline-size: 100%;
}

label[for] {
    display: block;
    margin: 0 0 var(--spacing-xs);
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
select,
textarea {
    inline-size: 100%;
    min-block-size: var(--form-height);
    border: 1px solid var(--color-border);
    border-radius: var(--form-radius);
    background: var(--color-white);
    color: var(--color-text);
    padding: 0 var(--form-padding-inline);
    line-height: 1.25;
    box-shadow: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
}

textarea {
    padding-block: 0.75rem;
    min-block-size: calc(var(--form-height) * 1.5);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='currentColor' d='M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
    background-position: calc(100% - 0.85rem) 50%;
    background-size: 0.65rem;
    background-repeat: no-repeat;
    padding-inline-end: 2rem;
}

select::-ms-expand {
    display: none;
}

input::placeholder,
textarea::placeholder {
    color: rgb(0 0 0 / 0.45);
}

input:hover,
select:hover,
textarea:hover {
    box-shadow: 0 0 0 2px rgb(0 0 0 / 0.08);
}

input:focus,
select:focus,
textarea:focus,
input:active,
select:active,
textarea:active {
    border-color: var(--color-accent);
    box-shadow: none;
    outline: 0;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    inline-size: 100%;
    min-block-size: var(--form-height);
    border: 1px solid var(--color-black);
    border-radius: var(--form-radius);
    background: var(--color-black);
    color: var(--color-white);
    padding: 0 var(--form-padding-inline);
    font: inherit;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background: inherit;
    color: inherit;
    border-color: inherit;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    outline: 0;
    box-shadow: none;
}

input[type="checkbox"],
input[type="radio"] {
    appearance: auto;
    -webkit-appearance: auto;
    inline-size: 1rem;
    block-size: 1rem;
    margin-inline-end: 0.5rem;
    vertical-align: -0.1em;
}

.small-text {
    font-size: clamp(0.75rem, 2vw, 0.8em);
    line-height: 1.4;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin-block-end: var(--spacing-lg);
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

.sticky {
    display: block;
}

.container {
    inline-size: var(--container-width);
    margin-inline: auto;
}
.container.small {
    inline-size: min(var(--container-width), 800px);
}

.text-content {
    max-inline-size: var(--measure);
}

.site-header {
    padding-block: var(--spacing-md);
}

.site-footer {
    padding-block: var(--spacing-xl);
}
.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin-block-start: var(--spacing-lg);
}

.page-links {
    clear: both;
    margin-block-end: var(--spacing-lg);
}

.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

.widget {
    margin-block-end: var(--spacing-lg);
}

.widget select {
    max-inline-size: 100%;
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-block: 0;
    padding: 0;
}

.custom-logo-link {
    display: inline-block;
}

.wp-caption {
    margin-block-end: var(--spacing-lg);
    max-inline-size: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-inline: auto;
}

.wp-caption .wp-caption-text {
    margin-block: 0.8075em;
}
