/* ===================================== */
/* Reset */
/* ===================================== */

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-image: url('/images/beton-achtergrond-2.webp');
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow-x: hidden;
    margin: 0;
    min-width: 320px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: var(--line-height-base);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

iframe {
    border: 0;
    width: 100%;
}

::selection {
    background: var(--accent-color);
    color: var(--text-on-accent-color);
}

/* ===================================== */
/* Base Layout */
/* ===================================== */

main {
    background: var(--primary-color);
    min-height: 70dvh;
    width: min(100% - 2rem, var(--max-width));
    margin: 2rem auto;
    padding: var(--border-padding);
}

.container {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
}

.container--narrow {
    width: min(100% - 2rem, var(--max-width-narrow));
    margin: 0 auto;
}

section {
    margin: var(--section-gap) 0;
}

section > :first-child {
    margin-top: 0;
}

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

/* ===================================== */
/* Typography */
/* ===================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 2.25rem 0 0.85rem;
    color: var(--heading-color);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--line-height-heading);
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    margin-top: 0;
}

h2 {
    font-size: clamp(1.7rem, 2.5vw, 2.5rem);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

h4 {
    font-size: 1.15rem;
}

h5,
h6 {
    font-size: 1rem;
}

p {
    margin: 0 0 1.1rem;
    max-width: 75ch;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 68ch;
}

small {
    font-size: 0.9rem;
}

strong {
    font-weight: 700;
    color: var(--heading-color);
}

em {
    font-style: italic;
}

mark {
    background: color-mix(in srgb, var(--accent-color) 18%, white);
    color: inherit;
    padding: 0.06em 0.22em;
}

abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
}

kbd {
    display: inline-block;
    padding: 0.15rem 0.4rem;
    border: 1px solid var(--border-color-strong);
    background: var(--surface-color);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    font-size: 0.875rem;
    line-height: 1.2;
}

/* ===================================== */
/* Links */
/* ===================================== */

a {
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--accent-color) 45%, transparent);
    text-underline-offset: 0.16em;
    transition:
        color var(--transition-fast),
        text-decoration-color var(--transition-fast),
        opacity var(--transition-fast);
}

a:hover {
    color: color-mix(in srgb, var(--accent-color) 82%, black);
    text-decoration-color: currentColor;
}

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

a:active {
    opacity: 0.8;
}

a[href^="mailto:"],
a[href^="tel:"] {
    word-break: break-word;
}

/* ===================================== */
/* Lists */
/* ===================================== */

ul,
ol {
    margin: 0 0 1.35rem;
    padding-left: 1.75rem;
    max-width: 75ch;
}

li {
    margin: 0.45rem 0;
    padding-left: 0.45rem;
}

ul li::marker {
    color: var(--accent-color);
    font-size: 1.05em;
}

ol li::marker {
    color: var(--accent-color);
    font-weight: 700;
}

li > ul,
li > ol {
    margin-top: 0.55rem;
    margin-bottom: 0.35rem;
    padding-left: 1.5rem;
}

dl {
    margin: 0 0 1.5rem;
}

dt {
    font-weight: 700;
    color: var(--heading-color);
    margin-top: 1rem;
}

dd {
    margin: 0.35rem 0 0 0;
    color: var(--text-muted);
}

/* ===================================== */
/* Media */
/* ===================================== */

figure {
    margin: 2rem 0;
}

figcaption {
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

img,
video {
    border-radius: calc(var(--border-radius) + 0.125rem);
}

.media-frame {
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    box-shadow: 0 14px 34px var(--shadow-color);
}

/* ===================================== */
/* Quotes */
/* ===================================== */

blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.4rem 1.25rem 1.2rem;
    border-left: 4px solid var(--accent-color);
    background: linear-gradient(180deg, var(--surface-color), #fcfcfa);
    color: var(--text-muted);
}

blockquote > :last-child {
    margin-bottom: 0;
}

hr {
    margin: 3rem 0;
    border: 0;
    border-top: 1px solid var(--border-color);
}

/* ===================================== */
/* Code */
/* ===================================== */

code,
pre,
samp {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        monospace;
}

code {
    padding: 0.12rem 0.38rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    font-size: 0.92em;
}

pre {
    overflow-x: auto;
    padding: 1rem 1.15rem;
    background: #1f2418;
    color: #f4f7ee;
    border: 1px solid #2e3723;
}

pre code {
    padding: 0;
    background: transparent;
    border: 0;
    color: inherit;
}

/* ===================================== */
/* Tables */
/* ===================================== */

.table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: white;
    margin: 0;
    border: 1px solid var(--border-color);
}

caption {
    margin-bottom: 0.7rem;
    text-align: left;
    color: var(--text-muted);
}

th,
td {
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--surface-color-strong);
    color: var(--heading-color);
    font-weight: 700;
}

tbody tr:nth-child(even) {
    background: #fbfcf8;
}

tbody tr:hover {
    background: color-mix(in srgb, var(--accent-color) 7%, white);
}

/* ===================================== */
/* Forms */
/* ===================================== */

form {
    display: grid;
    gap: 1rem;
    max-width: 46rem;
}

label {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: var(--heading-color);
    font-weight: 600;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border-color-strong);
    background: white;
    color: var(--text-color);
    border-radius: calc(var(--border-radius) + 0.125rem);
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);
}

textarea {
    min-height: 9rem;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: #8a9180;
}

input:hover,
textarea:hover,
select:hover {
    border-color: var(--accent-color);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color) 16%, transparent);
}

fieldset {
    margin: 0;
    padding: 1.15rem 1.2rem 1.25rem;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
}

legend {
    padding: 0 0.45rem;
    font-weight: 700;
    color: var(--heading-color);
}

.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.help-text {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.error-text {
    color: #8d2323;
    font-size: 0.94rem;
}

/* ===================================== */
/* Buttons */
/* ===================================== */

button,
.button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.8rem 1.25rem;
    border: 1px solid transparent;
    border-radius: calc(var(--border-radius) + 0.125rem);
    background: var(--accent-color);
    color: var(--text-on-accent-color);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        opacity var(--transition-fast);
}

button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
    background: color-mix(in srgb, var(--accent-color) 88%, black);
    color: var(--text-on-accent-color);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(113, 148, 48, 0.18);
}

button:focus-visible,
.button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
input[type="reset"]:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

button:active,
.button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
    transform: translateY(0);
    box-shadow: none;
}

.button--secondary {
    background: var(--secondary-color);
    color: var(--text-on-secondary-color);
}

.button--ghost {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.button--ghost:hover {
    background: color-mix(in srgb, var(--accent-color) 10%, white);
    color: color-mix(in srgb, var(--accent-color) 82%, black);
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* ===================================== */
/* Header / Navigation */
/* ===================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(185, 199, 160, 0.75);
    box-shadow: 0 8px 24px rgba(34, 40, 25, 0.05);
}

.site-header__inner {
    width: min(100% - 2rem, 95%);
    min-height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-logo,
.site-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--heading-color);
    text-decoration: none;
    font-weight: 700;
    z-index: 10;
}

.site-logo:hover,
.site-header__brand:hover {
    text-decoration: none;
}

.site-logo img,
.site-header__brand img {
    width: auto;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: none;
}

.site-nav li {
    position: relative;
    margin: 0;
    padding: 0;
}

.site-nav a,
.site-nav button {
    min-height: 2.7rem;
    padding: 0.7rem 0.95rem;
    border: 0;
    background: transparent;
    color: var(--heading-color);
    text-decoration: none;
    font-weight: 600;
    box-shadow: none;
    transform: none;
}

.site-nav a:hover,
.site-nav button:hover {
    background: color-mix(in srgb, var(--accent-color) 10%, white);
    color: var(--accent-color);
}

.site-nav .is-active > a,
.site-nav a[aria-current="page"] {
    color: var(--accent-color);
}

.site-nav .has-dropdown:hover > .dropdown,
.site-nav .has-dropdown:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 17rem;
    padding: 0.5rem;
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 18px 40px rgba(24, 29, 17, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.35rem);
    pointer-events: none;
    transition:
        opacity var(--transition-base),
        transform var(--transition-base),
        visibility var(--transition-base);
}

.dropdown a {
    display: block;
    padding: 0.72rem 0.85rem;
}

.dropdown a:hover {
    background: var(--surface-color);
}

.nav-toggle {
    display: none;
    z-index: 10;
}

/* ===================================== */
/* Hero */
/* ===================================== */

.hero {
    position: relative;
    padding: clamp(3rem, 7vw, 6rem) 0;
    color: var(--heading-color);
}

.hero--soft {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 248, 244, 0.98)),
        linear-gradient(135deg, color-mix(in srgb, var(--accent-color) 8%, white), white 55%);
    border-bottom: 1px solid var(--border-color);
}

.hero__inner {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
}

.hero__eyebrow {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.hero__title {
    margin: 0 0 1rem;
}

.hero__text {
    max-width: 62ch;
    font-size: 1.08rem;
    color: var(--text-muted);
}

.hero__actions {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* ===================================== */
/* Cards */
/* ===================================== */

.card,
.panel {
    padding: 1.35rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: calc(var(--border-radius) + 0.125rem);
    box-shadow: 0 14px 34px var(--shadow-color);
}

.card > :first-child,
.panel > :first-child {
    margin-top: 0;
}

.card > :last-child,
.panel > :last-child {
    margin-bottom: 0;
}

.card-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card--link {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    color: inherit;
    text-decoration: none;
    transition:
        transform var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.card--link:hover {
    transform: translateY(-3px);
    border-color: var(--border-color-strong);
    box-shadow: 0 20px 42px rgba(24, 29, 17, 0.12);
    text-decoration: none;
}

.card__title {
    margin: 0;
}

.card__meta {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card__image {
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    margin: -1.35rem -1.35rem 1rem;
    background: var(--surface-color);
}

.card__image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* ===================================== */
/* Info / Highlight Blocks */
/* ===================================== */

.notice,
.alert,
.info-box {
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--accent-color);
    background: color-mix(in srgb, var(--accent-color) 8%, white);
}

.info-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-list__item {
    padding: 1.15rem 1.2rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
}

/* ===================================== */
/* Breadcrumbs */
/* ===================================== */

.breadcrumbs {
    margin: 0 0 1.4rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.breadcrumbs ol,
.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: none;
}

.breadcrumbs li {
    margin: 0;
    padding: 0;
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 0.45rem;
    color: #8b957a;
}

/* ===================================== */
/* Accordion / FAQ */
/* ===================================== */

details {
    border: 1px solid var(--border-color);
    background: white;
}

details + details {
    margin-top: 0.75rem;
}

summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.15rem;
    font-weight: 700;
    color: var(--heading-color);
    position: relative;
    user-select: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.35rem;
    line-height: 1;
}

details[open] summary::after {
    content: "−";
}

details > *:not(summary) {
    padding: 0 1.15rem 1rem;
}

/* ===================================== */
/* Aside / Sidebar */
/* ===================================== */

.layout-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2rem;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
}

.sidebar .card,
.sidebar .panel {
    margin-bottom: 1rem;
}

/* ===================================== */
/* Footer */
/* ===================================== */

.site-footer {
    margin-top: 4rem;
    background: #212718;
    color: rgba(255, 255, 255, 0.88);
}

.site-footer a {
    color: #d7eab3;
    text-decoration-color: rgba(215, 234, 179, 0.45);
}

.site-footer a:hover {
    color: white;
}

.site-footer__inner {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
    padding: 3rem 0 2rem;
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.4fr 1fr 1fr;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
    color: white;
    border: 0;
    padding: 0;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    padding-left: 0;
}

.site-footer__bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ===================================== */
/* Utilities */
/* ===================================== */

.flow > * + * {
    margin-top: var(--content-gap);
}

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.max-width-none {
    max-width: none;
}

.surface {
    background: var(--surface-color);
}

.accent {
    color: var(--accent-color);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 999;
    padding: 0.75rem 1rem;
    background: var(--accent-color);
    color: var(--text-on-accent-color);
    text-decoration: none;
}

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

.stack-sm > * + * {
    margin-top: 0.6rem;
}

.stack-md > * + * {
    margin-top: 1rem;
}

.stack-lg > * + * {
    margin-top: 1.6rem;
}

.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

/* ===================================== */
/* Footer */
/* ===================================== */

.site-footer {
    margin-top: 4rem;
    background: #4e7021;
    color: #ffffff;
}

.site-footer a {
    color: #ffffff;
    text-decoration-color: rgba(215, 234, 179, 0.45);
}

.site-footer a:hover {
    color: white;
}

.site-footer__inner {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
    padding: 3rem 0 2rem;
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
}

.site-footer__grid * {
    margin: 0;
}

.site-footer__grid h3 {
    margin-block-end: 1rem;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
    margin-top: 0;
    color: white;
    border: 0;
    padding: 0;
}

.site-footer p,
.site-footer address {
    margin: 0;
    max-width: none;
}

.site-footer__address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.78);
    line-height: var(--line-height-base);
}

.site-footer__nav {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: none;
}

.site-footer__nav li {
    margin: 0;
    padding-left: 0;
}

.site-footer__nav li + li {
    margin-top: 0.65rem;
}

.site-footer__nav li::marker {
    content: "";
}

.site-footer__nav a {
    text-decoration: none;
}

.site-footer__icon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.site-footer__icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: calc(var(--border-radius) + 0.125rem);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

.site-footer__icon-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.site-footer__icon-link img {
    width: 1.375rem;
    height: 1.375rem;
    object-fit: contain;
}

.site-footer__cta-wrap {
    margin-top: 1rem;
}

.site-footer__bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.site-footer__bottom p {
    margin: 0;
}

/* ===================================== */
/* Responsive */
/* ===================================== */

@media (max-width: 960px) {
    :root {
        --border-padding: 2rem;
    }

    .card-grid,
    .card-grid--4,
    .grid-3,
    .info-list,
    .site-footer__grid,
    .layout-sidebar {
        grid-template-columns: 1fr 1fr;
    }

    .layout-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 760px) {
    :root {
        --border-padding: 1.4rem;
        --header-height: auto;
    }

    html {
        scroll-padding-top: 5rem;
    }

    main,
    .container,
    .container--narrow,
    .site-header__inner,
    .hero__inner,
    .site-footer__inner {
        width: min(100% - 1.25rem, var(--max-width));
    }

    main {
        padding: 1rem;
    }

    .form-row,
    .card-grid,
    .card-grid--2,
    .card-grid--4,
    .grid-2,
    .grid-3,
    .info-list,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-header__inner {
        align-items: flex-start;
        padding: 0.875rem 0;
    }

    .site-nav {
        width: 100%;
        overflow-x: scroll;
    }

    .site-nav ul {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav li,
    .site-nav a,
    .site-nav button {
        width: 100%;
    }

    .dropdown {
        position: static;
        min-width: 0;
        margin-top: 0.35rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        display: none;
    }

    .site-nav .has-dropdown:hover > .dropdown,
    .site-nav .has-dropdown:focus-within > .dropdown {
        display: block;
    }

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

    h2 {
        font-size: clamp(1.45rem, 7vw, 2rem);
    }

    .hero {
        padding: 2.5rem 0 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.site-logo img {
    height: 6rem;
    width: auto;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--heading-color);
    font-size: 1.2rem;
    line-height: 1;
    box-shadow: none;
}

.nav-toggle:hover {
    background: var(--surface-color);
    color: var(--accent-color);
    transform: none;
    box-shadow: none;
}

.site-nav[data-open="false"] {
    display: flex;
}

.site-nav .has-dropdown.is-open > .dropdown,
.site-nav .has-dropdown:hover > .dropdown,
.site-nav .has-dropdown:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown {
    list-style: none;
    margin: 0;
    z-index: 20;
}

.dropdown li {
    padding: 0;
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        width: 100%;
        overflow-x: hidden;
        overflow-y: scroll;
    }

    .nav-link {
        padding-inline-start: 1rem;
    }
    .nav-link.primary-link {
        color: var(--accent-color) !important;
        font-size: 1.125rem;
        padding: 0;
    }

    .site-nav[data-open="false"] {
        display: none;
    }

    .site-nav[data-open="true"] {
        display: block;
        position: fixed;
        width: 100%;
        height: 100dvh;
        background: var(--primary-color);
        padding-top: 7rem;
        padding-inline: 1rem;
        margin: 0;
        left: 0;
        top: 0;
    }

    .site-nav .has-dropdown.is-open > .dropdown,
    .site-nav .has-dropdown:hover > .dropdown,
    .site-nav .has-dropdown:focus-within > .dropdown {
        display: block;
    }

    .dropdown {
        position: static;
        display: none;
        min-width: 0;
        margin-top: 0.35rem;
        padding: 0.35rem 0 0 0.75rem;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .dropdown a {
        padding: 0.65rem 0.85rem;
    }
}
