:root {
    --accent: #0f766e;
    --ink: #121614;
    --muted: #5f6964;
    --paper: #f7f8f6;
    --surface: #ffffff;
    --surface-strong: #edf3f1;
    --line: #d8e0dc;
    --amber: #b7791f;
    --coral: #bd5a42;
    --blue: #2f6f91;
    --accent-ink: #ffffff;
    --section-bg: color-mix(in srgb, var(--paper) 90%, var(--surface) 10%);
    --section-bg-soft: color-mix(in srgb, var(--paper) 66%, var(--surface) 34%);
    --glass-bg: color-mix(in srgb, var(--surface) 86%, transparent);
    --tag-bg: color-mix(in srgb, var(--surface) 78%, transparent);
    --hero-wash: linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, transparent), color-mix(in srgb, var(--section-bg-soft) 82%, transparent)), var(--section-bg);
    --shadow: 0 20px 55px rgba(18, 22, 20, .13);
    --shadow-soft: 0 10px 30px rgba(18, 22, 20, .06);
    --radius: 8px;
    --scroll-track: #eaf6f2;
    --scroll-thumb: color-mix(in srgb, var(--accent) 78%, #325f58);
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: "Playfair Display", Georgia, serif;
}

* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

[id] {
    scroll-margin-top: 82px;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 30rem),
        linear-gradient(180deg, var(--section-bg-soft) 0%, var(--paper) 46%, var(--section-bg) 100%),
        var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: var(--scroll-track);
}

*::-webkit-scrollbar-thumb {
    border: 2px solid var(--scroll-track);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--scroll-thumb), var(--accent));
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

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

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

main {
    min-width: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 5vw;
    background: var(--glass-bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 30px rgba(18, 22, 20, .05);
    backdrop-filter: blur(20px);
}

.brand,
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.admin-brand strong {
    overflow: visible;
    white-space: nowrap;
    transition: opacity .2s ease, width .28s ease;
}

.brand span,
.admin-brand span,
.brand img,
.admin-brand img {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--ink), var(--accent));
}

.brand img,
.admin-brand img {
    object-fit: contain;
    padding: 4px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.site-nav a,
.nav-pill,
.btn,
.admin-sidebar a,
.admin-topbar a,
.link-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    padding: 10px 14px;
    font-weight: 750;
}

.site-nav a {
    position: relative;
    color: var(--muted);
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 26%, transparent);
}

.site-nav a:hover {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
    box-shadow: var(--shadow-soft);
}

.site-nav .nav-pill {
    color: var(--accent-ink);
    background: var(--accent);
    /* border: 1px solid var(--accent); */
    box-shadow: var(--shadow-soft);
}

.site-nav .nav-pill:hover {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 26%, transparent);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
    transition: transform .22s ease, opacity .18s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 78vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
    gap: 56px;
    align-items: center;
    padding: 64px 5vw 48px;
    overflow: visible;
}

.hero-copy {
    max-width: 830px;
}

.hero h1,
.project-hero h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: .95;
    font-weight: 750;
}

.hero-lede,
.project-hero p {
    max-width: 760px;
    margin: 26px 0 0;
    font-size: 1.45rem;
    color: var(--ink);
}

.hero-note {
    max-width: 660px;
    color: var(--muted);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-weight: 850;
    text-transform: uppercase;
}

.availability-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    /* margin-bottom: 18px; */
    /* padding: 8px 18px; */
    /* border: 1px solid color-mix(in srgb, var(--accent) 80%, #fff);
    border-radius: 999px; */
    /* color: #fff; */
    /* background: var(--accent); */
    /* box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 26%, transparent); */
}

.availability-pill span {
    width: 6px;
    height: 13px;
    border-radius: 999px;
    background: var(--accent);
    animation: availabilityBeep 2.1s ease-in-out infinite;
}

.hero-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 30px;
}

.btn {
    border: 1px solid var(--line);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.btn.primary {
    border-color: var(--accent);
    color: var(--accent-ink);
    background: var(--accent);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 24%, transparent);
}

.btn.ghost {
    color: var(--ink);
    background: var(--glass-bg);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn.danger {
    color: #fff;
    background: #9f2f2f;
    border-color: #9f2f2f;
}

.signal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.signal-row span,
.chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--muted);
    background: var(--tag-bg);
    font-size: .9rem;
    font-weight: 750;
}

.hero-visual {
    position: relative;
    min-height: 520px;
}

.portrait-frame {
    position: relative;
    height: 520px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, transparent), color-mix(in srgb, var(--coral) 10%, transparent)),
        var(--surface);
    box-shadow: var(--shadow);
}

.portrait-frame::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid color-mix(in srgb, var(--surface) 72%, transparent);
    border-radius: 8px;
    pointer-events: none;
    z-index: 1;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
}

.portrait-frame span {
    display: grid;
    height: 100%;
    place-items: center;
    color: var(--accent);
    font-size: 5rem;
    font-weight: 850;
}

.hero-mini-panel {
    position: absolute;
    left: -28px;
    bottom: 28px;
    width: min(260px, calc(100% - 28px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass-bg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-mini-panel span,
.hero-mini-panel strong {
    display: block;
}

.hero-mini-panel span {
    color: var(--muted);
    font-weight: 750;
}

.hero-mini-panel strong {
    margin-top: 3px;
    font-size: 1.1rem;
}

.hero-media {
    position: relative;
    min-height: 520px;
}

.hero-media img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.media-panel {
    position: absolute;
    right: 22px;
    bottom: 22px;
    max-width: 280px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--glass-bg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.media-panel span,
.media-panel strong {
    display: block;
}

.media-panel span,
.card-meta,
.muted,
.admin-table small,
.list-row small {
    color: var(--muted);
}

.section,
.project-hero {
    padding: 58px 5vw;
}

.public-body main > .section {
    border-top: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
    background: var(--section-bg);
}

.public-body main > .section:nth-of-type(odd) {
    background: var(--section-bg-soft);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 26px;
}

.section-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 32px;
    align-items: end;
    margin-bottom: 34px;
}

.section-intro .section-heading {
    margin-bottom: 0;
}

.section-visual {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.section-visual.compact {
    aspect-ratio: 4 / 3;
}

.section-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section h2,
.project-story h2,
.contact-section h2,
.admin-heading h1,
.login-shell h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 2.45rem;
    line-height: 1.08;
    font-weight: 750;
}

.intro-section {
    padding-top: 36px;
    padding-bottom: 36px;
    /* border-block: 1px solid var(--line); */
    background: var(--section-bg);
    /* linear-gradient(135deg, color-mix(in srgb, var(--accent) 92%, #111), var(--accent)); */
}

.intro-section p {
    max-width: 1080px;
    margin: 0;
    font-size: 1.46rem;
    /* color: #30362f; */
    font-weight: 850;
    line-height: 1.45;
}

.intro-section p span {
    padding-inline: 4px;
    background: linear-gradient(transparent 56%,
            color-mix(in srgb, var(--accent) 42%, transparent) 70% 80%,
            transparent 86%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.page-hero {
    padding: 58px 5vw 44px;
    /* border-bottom: 1px solid var(--line); */
    background: var(--hero-wash);
}

.page-hero h1 {
    max-width: 980px;
    margin: 0;
    font-family: var(--font-serif);
    font-size: 4.2rem;
    line-height: 1;
}

.page-hero p:not(.eyebrow) {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.22rem;
}

.contact-quick-links {
    display: grid;
    justify-items: start;
    gap: 10px;
    margin-top: 24px;
}

.contact-quick-links a,
.contact-quick-links > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
    border-radius: 999px;
    color: var(--ink);
    background: var(--tag-bg);
    box-shadow: var(--shadow-soft);
    font-weight: 800;
}

.contact-quick-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.contact-quick-links svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-quick-links span span,
.contact-quick-links a span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.project-grid,
.service-grid,
.testimonial-grid,
.blog-grid,
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

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

.project-card,
.service-card,
.testimonial-card,
.blog-card,
.stat-card,
.panel,
.table-panel,
.admin-form,
.message-panel,
.login-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: none;
}

.project-image {
    display: block;
    aspect-ratio: 16 / 8.6;
    overflow: hidden;
    background: var(--surface-strong);
}

.project-image img,
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.project-card:hover .project-image img,
.blog-card:hover .blog-image img {
    transform: scale(1.035);
}

.project-section .project-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.project-card {
    overflow: hidden;
}

.project-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.project-meta-left {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}

.project-meta-left>span:not(.project-indicator) {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px 8px;
    background: var(--tag-bg);
}

.project-indicator,
.project-action-icons a {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 11px;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 11%, var(--surface));
}

.project-indicator svg,
.project-action-icons svg,
.publication-icon svg,
.publication-card a svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-action-icons {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
}

.project-action-icons a {
    color: var(--muted);
}

.project-action-icons a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.blog-section {
    background: var(--section-bg);
}

.blog-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-strong);
    border-radius: var(--radius) var(--radius) 0 0;
}

.blog-card {
    overflow: hidden;
}

.blog-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    min-height: 360px;
}

.blog-card.featured .blog-image {
    aspect-ratio: auto;
    min-height: 100%;
    border-radius: var(--radius) 0 0 var(--radius);
}

.blog-card.featured .blog-card-body {
    display: grid;
    align-content: center;
}

.blog-card.featured h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
}

.blog-card-body p {
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--accent);
    font-weight: 850;
}

.blog-list-hero {
    position: relative;
    overflow: hidden;
}

.blog-list-hero::after {
    content: "";
    position: absolute;
    right: 5vw;
    bottom: -42px;
    width: min(360px, 40vw);
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
    border-radius: 50%;
    opacity: .45;
}

.project-card,
.service-card,
.testimonial-card,
.blog-card,
.skill-group,
.stat-card,
.panel {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.project-card:hover,
.service-card:hover,
.testimonial-card:hover,
.blog-card:hover,
.skill-group:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
    box-shadow: var(--shadow);
}

.testimonial-card:hover {
    box-shadow: 0 12px 28px rgba(18, 22, 20, .09);
}

.stat-card:hover {
    transform: translateY(-7px) rotateX(3deg);
    border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
    box-shadow: 0 18px 38px rgba(18, 22, 20, .12);
}

.project-card-body,
.blog-card-body,
.service-card,
.testimonial-card,
.panel,
.stat-card,
.message-panel {
    padding: 22px;
}

.project-card .project-card-body {
    padding: 14px;
}

.service-card {
    padding: 16px;
}

.project-card h3,
.service-card h3,
.blog-card h3,
.skill-group h3,
.timeline h3,
.panel h2 {
    margin: 8px 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

.card-meta,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-row {
    margin-top: 18px;
}

.tag-row span {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: var(--tag-bg);
    font-size: .9rem;
    font-weight: 750;
    padding: 2px 8px;
}

.tag-row.large span {
    font-size: 1rem;
}

.band {
    background: var(--section-bg);
}

.service-section .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.service-card {
    min-height: auto;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -44% 18%;
    height: 92px;
    border-radius: 999px;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 68%);
    opacity: 0;
    transform: translateY(16px) scale(.9);
    transition: opacity .28s ease, transform .28s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
    border-radius: 38% 62% 44% 56% / 58% 40% 60% 42%;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 12%, transparent);
    font-size: 1.08rem;
    font-weight: 850;
    transition: transform .28s ease, border-radius .28s ease;
}

.service-card:hover .service-icon {
    border-radius: 54% 46% 62% 38% / 42% 60% 40% 58%;
    transform: translateY(-2px) rotate(-3deg);
}

.service-card p,
.project-card p {
    font-size: .92rem;
    line-height: 1.55;
}

.service-card ul,
.timeline ul {
    margin: 14px 0 0;
    padding-left: 18px;
    font-size: .92rem;
}

.split-section,
.flow-section,
.publication-section,
.contact-section,
.project-story {
    display: grid;
    grid-template-columns: minmax(240px, .45fr) minmax(0, 1fr);
    gap: 44px;
}

.sticky-section-title {
    position: sticky;
    top: 94px;
    align-self: start;
}

.sticky-section-title .section-heading {
    margin-bottom: 0;
}

.skill-groups {
    display: grid;
    gap: 16px;
}

.skill-group {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.skill-meter {
    margin-top: 14px;
}

.skill-meter div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-weight: 750;
}

.skill-meter i {
    display: block;
    width: 0;
    height: 12px;
    margin-top: 8px;
    border-radius: 999px 24px 999px 24px;
    background:
        linear-gradient(90deg, var(--accent), var(--amber)),
        var(--surface-strong);
    transition: width 1.85s cubic-bezier(.16, 1, .3, 1), filter .45s ease;
}

.skill-meter i.is-visible {
    width: var(--skill-width);
    filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--accent) 26%, transparent));
}

.timeline {
    display: grid;
    gap: 18px;
}

.flow-section {
    background: var(--section-bg);
}

.education-section {
    background: var(--section-bg);
}

.flow-list {
    position: relative;
    display: grid;
    gap: 18px;
}

.flow-list::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 14%, transparent));
    transform-origin: top;
    animation: flowGrow 1.4s cubic-bezier(.16, 1, .3, 1) both;
}

.flow-card {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
}

.flow-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
    border-radius: 18px;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
    box-shadow: 0 14px 32px color-mix(in srgb, var(--accent) 13%, transparent);
}

.flow-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flow-card time {
    display: inline-flex;
    color: var(--accent);
    font-weight: 850;
}

.flow-card h3 {
    margin: 5px 0;
    font-size: 1.28rem;
}

.flow-card p {
    margin: 8px 0 0;
}

.flow-card ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.timeline article {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 22px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.timeline time {
    color: var(--accent);
    font-weight: 850;
}

.testimonial-section {
    overflow: hidden;
    background: var(--section-bg);
    padding-bottom: 70px;
}

.publication-section {
    background: var(--section-bg);
}

.publication-list {
    display: grid;
    gap: 14px;
    max-width: 980px;
}

.publication-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.publication-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
    box-shadow: var(--shadow-soft);
}

.publication-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.publication-meta {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.publication-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 18px;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    font-weight: 850;
}

.publication-icon svg {
    width: 24px;
    height: 24px;
}

.publication-copy {
    min-width: 0;
}

.publication-card h3 {
    margin: 5px 0;
    font-size: 1.18rem;
}

.publication-card p {
    margin: 0;
    color: var(--muted);
}

.publication-link {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}

.publication-link:hover {
    color: var(--accent-ink);
    border-color: var(--accent);
    background: var(--accent);
}

.testimonial-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.testimonial-heading .section-heading {
    margin-bottom: 0;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-controls button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--accent);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    font-weight: 850;
}

.carousel-controls button:hover {
    color: var(--accent-ink);
    border-color: var(--accent);
    background: var(--accent);
}

.testimonial-carousel {
    overflow: hidden;
    margin-inline: -5vw;
    padding: 48px 5vw 44px;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.testimonial-carousel.is-dragging {
    cursor: grabbing;
}

.testimonial-track {
    display: flex;
    gap: 12px;
    width: max-content;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc((100vw - 10vw - 36px) / 4);
    min-width: 220px;
    position: relative;
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 224px;
    padding: 62px 20px 22px;
    white-space: normal;
}

.testimonial-card p {
    min-width: 0;
    position: relative;
    margin: 0;
    padding-left: 22px;
    color: var(--ink);
    font-size: .84rem;
    line-height: 1.45;
}

.testimonial-card p::before {
    content: "\201C";
    position: absolute;
    left: 0;
    top: -.18em;
    color: var(--accent);
    font-family: var(--font-serif);
    font-size: 2.6rem;
    line-height: 1;
}

.testimonial-card img {
    position: absolute;
    top: -24px;
    left: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--surface);
    box-shadow: 0 10px 24px rgba(18, 22, 20, .12);
}

.testimonial-card img.avatar-fallback {
    padding: 6px;
    background: color-mix(in srgb, var(--accent) 9%, var(--surface));
    object-fit: contain;
}

.testimonial-card span {
    display: block;
    margin-top: auto;
}

.testimonial-card small {
    display: block;
    color: var(--muted);
    font-size: .72rem;
}

.contact-section {
    align-items: start;
    grid-template-columns: minmax(240px, .5fr) minmax(320px, .5fr);
}

.contact-form,
.admin-form {
    display: grid;
    gap: 16px;
}

.contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(620px, 100%);
}

label {
    display: grid;
    align-content: start;
    align-self: start;
    gap: 7px;
    color: var(--ink);
    font-weight: 750;
}

label:not(.file-picker-button) {
    pointer-events: none;
}

label:not(.file-picker-button) :is(input, textarea, select, a, button),
.check-row input {
    pointer-events: auto;
}

.form-hint {
    color: var(--muted);
    font-weight: 650;
}

.form-hint.warning {
    color: color-mix(in srgb, var(--amber) 74%, var(--ink));
}

.form-hint a {
    color: var(--accent);
    font-weight: 850;
}

.full {
    grid-column: 1 / -1;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px 13px;
    color: var(--ink);
    background: var(--surface);
}

input[type="file"] {
    padding: 10px;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(15, 118, 110, .2);
    outline-offset: 2px;
}

select {
    min-height: 48px;
}

.notice {
    grid-column: 1 / -1;
    border-radius: var(--radius);
    padding: 12px 14px;
    font-weight: 750;
}

.notice.success {
    color: #0f5132;
    background: #dff5e7;
}

.notice.error {
    color: #842029;
    background: #f8d7da;
}

.newsletter-panel {
    display: grid;
    width: min(780px, 100%);
    grid-template-columns: minmax(0, .78fr) minmax(240px, .55fr);
    gap: 18px;
    align-items: center;
    margin-inline: auto;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.newsletter-panel h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.36rem;
    line-height: 1.08;
}

.newsletter-panel p:last-child {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.45;
}

.newsletter-form {
    display: grid;
    gap: 8px;
}

.newsletter-copy {
    display: grid;
    justify-items: start;
    gap: 12px;
}

.newsletter-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: var(--radius);
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);
}

.newsletter-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1fr);
    min-height: 190px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 48px 5vw;
    border-top: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line));
    color: var(--muted);
    background: var(--section-bg-soft);
}

.footer-identity {
    display: grid;
    gap: 8px;
}

.footer-identity::before {
    content: none;
}

.footer-identity strong {
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.34rem;
    line-height: 1.05;
}

.footer-identity p {
    margin: 0;
}

.footer-email {
    width: max-content;
    color: var(--accent);
    font-weight: 800;
}

.footer-copy {
    color: var(--muted);
    font-size: .9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.footer-links a {
    display: grid;
    width: 46px;
    height: 46px;
    min-height: 46px;
    place-items: center;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line));
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--tag-bg);
}

.footer-links a:hover {
    color: var(--accent-ink);
    border-color: var(--accent);
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.footer-links svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    border-bottom: 1px solid var(--line);
    background: var(--hero-wash);
}

.project-hero p {
    color: var(--ink);
}

.project-hero-copy {
    max-width: 980px;
}

.back-link {
    width: max-content;
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--accent);
    background: var(--surface);
    font-weight: 850;
    box-shadow: var(--shadow-soft);
}

.back-link:hover {
    color: var(--accent-ink);
    background: var(--accent);
    border-color: var(--accent);
}

.article-hero .back-link {
    position: relative;
    z-index: 1;
    border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
    color: var(--accent);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 10%, transparent);
}

.article-hero .back-link:hover {
    color: var(--accent-ink);
    background: var(--accent);
    border-color: var(--accent);
}

.project-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.project-detail-meta span {
    display: inline-grid;
    gap: 2px;
    min-width: 128px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass-bg);
    box-shadow: var(--shadow-soft);
}

.project-detail-meta strong {
    color: var(--accent);
    font-size: .78rem;
    text-transform: uppercase;
}

.project-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--accent);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    font-weight: 850;
}

.project-action:hover {
    color: var(--accent-ink);
    border-color: var(--accent);
    background: var(--accent);
}

.project-cover {
    margin: 0;
    padding: 0 5vw;
    background: var(--section-bg);
}

.project-cover img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
}

.project-overview {
    display: grid;
    gap: 32px;
    background: transparent;
}

.project-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.project-overview-head h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1;
}

.project-overview-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.project-overview-actions.project-action-icons {
    flex-wrap: nowrap;
    gap: 8px;
}

.project-overview-actions.project-action-icons a {
    width: 42px;
    height: 42px;
    border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line));
    border-radius: 13px;
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
    color: color-mix(in srgb, var(--ink) 56%, var(--accent));
    box-shadow: 0 16px 32px rgba(18, 28, 25, .08);
}

.project-overview-actions.project-action-icons a:hover {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 16%, var(--surface));
    box-shadow: 0 18px 36px color-mix(in srgb, var(--accent) 16%, transparent);
}

.project-overview-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(330px, .82fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.project-overview-image {
    position: sticky;
    top: 96px;
    margin: 0;
}

.project-overview-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.project-overview-copy {
    display: grid;
    align-content: start;
    gap: 18px;
}

.project-overview-copy > div {
    color: var(--ink);
    font-size: 1.08rem;
}

.project-story article {
    max-width: 820px;
}

.article-shell {
    --article-pad: 5vw;
    --article-top-pad: 58px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(360px, .58fr);
    gap: clamp(30px, 4.4vw, 68px);
    align-items: stretch;
    padding: var(--article-top-pad) var(--article-pad) 0;
    overflow: visible;
    isolation: isolate;
    color: var(--ink);
    background: var(--section-bg);
}

.article-shell::after {
    content: "";
    position: absolute;
    right: 5vw;
    top: 72px;
    z-index: 0;
    width: min(360px, 40vw);
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
    border-radius: 50%;
    opacity: .45;
    pointer-events: none;
}

.article-shell:not(.has-cover) {
    grid-template-columns: minmax(0, 1fr);
}

.article-hero {
    position: relative;
    z-index: 1;
    grid-column: 1;
    display: grid;
    align-content: start;
    gap: 36px;
    padding: 0 0 clamp(30px, 4vw, 48px);
    color: var(--ink);
    isolation: isolate;
}

.article-hero::before {
    content: "";
    position: absolute;
    top: calc(var(--article-top-pad) * -1);
    bottom: 0;
    left: calc(var(--article-pad) * -1);
    z-index: 0;
    width: 100vw;
    border-bottom: 1px solid var(--line);
    background: var(--hero-wash);
    pointer-events: none;
}

.article-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

.article-hero .eyebrow {
    display: block;
    width: fit-content;
    margin: 4px 0 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--accent);
    background: transparent;
    box-shadow: none;
}

.article-hero h1 {
    max-width: 980px;
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5.2vw, 4.2rem);
    line-height: 1;
    overflow-wrap: anywhere;
}

.article-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 1.24rem;
}

.article-cover-rail {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
    min-width: 0;
    padding-bottom: 72px;
    overflow: visible;
}

.article-hero-media {
    position: sticky;
    top: 104px;
    z-index: 1;
    width: 100%;
    margin: 86px 0 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    box-shadow: none;
}

.article-hero-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-height: none;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 22px 52px rgba(20, 42, 35, .18);
}

.article-body {
    position: relative;
    z-index: 1;
    grid-column: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    justify-items: start;
    padding: 4px 0 76px;
    background: transparent;
}

.article-body.has-side-image {
    grid-template-columns: minmax(0, .68fr) minmax(260px, .32fr);
    justify-items: stretch;
}

.article-body>div,
.article-content {
    width: min(780px, 100%);
    color: var(--ink);
    font-size: 1.12rem;
    text-align: justify;
    text-justify: inter-word;
}

.article-content p,
.article-content li {
    text-align: justify;
    text-justify: inter-word;
}

.article-content> :first-child {
    margin-top: 0;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content pre,
.article-content figure,
.article-content blockquote {
    text-align: start;
}

.article-side-image {
    position: sticky;
    top: 94px;
    width: 100%;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent), color-mix(in srgb, var(--coral) 8%, transparent)),
        var(--surface);
    box-shadow: var(--shadow-soft);
}

.article-side-image img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: var(--radius);
}

.article-body h2,
.article-body h3 {
    font-family: var(--font-serif);
    line-height: 1.12;
}

.article-body a {
    color: var(--accent);
    font-weight: 850;
}

.article-body blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}

.article-content pre {
    overflow-x: auto;
    margin: 28px 0;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    color: #dbeafe;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .14), rgba(183, 121, 31, .08)),
        #101614;
    box-shadow: var(--shadow-soft);
}

.article-content code {
    border-radius: 6px;
    padding: .15rem .35rem;
    color: #0f5f59;
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: .92em;
}

.article-content pre code {
    padding: 0;
    color: inherit;
    background: transparent;
    font-size: .95rem;
    text-shadow: none;
    white-space: pre;
}

.article-content pre .token.comment,
.article-content pre .token.prolog,
.article-content pre .token.doctype,
.article-content pre .token.cdata,
.article-content pre .hljs-comment {
    color: #94a3b8;
}

.article-content pre .token.punctuation,
.article-content pre .token.operator {
    color: #d7dee8;
}

.article-content pre .token.property,
.article-content pre .token.tag,
.article-content pre .token.boolean,
.article-content pre .token.constant,
.article-content pre .token.symbol,
.article-content pre .token.deleted,
.article-content pre .hljs-keyword,
.article-content pre .hljs-selector-tag,
.article-content pre .hljs-literal {
    color: #67e8f9;
}

.article-content pre .token.selector,
.article-content pre .token.attr-name,
.article-content pre .token.string,
.article-content pre .token.char,
.article-content pre .token.builtin,
.article-content pre .token.inserted,
.article-content pre .hljs-string,
.article-content pre .hljs-attr,
.article-content pre .hljs-attribute {
    color: #86efac;
}

.article-content pre .token.entity,
.article-content pre .token.url,
.article-content pre .language-css .token.string,
.article-content pre .style .token.string {
    color: #fde68a;
}

.article-content pre .token.atrule,
.article-content pre .token.attr-value,
.article-content pre .token.keyword,
.article-content pre .token.variable {
    color: #f0abfc;
}

.article-content pre .token.function,
.article-content pre .token.class-name,
.article-content pre .token.regex,
.article-content pre .token.important,
.article-content pre .hljs-number,
.article-content pre .hljs-built_in,
.article-content pre .hljs-title {
    color: #fbbf24;
}

.article-content pre .token.important,
.article-content pre .token.bold {
    font-weight: 850;
}

.article-content pre .token.italic {
    font-style: italic;
}

.article-content figure:not(.article-side-image) {
    max-width: 100%;
    margin: 30px auto;
}

.article-content figure:not(.article-side-image) img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.article-content figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: .92rem;
}

.empty-state {
    margin: 0;
    color: var(--muted);
}

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 5vw;
    background: var(--section-bg);
}

.login-shell {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: center;
}

.login-shell section p:last-child {
    max-width: 520px;
    color: var(--muted);
}

.login-card,
.admin-form {
    display: grid;
    padding: 24px;
}

.login-card {
    gap: 16px;
}

.compact-auth-shell {
    width: min(860px, 100%);
    grid-template-columns: minmax(0, .9fr) minmax(300px, 360px);
    gap: 20px;
}

.compact-auth-shell h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.compact-auth-shell section p:last-child {
    margin-bottom: 0;
}

.compact-auth-card {
    gap: 10px;
    padding: 18px;
}

.compact-auth-card label {
    gap: 4px;
    font-size: .92rem;
}

.compact-auth-card input {
    min-height: 40px;
    padding: 8px 11px;
}

.compact-auth-card .notice {
    padding: 10px 12px;
}

.compact-auth-card .btn,
.compact-auth-card .back-link {
    min-height: 38px;
    padding: 8px 12px;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.login-options .text-link {
    margin-top: 0;
}

.check-row {
    display: inline-flex;
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
    gap: 9px;
}

.check-row input {
    width: 18px;
    height: 18px;
}

.admin-body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 284px minmax(0, 1fr);
    transition: grid-template-columns .28s ease;
}

.admin-body.admin-sidebar-collapsed,
html.admin-sidebar-collapsed-preload .admin-body {
    grid-template-columns: 72px minmax(0, 1fr);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 18px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--accent) 34%, #17201c), #111815 78%),
        #17201c;
    color: #f7f8f4;
    overflow-y: auto;
    box-shadow: 12px 0 34px rgba(18, 22, 20, .08);
    transition: padding .28s ease;
}

.sidebar-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 10px;
    align-items: center;
}

.admin-sidebar .admin-brand {
    min-width: 0;
}

.admin-sidebar .admin-brand strong {
    max-width: 150px;
    color: rgba(255, 255, 255, .9);
    font-size: .94rem;
    line-height: 1.12;
    white-space: normal;
}

.admin-sidebar nav {
    display: grid;
    gap: 5px;
    margin-top: 22px;
}

.admin-sidebar a {
    position: relative;
    overflow: hidden;
    min-height: 40px;
    gap: 9px;
    justify-content: start;
    padding: 7px 10px;
    color: rgba(247, 248, 244, .72);
    font-size: .94rem;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.admin-nav-label {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity .2s ease, width .28s ease;
}

.admin-nav-icon {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.admin-nav-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-sidebar a.active .admin-nav-icon,
.admin-sidebar a:hover .admin-nav-icon {
    color: var(--accent);
    background: #fff;
}

.sidebar-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    color: #fff;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, .14);
}

.sidebar-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .24s ease, width .24s ease;
}

.sidebar-toggle span+span {
    margin-top: 0;
}

.admin-body.admin-sidebar-collapsed .admin-sidebar,
html.admin-sidebar-collapsed-preload .admin-sidebar {
    padding-inline: 12px;
}

.admin-body.admin-sidebar-collapsed .sidebar-head,
html.admin-sidebar-collapsed-preload .sidebar-head {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
}

.admin-body.admin-sidebar-collapsed .admin-brand,
html.admin-sidebar-collapsed-preload .admin-brand {
    justify-content: center;
    gap: 0;
}

.admin-body.admin-sidebar-collapsed .admin-brand strong,
.admin-body.admin-sidebar-collapsed .admin-nav-label,
html.admin-sidebar-collapsed-preload .admin-brand strong,
html.admin-sidebar-collapsed-preload .admin-nav-label {
    width: 0;
    opacity: 0;
}

.admin-body.admin-sidebar-collapsed .sidebar-toggle,
html.admin-sidebar-collapsed-preload .sidebar-toggle {
    width: 30px;
    height: 30px;
    order: -1;
    margin-inline: auto;
}

.admin-body.admin-sidebar-collapsed .sidebar-toggle span:first-child,
html.admin-sidebar-collapsed-preload .sidebar-toggle span:first-child {
    width: 13px;
    transform: translateY(3px) rotate(38deg);
}

.admin-body.admin-sidebar-collapsed .sidebar-toggle span:last-child,
html.admin-sidebar-collapsed-preload .sidebar-toggle span:last-child {
    width: 13px;
    transform: translateY(-3px) rotate(-38deg);
}

.admin-body.admin-sidebar-collapsed .admin-sidebar nav,
html.admin-sidebar-collapsed-preload .admin-sidebar nav {
    margin-top: 18px;
}

.admin-body.admin-sidebar-collapsed .admin-sidebar a,
html.admin-sidebar-collapsed-preload .admin-sidebar a {
    width: 42px;
    min-height: 42px;
    gap: 0;
    justify-content: center;
    align-items: center;
    justify-self: center;
    padding: 6px;
}

.admin-body.admin-sidebar-collapsed .admin-sidebar a.active,
html.admin-sidebar-collapsed-preload .admin-sidebar a.active,
.admin-body.admin-sidebar-collapsed .admin-sidebar a:hover,
html.admin-sidebar-collapsed-preload .admin-sidebar a:hover {
    padding: 6px;
}

.admin-body.admin-sidebar-collapsed .admin-nav-icon,
html.admin-sidebar-collapsed-preload .admin-nav-icon,
.admin-body.admin-sidebar-collapsed .admin-sidebar a.active .admin-nav-icon,
html.admin-sidebar-collapsed-preload .admin-sidebar a.active .admin-nav-icon {
    margin-inline: auto;
}

.admin-body.admin-sidebar-collapsed .admin-nav-badge,
html.admin-sidebar-collapsed-preload .admin-nav-badge {
    position: absolute;
    top: 5px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    margin-left: 0;
    font-size: .62rem;
}

.admin-nav-badge {
    min-width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    margin-left: auto;
    border-radius: 999px;
    color: #fff;
    background: #e14d3a;
    font-size: .78rem;
    font-weight: 850;
    box-shadow: 0 0 0 0 rgba(225, 77, 58, .58);
    animation: unreadBeep 1.25s ease-in-out infinite;
}

.admin-main {
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 248, 244, .92);
    backdrop-filter: blur(18px);
}

.link-button,
.actions button {
    border: 0;
    color: var(--accent);
    background: transparent;
    cursor: pointer;
    padding: 0;
    font-weight: 800;
}

.admin-content {
    padding: 34px;
}

.admin-heading,
.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.admin-heading h1 {
    margin: 0;
}

.stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin-bottom: 22px;
}

.stat-card {
    position: relative;
    display: grid;
    min-height: 120px;
    align-content: space-between;
    gap: 18px;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: statRise 1.15s cubic-bezier(.16, 1, .3, 1) both;
}

.stat-card-head {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.stat-label {
    display: block;
    min-width: 0;
    color: var(--muted);
    font-weight: 800;
    line-height: 1.14;
    overflow-wrap: anywhere;
    white-space: normal;
}

.stat-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
    border-radius: 15px;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, #fff);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 10%, transparent);
    transition: transform .28s ease, color .28s ease, background .28s ease;
}

.stat-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-card::after {
    content: "";
    position: absolute;
    inset: auto -30% -55% 18%;
    height: 82px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 26%, transparent), transparent 68%);
    opacity: 0;
    transform: translateY(18px) scale(.88);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
}

.stat-card:hover::after {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stat-card:nth-child(2) {
    animation-delay: .05s;
}

.stat-card:nth-child(3) {
    animation-delay: .1s;
}

.stat-card:nth-child(4) {
    animation-delay: .15s;
}

.stat-card:nth-child(5) {
    animation-delay: .2s;
}

.stat-card:nth-child(6) {
    animation-delay: .25s;
}

.stat-card:nth-child(7) {
    animation-delay: .3s;
}

.stat-card:nth-child(8) {
    animation-delay: .35s;
}

.stat-card strong {
    display: block;
    margin-top: 0;
    font-size: 2rem;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    transition: color .28s ease, transform .28s ease;
}

.stat-card:hover strong {
    color: var(--accent);
    transform: translateZ(14px) scale(1.08);
}

.stat-card:hover .stat-icon {
    color: #fff;
    background: var(--accent);
    transform: translateZ(18px) rotate(-4deg) scale(1.06);
}

.admin-grid.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.panel-heading {
    margin-bottom: 14px;
}

.panel-heading a,
.actions a,
.admin-topbar a {
    color: var(--accent);
    font-weight: 850;
}

.list-stack {
    display: grid;
    gap: 10px;
}

.list-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.list-row span,
.admin-table td:first-child {
    min-width: 0;
}

.list-row strong,
.list-row small,
.admin-table strong,
.admin-table small {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.theme-color-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.color-control {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 8px;
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.color-field input[type="color"] {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.color-field input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-field input[type="color"]::-webkit-color-swatch {
    border: 0;
    border-radius: 6px;
}

.color-field input[type="color"]::-moz-color-swatch {
    border: 0;
    border-radius: 6px;
}

.color-value {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 6px;
    color: var(--muted);
    background: var(--surface-strong);
    font-size: .86rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.home-order-list {
    display: grid;
    gap: 10px;
}

.home-order-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 8px 12px 8px 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: grab;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.home-order-item:active {
    cursor: grabbing;
}

.home-order-item.is-dragging {
    opacity: .55;
    transform: scale(.99);
}

.home-order-item.is-drag-over {
    border-color: var(--accent);
    box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 12%, transparent);
}

.home-order-handle {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    gap: 3px;
    border-radius: var(--radius);
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 9%, var(--surface));
}

.home-order-handle span {
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.home-order-name {
    min-width: 0;
    font-weight: 850;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    color: var(--accent);
    font-size: .85rem;
    font-weight: 850;
    text-transform: uppercase;
}

.form-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.field-label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-weight: 750;
}

.file-field {
    display: grid;
    align-content: start;
    align-self: start;
    gap: 7px;
    color: var(--ink);
    font-weight: 750;
}

.file-field .field-label {
    margin-bottom: 0;
}

.file-picker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.file-picker:focus-within {
    outline: 3px solid rgba(15, 118, 110, .2);
    outline-offset: 2px;
}

.file-picker-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.file-picker-button {
    display: inline-flex;
    width: max-content;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: calc(var(--radius) - 4px);
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 9%, var(--surface));
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.file-picker-button:hover {
    color: var(--surface);
    background: var(--accent);
    transform: translateY(-1px);
}

.file-picker-name {
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select-field select {
    min-height: 58px;
    padding-inline: 18px 42px;
    font-weight: 850;
}

.tinymce-field {
    gap: 10px;
}

.tinymce-editor {
    min-height: 520px;
    font-family: var(--font-sans);
}

.tox.tox-tinymce {
    border-color: var(--line);
    border-radius: var(--radius);
}

.tox .tox-toolbar,
.tox .tox-toolbar__overflow,
.tox .tox-toolbar__primary {
    background: var(--surface-strong);
}

.tox .tox-tbtn {
    border-radius: var(--radius);
}

.tox .tox-statusbar {
    border-top-color: var(--line);
}

.cover-uploader {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-strong);
}

.avatar-uploader {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-strong);
}

.avatar-preview {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 850;
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-preview {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--muted);
    font-weight: 850;
}

.cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.portrait-uploader {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-strong);
}

.portrait-current {
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.portrait-current img,
.portrait-placeholder {
    width: 100%;
    height: 100%;
}

.portrait-current img {
    object-fit: cover;
}

.portrait-placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 4rem;
    font-weight: 900;
}

.portrait-controls,
.crop-workbench {
    display: grid;
    gap: 14px;
}

.crop-workbench[hidden] {
    display: none;
}

.crop-workbench canvas {
    width: min(440px, 100%);
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: grab;
    touch-action: none;
}

.crop-workbench canvas:active {
    cursor: grabbing;
}

.crop-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.table-panel {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    font-size: .85rem;
    text-transform: uppercase;
}

.admin-table td:first-child {
    max-width: 420px;
}

.actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
}

.chip.accent {
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
}

.message-panel dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px;
}

.message-panel dt {
    color: var(--muted);
    font-weight: 800;
}

.message-panel dd {
    margin: 0;
}

.toast-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 80;
    display: grid;
    width: min(390px, calc(100vw - 36px));
    gap: 10px;
}

.toast {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 14px 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    font-weight: 750;
}

.toast.success {
    color: #0f5132;
    border-color: rgba(15, 118, 110, .32);
    background: #e4f7ee;
}

.toast.error {
    color: #7a1f1f;
    border-color: rgba(159, 47, 47, .38);
    background: #ffe8e2;
}

.toast button {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: var(--radius);
    color: var(--muted);
    background: rgba(18, 22, 20, .06);
    cursor: pointer;
    line-height: 1;
}

.toast.is-hiding {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-copy {
        animation: riseIn .75s ease both;
    }

    .reveal-ready {
        opacity: 0;
        transform: translateY(22px);
        transition: opacity .65s ease, transform .65s ease;
    }

    .reveal-ready.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    @keyframes riseIn {
        from {
            opacity: 0;
            transform: translateY(18px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes statRise {
        from {
            opacity: 0;
            transform: translateY(16px) scale(.98);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    @keyframes availabilityBeep {

        0%,
        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 48%, transparent);
        }

        50% {
            transform: scale(1.12);
            box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 0%, transparent);
        }
    }

    @keyframes flowGrow {
        from {
            transform: scaleY(0);
        }

        to {
            transform: scaleY(1);
        }
    }

    @keyframes unreadBeep {

        0%,
        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(225, 77, 58, .58);
        }

        50% {
            transform: scale(1.08);
            box-shadow: 0 0 0 8px rgba(225, 77, 58, 0);
        }
    }
}

@media (prefers-reduced-motion: reduce) {

    .admin-nav-badge,
    .stat-card {
        animation: none;
    }
}

@media (max-width: 1100px) {

    .hero,
    .project-hero,
    .section-intro,
    .split-section,
    .flow-section,
    .publication-section,
    .contact-section,
    .project-story,
    .project-overview,
    .project-overview-layout,
    .login-shell,
    .newsletter-panel,
    .article-body.has-side-image {
        grid-template-columns: 1fr;
    }

    .article-shell {
        grid-template-columns: 1fr;
    }

    .article-hero,
    .article-body,
    .article-cover-rail {
        grid-column: 1;
    }

    .article-cover-rail {
        grid-row: auto;
        padding-bottom: 28px;
    }

    .article-hero {
        min-height: auto;
    }

    .article-hero-media {
        margin-top: 0;
        position: relative;
        top: auto;
    }

    .sticky-section-title,
    .project-overview-image {
        position: static;
        top: auto;
    }

    .hero h1,
    .project-hero h1,
    .page-hero h1 {
        font-size: 4rem;
    }

    .project-grid,
    .project-grid.compact,
    .service-grid,
    .testimonial-grid,
    .blog-grid,
    .blog-grid.compact,
    .stat-grid,
    .admin-grid.two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .blog-card.featured {
        grid-column: 1 / -1;
    }

    .testimonial-card {
        flex-basis: calc((100vw - 10vw - 12px) / 2);
    }

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

    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-body.admin-sidebar-collapsed {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        overflow: visible;
    }

    .sidebar-toggle {
        display: none;
    }

    .sidebar-head {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .admin-sidebar .admin-brand strong,
    .admin-body.admin-sidebar-collapsed .admin-brand strong,
    .admin-body.admin-sidebar-collapsed .admin-nav-label {
        width: auto;
        opacity: 1;
    }

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

    .admin-body.admin-sidebar-collapsed .admin-sidebar nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-body.admin-sidebar-collapsed .admin-sidebar a,
    .admin-sidebar a {
        justify-content: start;
        padding-inline: 10px;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 15px;
    }

    .site-header {
        align-items: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        max-height: 0;
        margin-top: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transform: translateY(-8px);
        transition: max-height .32s ease, margin-top .32s ease, opacity .2s ease, transform .32s ease, visibility 0s linear .32s;
    }

    .site-nav a {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .site-header.is-open .site-nav {
        max-height: 680px;
        margin-top: 4px;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateY(0);
        transition: max-height .32s ease, margin-top .32s ease, opacity .2s ease, transform .32s ease, visibility 0s linear 0s;
    }

    .hero,
    .section,
    .project-hero {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero h1,
    .project-hero h1 {
        font-size: 3.05rem;
    }

    .hero-lede,
    .project-hero p,
    .intro-section p {
        font-size: 1.12rem;
    }

    .section h2,
    .project-story h2,
    .contact-section h2,
    .admin-heading h1,
    .login-shell h1 {
        font-size: 2rem;
    }

    .hero-media,
    .hero-media img,
    .hero-media .portrait-placeholder {
        min-height: 380px;
        height: 380px;
    }

    .article-shell {
        --article-pad: 22px;
        --article-top-pad: 78px;
        padding: 78px 22px 0;
    }

    .article-hero {
        gap: 28px;
        padding: 0 0 20px;
    }

    .article-hero h1 {
        font-size: 3rem;
    }

    .article-hero-media img {
        max-height: none;
    }

    .article-body {
        padding-left: 0;
        padding-right: 0;
    }

    .article-body>div,
    .article-content,
    .article-content p,
    .article-content li {
        text-align: start;
    }

    .page-hero {
        padding: 48px 22px 38px;
    }

    .page-hero h1 {
        font-size: 3rem;
    }

    .project-grid,
    .project-grid.compact,
    .service-grid,
    .testimonial-grid,
    .blog-grid,
    .blog-grid.compact,
    .stat-grid,
    .admin-grid.two,
    .form-grid,
    .contact-form,
    .portrait-uploader,
    .theme-color-grid,
    .message-panel dl {
        grid-template-columns: 1fr;
    }

    .project-section .project-grid {
        grid-template-columns: 1fr;
    }

    .timeline article {
        grid-template-columns: 1fr;
    }

    .site-footer,
    .admin-heading,
    .panel-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .admin-content {
        padding: 22px;
    }

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

    .admin-body.admin-sidebar-collapsed .admin-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-table {
        min-width: 720px;
    }

    .blog-card.featured,
    .cover-uploader,
    .avatar-uploader {
        grid-template-columns: 1fr;
    }

    .blog-card.featured .blog-image {
        min-height: auto;
        aspect-ratio: 16 / 9;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .article-side-image {
        position: static;
    }

    .testimonial-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .testimonial-card {
        flex-basis: 84vw;
        min-width: 84vw;
    }

    .newsletter-copy {
        align-items: flex-start;
    }
}
