@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorant-garamond-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

html {
    font-size: 100%;
    background: var(--color-bg);
}

body {
    background: linear-gradient(180deg, #fff 0%, var(--color-bg) 42%, var(--color-bg) 100%);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-hilaire-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.15;
}

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

h2 {
    font-size: clamp(1.65rem, 2.2vw, 2.15rem);
}

h3 {
    font-size: clamp(1.35rem, 1.7vw, 1.75rem);
}

p,
li,
label,
input,
textarea {
    color: var(--color-text-soft);
}

a {
    color: var(--color-link);
    transition: color var(--duration-fast) var(--easing-luxury), opacity var(--duration-fast) var(--easing-luxury);
}

a:hover,
a:focus-visible {
    color: var(--color-link-hover);
}

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.container {
    margin-inline: auto;
    max-width: var(--container-max);
    padding-inline: var(--container-gutter);
    width: 100%;
}

.site-main {
    min-height: 45vh;
    padding-block: var(--section-space);
}

.content-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
}

.entry-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.1rem;
}

.entry-title {
    margin-bottom: 0.5rem;
}

.entry-excerpt p {
    margin-top: 0.65rem;
}

.skip-link {
    background: var(--color-hilaire-blue);
    color: #fff;
    left: 0.75rem;
    padding: 0.5rem 0.8rem;
    position: absolute;
    top: -100%;
    z-index: 10000;
}

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

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

/* ─── Shell layouts (pages, singles, taxonomies until page-specific CSS ships) ─ */
.shell-page__header {
    margin-bottom: 1.5rem;
}

.shell-page__title {
    margin-bottom: 0.35rem;
}

.shell-page__crumb {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.shell-page__crumb a {
    text-decoration: none;
}

.shell-page__lead {
    font-size: 1.05rem;
    max-width: 42rem;
}

.shell-page__content {
    max-width: 48rem;
}

.shell-page__media {
    margin-bottom: 1.5rem;
}

.shell-page__thumb {
    display: block;
    height: auto;
    max-width: 100%;
}

.shell-archive-header {
    margin-bottom: 2rem;
}

.shell-empty {
    margin-bottom: 3rem;
}

.shell-subterms {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.shell-subterms__heading {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.shell-subterms__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.shell-card__type {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    margin: 0 0 0.35rem;
    opacity: 0.7;
    text-transform: uppercase;
}

.pagination {
    margin-block: 2rem;
}

.construction-banner {
    width: 100%;
    background-color: #c41e3a;
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 99999;
    box-sizing: border-box;
}

.construction-banner__text {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #ffffff;
}
