:root {
    --hue: 39;
    --accent-hue: 9;
    --paper: hsl(var(--hue) 48% 96%);
    --paper-deep: hsl(var(--hue) 48% 91%);
    --sand: hsl(var(--hue) 48% 84%);
    --line: hsl(var(--hue) 30% 74%);
    --muted: hsl(var(--hue) 28% 32%);
    --ink: hsl(var(--hue) 48% 13%);
    --brand: hsl(var(--hue) 48% 36%);
    --night: hsl(var(--hue) 40% 15%);
    --night-soft: hsl(var(--hue) 30% 22%);
    --on-night: hsl(var(--hue) 48% 93%);
    --on-night-muted: hsl(var(--hue) 30% 76%);
    --accent: hsl(var(--accent-hue) 48% 42%);
    --accent-light: hsl(var(--accent-hue) 60% 76%);
    --font-head: "Roboto Slab", Georgia, serif;
    --font-body: "PT Sans", "Trebuchet MS", sans-serif;
    --wrap: 1160px;
    --radius-soft: 18px;
    --radius-pill: 999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
}

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

h1,
h2,
h3,
h4 {
    margin: 0 0 0.6em;
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.12;
    color: inherit;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--accent);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--ink);
}

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

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    padding: 8px 14px;
    background: var(--ink);
    color: var(--paper);
    z-index: 50;
}

.skip-link:focus {
    left: 8px;
    color: var(--paper);
}

.dotted {
    background-image: radial-gradient(hsl(var(--hue) 40% 60% / 0.35) 1.2px, transparent 1.4px);
    background-size: 14px 14px;
}

.masthead {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: hsl(var(--hue) 48% 96% / 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(6px);
}

.masthead__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand:hover {
    color: var(--ink);
}

.brand__seal {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.brand__name {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.brand__name small {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.menu {
    position: relative;
}

.menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border: 1px solid var(--ink);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.menu__toggle:hover,
.menu__toggle[aria-expanded="true"] {
    background: var(--ink);
    color: var(--paper);
}

.menu__icon {
    display: inline-block;
    position: relative;
    width: 16px;
    height: 2px;
    background: currentColor;
}

.menu__icon::before,
.menu__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    background: currentColor;
}

.menu__icon::before {
    top: -5px;
}

.menu__icon::after {
    top: 5px;
}

.menu__list {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: var(--night);
    color: var(--on-night);
    box-shadow: 0 18px 40px hsl(var(--hue) 40% 10% / 0.25);
    display: none;
}

.menu__list--open {
    display: block;
}

.menu__link {
    display: block;
    padding: 9px 22px;
    color: var(--on-night);
    font-family: var(--font-head);
    font-size: 1.02rem;
    text-decoration: none;
}

.menu__link:hover,
.menu__link:focus-visible {
    background: var(--night-soft);
    color: var(--accent-light);
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid var(--ink);
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: var(--paper);
    font-weight: 700;
    text-decoration: none;
}

.button:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
}

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

.button--ghost:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

.kicker {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.colophon {
    background: var(--night);
    color: var(--on-night);
    padding: 56px 0 28px;
    font-size: 0.97rem;
}

.colophon a {
    color: var(--accent-light);
}

.colophon a:hover {
    color: var(--on-night);
}

.colophon__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 32px;
    border-bottom: 1px dotted hsl(var(--hue) 30% 45%);
}

.colophon__seal {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
}

.colophon__name {
    margin-bottom: 6px;
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--on-night);
}

.colophon__title {
    margin-bottom: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--on-night-muted);
}

.colophon__address {
    font-style: normal;
    color: var(--on-night);
}

.colophon__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.colophon__list li {
    margin-bottom: 6px;
}

.colophon__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    padding-top: 22px;
    font-size: 0.88rem;
    color: var(--on-night-muted);
}

.colophon__legal p {
    margin: 0;
}

@media (max-width: 820px) {
    .colophon__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 1rem;
    }

    .wrap {
        padding: 0 18px;
    }

    .brand__name {
        font-size: 0.86rem;
    }

    .brand__name small {
        display: none;
    }

    .brand__seal {
        width: 40px;
        height: 40px;
    }

    .menu__toggle {
        padding: 8px 12px;
    }
}

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