:root {
    --color-ink: #29353c;
    --color-ink-strong: #1f2a31;
    --color-primary: #44576d;
    --color-secondary: #768a96;
    --color-soft: #aac7d8;
    --color-cloud: #dfebf6;
    --color-surface: #e6e6e6;
    --color-white: #ffffff;
    --color-success: #1b5f53;
    --color-danger: #8a3b3b;
    --line-soft: rgba(41, 53, 60, 0.1);
    --line-strong: rgba(41, 53, 60, 0.18);
    --shadow-soft: 0 18px 40px rgba(41, 53, 60, 0.06);
    --shadow-medium: 0 24px 56px rgba(41, 53, 60, 0.1);
    --shadow-hero: 0 28px 72px rgba(31, 42, 49, 0.24);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --container: 1180px;
    --font-sans: "Roboto", "Segoe UI", sans-serif;
    --font-display: "Hind", "Roboto", "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-ink);
    background: #f8fafb;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 70%);
    opacity: 0.55;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

p,
ul,
h1,
h2,
h3 {
    margin-top: 0;
}

ul {
    padding-left: 1.2rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(170, 199, 216, 0.55);
    outline-offset: 3px;
}

.site-progress {
    position: fixed;
    inset: 0 auto auto 0;
    z-index: 50;
    width: 100%;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--color-soft), var(--color-primary));
    box-shadow: 0 8px 20px rgba(68, 87, 109, 0.12);
}

.site-shell {
    min-height: 100vh;
}

.site-main {
    position: relative;
    overflow: clip;
}

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

.narrow {
    width: min(780px, 100%);
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    position: relative;
}

.section-alt::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.62);
    border-top: 1px solid rgba(41, 53, 60, 0.05);
    border-bottom: 1px solid rgba(41, 53, 60, 0.05);
}

.section-alt > * {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.eyebrow::before {
    content: "";
    width: 2.5rem;
    height: 1px;
    background: currentColor;
    opacity: 0.62;
}

.section-heading {
    margin-bottom: 2rem;
    text-align: center;
}

.section-heading-left {
    text-align: left;
    margin-bottom: 0;
}

.section-heading h2,
.page-intro h1,
.hero-copy h1,
.hero-panel h2,
.cta-card h2,
.project-row-body h2,
.project-hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.02;
}

.section-heading h2,
.page-intro h1,
.project-hero h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    margin-bottom: 0.85rem;
}

.section-heading p,
.page-lead,
.hero-lead,
.footer-copy,
.project-row p,
.stack-card p,
.detail-card p,
.contact-card p {
    color: var(--color-secondary);
    font-size: 0.98rem;
}

.page-intro {
    padding-top: 1.8rem;
    padding-bottom: 0.8rem;
}

.page-intro .container {
    padding: 0.4rem 0 1.6rem;
    border: 0;
    border-bottom: 1px solid rgba(41, 53, 60, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-intro h1 {
    max-width: 16ch;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(248, 250, 251, 0.88);
    border-bottom: 1px solid rgba(41, 53, 60, 0.05);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.is-scrolled .site-header {
    background: rgba(248, 250, 251, 0.96);
    border-color: rgba(41, 53, 60, 0.08);
    box-shadow: 0 8px 22px rgba(41, 53, 60, 0.04);
}

body.nav-open {
    overflow: hidden;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--color-ink), var(--color-primary));
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.brand-copy strong {
    font-size: 0.97rem;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.brand-copy small {
    max-width: 34ch;
    color: var(--color-secondary);
    font-size: 0.74rem;
    line-height: 1.4;
}

.site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.75rem);
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.8rem;
    border: 1px solid rgba(41, 53, 60, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-medium);
}

.site-nav.is-open {
    display: flex;
}

.site-nav a {
    position: relative;
    padding: 0.72rem 0.9rem;
    border-radius: 8px;
    color: var(--color-secondary);
    font-size: 0.94rem;
    font-weight: 500;
    transition: color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--color-ink);
    background: rgba(68, 87, 109, 0.08);
    transform: translateY(-1px);
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    width: 2.9rem;
    height: 2.9rem;
    padding: 0.72rem;
    border: 1px solid rgba(41, 53, 60, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(41, 53, 60, 0.18);
    transform: translateY(-1px);
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-ink);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hero-section {
    padding-top: 1.8rem;
}

.hero-grid,
.split-section,
.contact-layout,
.project-hero,
.footer-grid {
    display: grid;
    gap: 1.4rem;
}

.hero-section .container {
    position: relative;
    padding: 0;
    border: 1px solid rgba(41, 53, 60, 0.06);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-section .container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(170, 199, 216, 0.05), transparent 42%);
}

.hero-grid > * {
    position: relative;
    z-index: 1;
}

.hero-copy {
    padding: 2rem 2rem 2rem 2rem;
    color: var(--color-ink);
}

.hero-kicker {
    max-width: 54ch;
    margin: 0.8rem 0 0;
    color: var(--color-secondary);
    font-size: 0.94rem;
    text-transform: none;
    letter-spacing: 0;
}

.hero-copy .eyebrow {
    color: var(--color-primary);
}

.hero-copy .eyebrow::before {
    background: currentColor;
}

.hero-copy h1 {
    margin: 0.95rem 0 1rem;
    font-size: clamp(2.3rem, 4.6vw, 3.9rem);
    max-width: 11ch;
    font-weight: 700;
}

.hero-lead {
    max-width: 60ch;
    color: var(--color-secondary);
    font-size: 0.97rem;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 1.6rem 0 1.4rem;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 3rem;
    padding: 0.82rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(31, 42, 49, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-primary) 100%);
    color: var(--color-white);
}

.btn-secondary {
    background: rgba(68, 87, 109, 0.06);
    border-color: rgba(68, 87, 109, 0.12);
    color: var(--color-ink);
}

.page-intro .btn-secondary,
.project-row .btn-secondary,
.contact-layout .btn-secondary,
.page-error .btn-secondary,
.section:not(.hero-section) .btn-secondary {
    background: rgba(68, 87, 109, 0.06);
    border-color: rgba(68, 87, 109, 0.12);
    color: var(--color-ink);
}

.cta-card .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--color-white);
}

.btn-full {
    width: 100%;
}

.hero-metrics,
.panel-stack,
.footer-list,
.result-list,
.stack-list,
.timeline-list,
.project-list {
    display: grid;
    gap: 1rem;
}

.hero-metrics {
    padding-left: 0;
    margin: 0;
    list-style: none;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hero-metrics li {
    padding: 0.82rem 0.95rem;
    border: 1px solid rgba(41, 53, 60, 0.08);
    border-radius: 8px;
    background: rgba(248, 251, 253, 0.78);
    color: var(--color-ink);
}

.hero-bullets li {
    position: relative;
    padding-left: 1.3rem;
}

.hero-bullets li::before {
    content: "";
    position: absolute;
    top: 1.18rem;
    left: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: rgba(68, 87, 109, 0.5);
}

.card {
    padding: 1.3rem;
    border: 1px solid rgba(41, 53, 60, 0.06);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.hero-panel {
    align-self: stretch;
    padding: 2rem;
    border: 0;
    border-left: 1px solid rgba(41, 53, 60, 0.08);
    border-radius: 0;
    background: rgba(245, 248, 250, 0.9);
    box-shadow: none;
    color: var(--color-ink);
}

.hero-panel h2 {
    margin: 0.9rem 0 1rem;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.hero-panel p {
    color: var(--color-secondary);
}

.hero-stat-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-stat {
    padding: 1rem 0 0;
    border-top: 1px solid rgba(41, 53, 60, 0.08);
}

.hero-stat strong {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--color-ink);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
}

.hero-stat span {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-stat small {
    color: var(--color-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
}

.section-tight {
    padding-top: 0;
    padding-bottom: 1.4rem;
}

.authority-strip {
    display: grid;
    gap: 1rem;
    padding: 0.9rem 0 1.05rem;
    border-top: 1px solid rgba(41, 53, 60, 0.08);
    border-bottom: 1px solid rgba(41, 53, 60, 0.08);
}

.authority-title {
    color: var(--color-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.authority-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.authority-items span {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.authority-items span::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    margin-right: 0.7rem;
    border-radius: 50%;
    background: rgba(68, 87, 109, 0.3);
}

.panel-label,
.detail-label,
.project-category,
.process-badge,
.footer-title {
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.hero-panel .panel-label {
    color: rgba(223, 235, 246, 0.78);
}

.panel-stack div,
.timeline-item,
.highlight-card,
.detail-card,
.stack-card,
.contact-card {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.58);
    padding: 0.9rem 1rem;
}

.hero-panel .panel-stack div {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.panel-stack strong {
    display: block;
    margin-bottom: 0.28rem;
    color: var(--color-white);
}

.panel-stack span {
    color: rgba(223, 235, 246, 0.78);
}

.grid {
    display: grid;
    gap: 1rem;
}

.split-section-wide {
    align-items: start;
}

.value-grid,
.capabilities-grid,
.projects-highlight-grid,
.differentials-grid {
    align-content: start;
}

.cards-2,
.cards-3 {
    grid-template-columns: 1fr;
}

.feature-card,
.capability-card,
.process-card,
.detail-card,
.project-card,
.project-row,
.cta-card,
.form-card,
.stack-card,
.contact-card {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.feature-card h3,
.capability-card h3,
.project-card h3,
.detail-card p,
.project-row h2 {
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.feature-card:hover,
.capability-card:hover,
.process-card:hover,
.project-card:hover,
.project-row:hover,
.cta-card:hover,
.stack-card:hover,
.contact-card:hover,
.form-card:hover {
    transform: translateY(-1px);
    border-color: rgba(68, 87, 109, 0.12);
    box-shadow: 0 14px 28px rgba(41, 53, 60, 0.05);
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.timeline-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 3rem;
    border-radius: 10px;
    background: rgba(170, 199, 216, 0.24);
    color: var(--color-ink);
    font-weight: 700;
}

.project-card,
.project-row,
.project-hero-media {
    overflow: hidden;
    padding: 0;
}

.project-card img,
.project-row img,
.project-hero-media img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    background: linear-gradient(180deg, var(--color-cloud), #f4f8fb);
}

.project-card-body,
.project-row-body {
    padding: 1.25rem;
}

.project-card-body p,
.project-row-body p {
    color: var(--color-secondary);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.46rem 0.75rem;
    border: 1px solid rgba(68, 87, 109, 0.1);
    border-radius: 999px;
    background: rgba(170, 199, 216, 0.16);
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 600;
}

.tag-chip-muted {
    background: rgba(118, 138, 150, 0.08);
    color: var(--color-secondary);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    margin-top: 1rem;
    color: var(--color-primary);
    font-weight: 600;
}

.text-link::after {
    content: "->";
    transition: transform 0.2s ease;
}

.text-link:hover::after {
    transform: translateX(3px);
}

.result-list {
    color: var(--color-secondary);
}

.result-list li {
    margin-bottom: 0.8rem;
}

.result-list-large {
    padding-left: 0;
    list-style: none;
}

.result-list-large li {
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.58);
}

.cta-section {
    padding-top: 1.2rem;
}

.cta-card {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.35rem 1.45rem;
    background:
        linear-gradient(135deg, #33424d 0%, #3b4c59 100%);
    border: 0;
    border-radius: 12px;
    color: var(--color-white);
    box-shadow: 0 16px 30px rgba(41, 53, 60, 0.07);
}

.cta-card > div:first-child {
    flex: 1 1 auto;
    max-width: 760px;
}

.cta-card h2 {
    max-width: 24ch;
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    margin-bottom: 0;
}

.cta-card .eyebrow,
.cta-card p {
    color: rgba(223, 235, 246, 0.78);
}

.cta-card .eyebrow::before {
    background: rgba(223, 235, 246, 0.58);
}

.cta-card .btn,
.cta-card .cta-actions {
    flex: 0 0 auto;
}

.cta-card .cta-actions {
    margin: 0;
}

.contact-layout {
    align-items: start;
}

.contact-card,
.form-card {
    background: rgba(255, 255, 255, 0.94);
}

.project-hero,
.contact-layout,
.split-section {
    align-items: start;
}

.project-hero .page-lead,
.page-intro .page-lead,
.contact-layout .result-list,
.stack-card p,
.detail-card p,
.project-row-body p {
    max-width: 62ch;
}

.page-error .btn-primary,
.page-error .btn-secondary {
    min-width: 220px;
}

.form-card form {
    display: grid;
    gap: 1.15rem;
}

.form-field {
    display: grid;
    gap: 0.5rem;
}

.form-field label {
    font-weight: 600;
    color: var(--color-ink);
}

.checkbox-field {
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--color-secondary);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.15rem;
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    accent-color: var(--color-primary);
}

.text-link-inline {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.88rem 0.92rem;
    border: 1px solid rgba(68, 87, 109, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--color-secondary);
}

.form-field input:hover,
.form-field textarea:hover {
    border-color: rgba(68, 87, 109, 0.2);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(68, 87, 109, 0.35);
    box-shadow: 0 0 0 4px rgba(170, 199, 216, 0.28);
    background: var(--color-white);
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
    border-color: rgba(138, 59, 59, 0.45);
    box-shadow: 0 0 0 4px rgba(138, 59, 59, 0.08);
}

.field-error {
    min-height: 1.1rem;
    color: var(--color-danger);
    font-size: 0.88rem;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-weight: 600;
}

.alert-success {
    background: rgba(27, 95, 83, 0.1);
    border: 1px solid rgba(27, 95, 83, 0.14);
    color: var(--color-success);
}

.alert-error {
    background: rgba(138, 59, 59, 0.08);
    border: 1px solid rgba(138, 59, 59, 0.12);
    color: var(--color-danger);
}

.alert-info {
    background: rgba(170, 199, 216, 0.2);
    border: 1px solid rgba(68, 87, 109, 0.12);
    color: var(--color-primary);
}

.alert-warning {
    background: rgba(118, 138, 150, 0.12);
    border: 1px solid rgba(118, 138, 150, 0.12);
    color: var(--color-ink);
}

.site-footer {
    margin-top: 2rem;
    padding: 2.1rem 0 2.5rem;
    background: linear-gradient(180deg, #27323a 0%, #2d3941 100%);
    color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
    gap: 1.5rem;
}

.site-footer .footer-copy,
.footer-list,
.footer-link {
    color: rgba(223, 235, 246, 0.68);
}

.footer-title {
    margin-bottom: 0.75rem;
    color: rgba(223, 235, 246, 0.86);
}

.footer-list {
    padding-left: 1rem;
}

.footer-link {
    display: block;
    margin-bottom: 0.45rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
    color: var(--color-white);
    transform: translateX(2px);
}

.page-error {
    min-height: 60vh;
    display: grid;
    place-items: center;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (min-width: 760px) {
    .section {
        padding: 6rem 0;
    }

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

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

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

    .project-row {
        display: grid;
        grid-template-columns: minmax(260px, 360px) 1fr;
    }

    .hero-section .container,
    .page-intro .container {
        padding: 2rem;
    }

    .authority-strip {
        grid-template-columns: 180px 1fr;
        align-items: center;
    }
}

@media (min-width: 980px) {
    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
        padding: 0.3rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.6);
        box-shadow: none;
    }

    .site-nav a {
        padding: 0.78rem 0.95rem;
        background: transparent;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(330px, 420px);
        align-items: stretch;
        gap: 1.8rem;
    }

    .split-section {
        grid-template-columns: minmax(300px, 410px) 1fr;
        gap: 1.8rem;
    }

    .cta-card {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }
}

@media (max-width: 759px) {
    .brand-copy small {
        max-width: 24ch;
    }

    .hero-section .container {
        border-radius: 28px;
    }

    .page-intro .container,
    .card {
        border-radius: 24px;
    }

    .hero-copy {
        padding: 0.5rem 0.35rem;
    }
}

@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;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
