:root {
    --ink: #111111;
    --paper: #f7f5ef;
    --white: #ffffff;
    --muted: #706f6a;
    --line: #dedbd2;
    --clay: #efc446;
    --shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --serif: Georgia, "Times New Roman", serif;
}

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.admin-body {
    background: #f1f1ee;
}

body.admin-auth-body {
    min-height: 100vh;
}

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

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

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

button {
    cursor: pointer;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    background: var(--ink);
    color: var(--white);
    padding: 10px 14px;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    z-index: 80;
    inset: 0 auto 0 0;
    width: 260px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(247, 245, 239, 0.92);
    border-right: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: grid;
    gap: 12px;
    align-items: start;
}

.brand-logo {
    display: block;
    width: 172px;
    height: auto;
    max-width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.brand strong {
    display: block;
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
}

.brand-tagline {
    display: block;
    max-width: 180px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.site-nav {
    display: grid;
    gap: 12px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    color: var(--muted);
    border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--ink);
    border-color: var(--ink);
}

.language-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 30px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.48);
}

.language-switcher a:hover,
.language-switcher a[aria-current="true"] {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.menu-button {
    display: none;
}

main,
.site-footer {
    margin-left: 260px;
    max-width: calc(100vw - 260px);
    overflow-x: clip;
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(360px, 1fr);
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
}

.hero-media {
    width: min(680px, calc(100% - 96px));
    aspect-ratio: 1;
    justify-self: center;
    margin: 48px;
    overflow: hidden;
    background: var(--ink);
}

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

.hero-rotator {
    position: relative;
}

.hero-rotator img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 800ms ease;
}

.hero-rotator img.is-active {
    opacity: 1;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--clay);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

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

h1,
.page-hero h1 {
    max-width: 12ch;
    margin-bottom: 24px;
    font-family: var(--serif);
    font-size: 82px;
    line-height: 0.94;
    font-weight: 400;
}

h2 {
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1.06;
    font-weight: 400;
}

.lead,
.page-hero p,
.statement p,
.conversion-band p,
.split-page p {
    max-width: 680px;
    color: var(--muted);
    font-size: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-top: 34px;
}

.button,
.contact-form button,
.admin-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--white);
    font-weight: 800;
    text-align: center;
}

.button:hover,
.contact-form button:hover,
.admin-form button:hover {
    background: var(--clay);
    border-color: var(--clay);
}

.button.light {
    border-color: var(--white);
    background: var(--white);
    color: var(--ink);
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--ink);
    font-weight: 800;
    border-bottom: 1px solid var(--ink);
}

@media (max-width: 1380px) and (min-width: 1181px) {
    h1,
    .page-hero h1 {
        font-size: 68px;
    }

    .hero-copy {
        padding-left: 52px;
        padding-right: 52px;
    }
}

.statement {
    padding: 84px 64px;
    border-bottom: 1px solid var(--line);
}

.statement p {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 54px;
    line-height: 1.05;
}

.service-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
}

.service-strip a {
    min-width: 0;
    min-height: 190px;
    padding: 28px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--paper);
}

.service-strip a:nth-child(2n) {
    background: #ffffff;
}

.service-strip span {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.service-strip small {
    color: var(--muted);
}

.section-head {
    padding: 86px 64px 34px;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 24px;
    align-items: end;
}

.section-head .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.section-head h2 {
    max-width: 780px;
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.work-tile {
    min-width: 0;
    background: var(--paper);
}

.work-tile.is-hidden {
    display: none;
}

.image-button {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
}

.image-button img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 450ms ease;
}

.image-button:hover img {
    transform: scale(1.025);
}

.video-link::before,
.video-link::after {
    content: "";
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.video-link::before {
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(247, 245, 239, 0.92);
    border: 1px solid var(--line);
    box-shadow: 0 16px 38px rgba(33, 30, 30, 0.18);
}

.video-link::after {
    right: 33px;
    bottom: 31px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--ink);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
}

.case-card {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(220px, 0.48fr) minmax(260px, 1fr);
    background: var(--paper);
}

.case-card:nth-child(2n) {
    background: var(--white);
}

.case-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--line);
}

.case-card-image img,
.case-hero figure img,
.case-content figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card-image img {
    transition: transform 450ms ease;
}

.case-card-image:hover img {
    transform: scale(1.025);
}

.case-card > div {
    min-width: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.case-card h2 {
    margin-bottom: 4px;
    font-family: var(--sans);
    font-size: 22px;
    line-height: 1.14;
    font-weight: 800;
}

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

.case-meta {
    margin: 0;
    color: var(--clay) !important;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.case-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(360px, 1fr);
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.case-hero > div {
    padding: 80px 64px;
}

.case-hero figure {
    width: min(680px, calc(100% - 96px));
    aspect-ratio: 1;
    justify-self: center;
    margin: 48px;
    overflow: hidden;
    background: var(--line);
}

.case-content {
    width: min(880px, calc(100% - 128px));
    margin: 0 auto;
    padding: 86px 0;
}

.case-content h2,
.case-content h3 {
    margin: 46px 0 18px;
}

.case-content p,
.case-content li,
.case-content blockquote {
    color: var(--muted);
    font-size: 19px;
}

.case-content blockquote {
    margin: 42px 0;
    padding-left: 24px;
    border-left: 3px solid var(--clay);
}

.case-content figure {
    width: 100%;
    aspect-ratio: 1;
    margin: 46px 0;
    overflow: hidden;
    background: var(--line);
}

.case-album {
    width: min(1120px, calc(100% - 128px));
    margin: 0 auto;
    padding: 0 0 86px;
}

.case-album-head {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
}

.case-album-head h2 {
    margin: 0;
}

.case-album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.case-album-item {
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    background: var(--line);
    overflow: hidden;
}

.case-album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.case-album-item:hover img {
    transform: scale(1.025);
}

.conversion-band {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.65fr) auto;
    gap: 34px;
    align-items: end;
    padding: 78px 64px;
    background: var(--ink);
    color: var(--white);
}

.conversion-band .eyebrow {
    color: var(--clay);
}

.conversion-band h2 {
    margin-bottom: 0;
    color: var(--white);
}

.conversion-band p {
    color: rgba(255, 255, 255, 0.74);
}

.page-hero {
    padding: 150px 64px 76px;
    border-bottom: 1px solid var(--line);
}

.page-hero.compact {
    padding-top: 110px;
}

.works-intro {
    display: grid;
    grid-template-columns: minmax(280px, 0.76fr) minmax(280px, 1fr);
    gap: 36px;
    align-items: end;
    padding: 48px 64px 30px;
    border-bottom: 1px solid var(--line);
}

.works-intro h1 {
    max-width: 14ch;
    margin: 0;
    font-size: 48px;
    line-height: 0.98;
}

.works-intro p:last-child {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.category-nav {
    position: sticky;
    z-index: 30;
    top: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 1px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    background: var(--line);
    border-bottom: 1px solid var(--line);
}

.filter-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    flex: 0 0 clamp(118px, 16vw, 184px);
    min-width: 0;
    border: 0;
    padding: 0 16px;
    background: var(--white);
    color: var(--muted);
    font-weight: 800;
    overflow-wrap: anywhere;
    white-space: normal;
}

.filter-button.is-active,
.filter-button:hover {
    background: var(--ink);
    color: var(--white);
}

.category-index {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    width: 100%;
    border-bottom: 1px solid var(--line);
}

.category-index a {
    min-width: 0;
    overflow: hidden;
    min-height: 260px;
    padding: 28px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.category-index small {
    color: var(--clay);
    font-weight: 900;
}

.category-index strong {
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.06;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.category-index span {
    margin-top: auto;
    color: var(--muted);
    font-size: 14px;
}

.empty-state {
    padding: 86px 64px;
}

.process-list {
    border-top: 1px solid var(--line);
}

.process-list article {
    display: grid;
    grid-template-columns: 120px minmax(240px, 0.45fr) minmax(260px, 1fr);
    gap: 36px;
    padding: 44px 64px;
    border-bottom: 1px solid var(--line);
}

.process-list span {
    color: var(--clay);
    font-weight: 900;
}

.process-list h2 {
    margin: 0;
}

.process-list p {
    margin: 0;
    color: var(--muted);
}

.process-note {
    display: grid;
    grid-template-columns: minmax(220px, 0.48fr) minmax(260px, 1fr) auto;
    gap: 34px;
    align-items: end;
    padding: 54px 64px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.process-note .eyebrow,
.process-note h2,
.process-note p {
    margin: 0;
}

.process-note p:not(.eyebrow) {
    color: var(--muted);
}

.pricing-grid,
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pricing-grid article,
.value-grid article {
    padding: 34px;
    background: var(--paper);
}

.pricing-grid article:nth-child(2),
.value-grid article:nth-child(2) {
    background: var(--white);
}

.price {
    color: var(--clay);
    font-weight: 900;
}

.pricing-grid ul {
    margin: 26px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.pricing-grid li + li {
    margin-top: 8px;
}

.split-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1fr);
    align-items: center;
}

.split-page > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 64px;
}

.split-page figure {
    width: min(680px, calc(100% - 96px));
    aspect-ratio: 1;
    justify-self: center;
    margin: 48px;
    overflow: hidden;
}

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

.about-page h1 {
    max-width: 16ch;
    font-size: 48px;
    line-height: 1.02;
}

.contact-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1fr);
    gap: 48px;
    align-items: start;
    padding: 116px 64px 80px;
}

.contact-details {
    display: grid;
    gap: 10px;
    margin-top: 34px;
    color: var(--muted);
}

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

.contact-form label,
.admin-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    padding: 14px 16px;
    border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: 2px solid var(--clay);
    outline-offset: 2px;
}

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

.form-success {
    padding: 14px 16px;
    background: #fff6d7;
    color: var(--clay);
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 24px 64px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
    color: var(--muted);
    font-size: 13px;
}

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

.cookie-banner {
    position: fixed;
    z-index: 180;
    right: 24px;
    bottom: 24px;
    width: min(430px, calc(100vw - 48px));
    padding: 18px;
    display: grid;
    gap: 16px;
    border: 1px solid var(--line);
    background: rgba(247, 245, 239, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner strong {
    display: block;
    margin-bottom: 4px;
}

.cookie-banner p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.cookie-actions .button {
    min-height: 42px;
}

.cookie-actions .text-link {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--muted);
}

.cookie-actions .text-link:hover {
    color: var(--ink);
}

.lightbox {
    position: fixed;
    z-index: 200;
    inset: 0;
    display: none;
    place-items: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.86);
}

.lightbox.is-open {
    display: grid;
}

.lightbox img {
    max-height: 92vh;
    width: auto;
    box-shadow: var(--shadow);
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 22px;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 240px;
    padding: 26px;
    background: var(--ink);
    color: var(--white);
}

.admin-logo {
    display: grid;
    gap: 8px;
    width: 96px;
    margin-bottom: 34px;
    color: var(--white);
    font-weight: 800;
}

.admin-logo img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: var(--white);
}

.admin-sidebar nav {
    display: grid;
    gap: 10px;
}

.admin-sidebar a {
    color: rgba(255, 255, 255, 0.78);
}

.admin-sidebar a:hover {
    color: var(--white);
}

.admin-body h1 {
    max-width: none;
    margin-bottom: 24px;
    font-family: var(--sans);
    font-size: 36px;
    line-height: 1.1;
    font-weight: 800;
}

.admin-main {
    margin-left: 240px;
    padding: 36px;
    max-width: none;
    overflow-x: visible;
}

.admin-auth-body .admin-main {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    margin-left: 0;
    padding: 24px;
    display: grid;
    place-items: center;
}

.admin-auth {
    width: min(440px, calc(100vw - 32px));
    margin: 0;
    padding: 34px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.admin-auth h1 {
    font-size: 32px;
}

.auth-note {
    margin-bottom: 22px;
    color: var(--muted);
}

.admin-error {
    color: #8b1d1d;
    font-weight: 800;
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 24px 0;
}

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

.stat-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.stat-table th,
.stat-table td {
    padding: 10px 0;
    border-top: 1px solid var(--line);
    text-align: left;
}

.stat-table th {
    color: var(--muted);
    font-weight: 800;
}

.stat-table td {
    width: 80px;
    text-align: right;
    font-weight: 900;
}

.admin-metrics article,
.admin-panel,
.admin-list article {
    background: var(--white);
    padding: 24px;
    box-shadow: 0 1px 0 rgba(17, 17, 17, 0.05);
}

.admin-metrics strong {
    display: block;
    font-size: 36px;
}

.admin-metrics span {
    color: var(--muted);
}

.admin-panel + .admin-panel,
.admin-panel + .button,
.admin-list {
    margin-top: 22px;
}

.admin-list {
    display: grid;
    gap: 12px;
}

.admin-list article {
    display: grid;
    grid-template-columns: 86px 1fr auto;
    gap: 18px;
    align-items: center;
}

.admin-list img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    background: var(--line);
}

.admin-list h2 {
    margin: 0 0 4px;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 800;
}

.admin-list p {
    margin: 0;
    color: var(--muted);
}

.admin-list button {
    min-height: 40px;
    border: 1px solid #8b1d1d;
    background: #fff;
    color: #8b1d1d;
    padding: 0 14px;
}

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

.case-admin-list article {
    grid-template-columns: 120px minmax(0, 1fr) auto;
    align-items: start;
}

.case-admin-list img {
    width: 120px;
    height: 120px;
}

.case-edit-form textarea[name="body_html"] {
    min-height: 260px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
}

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

.lead-title-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    background: var(--clay);
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.status-badge.is-handled {
    background: var(--line);
    color: var(--muted);
}

.lead-actions {
    margin-top: 14px;
}

.lead-actions button {
    min-height: 40px;
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.lead-actions button:hover {
    border-color: var(--clay);
    background: var(--clay);
    color: var(--ink);
}

.check-row {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row;
    align-items: center;
}

.check-row input {
    width: auto;
}

@media (max-width: 1180px) {
    .site-header {
        position: sticky;
        top: 0;
        inset: auto;
        width: auto;
        min-height: 78px;
        padding: 14px 20px;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
    }

    .brand {
        grid-column: 1;
        grid-template-columns: 64px minmax(0, 1fr);
        align-items: center;
    }

    .brand-logo {
        width: 64px;
    }

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

    .site-nav {
        grid-column: 1 / -1;
        display: none;
        padding-top: 16px;
    }

    .language-switcher {
        display: none;
    }

    .site-header.menu-open .site-nav {
        display: grid;
    }

    .menu-button {
        grid-column: 3;
        justify-self: end;
        width: 46px;
        height: 46px;
        display: grid;
        place-content: center;
        gap: 5px;
        border: 1px solid var(--line);
        background: var(--white);
    }

    .menu-button span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--ink);
    }

    .menu-button em {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
    }

    main,
    .site-footer {
        margin-left: 0;
        max-width: 100%;
    }

    .hero,
    .split-page,
    .contact-layout,
    .case-hero {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .split-page > div,
    .case-hero > div,
    .contact-layout,
    .page-hero,
    .works-intro,
    .statement,
    .section-head,
    .conversion-band,
    .case-content,
    .case-album,
    .empty-state {
        padding-left: 28px;
        padding-right: 28px;
    }

    .works-intro {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 34px;
        padding-bottom: 24px;
    }

    .works-intro h1 {
        font-size: 42px;
    }

    .hero {
        min-height: auto;
    }

    .hero-media,
    .split-page figure,
    .case-hero figure {
        width: calc(100% - 56px);
        min-height: 0;
        margin: 0 28px 44px;
        aspect-ratio: 1;
    }

    .service-strip,
    .category-index,
    .gallery-grid,
    .case-grid,
    .pricing-grid,
    .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-card {
        grid-template-columns: 1fr;
    }

    .case-content {
        width: min(880px, calc(100% - 56px));
    }

    .case-album {
        width: min(1120px, calc(100% - 56px));
    }

    .conversion-band {
        grid-template-columns: 1fr;
    }

    .process-note {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-left: 28px;
        padding-right: 28px;
    }

    .process-list article {
        grid-template-columns: 70px 1fr;
        padding-left: 28px;
        padding-right: 28px;
    }

    .process-list p {
        grid-column: 2;
    }
}

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

    .site-header {
        min-height: 88px;
        padding: 14px 20px;
        gap: 10px;
    }

    .brand {
        grid-template-columns: 88px;
    }

    .brand-logo {
        width: 88px;
    }

    .brand-tagline {
        display: none;
    }

    .menu-button {
        width: 42px;
        height: 42px;
    }

    h1,
    .page-hero h1 {
        font-size: 42px;
        max-width: 13ch;
    }

    h2,
    .statement p {
        font-size: 28px;
    }

    .lead,
    .page-hero p,
    .statement p,
    .conversion-band p,
    .split-page p {
        font-size: 18px;
    }

    .hero-copy,
    .split-page > div,
    .case-hero > div,
    .contact-layout,
    .page-hero,
    .works-intro,
    .statement,
    .section-head,
    .conversion-band,
    .case-content,
    .case-album,
    .site-footer,
    .empty-state {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-copy {
        min-height: 0;
        padding-top: 28px;
        padding-bottom: 24px;
    }

    .hero-copy h1 {
        max-width: 12ch;
        margin-bottom: 16px;
        font-size: 36px;
        line-height: 0.98;
    }

    .hero-copy .lead {
        font-size: 16px;
    }

    .hero-actions {
        gap: 12px;
        margin-top: 22px;
    }

    .hero-media {
        width: calc(100% - 32px);
        margin: 16px 16px 0;
    }

    .split-page figure,
    .case-hero figure {
        width: calc(100% - 40px);
        margin: 0 20px 36px;
    }

    .case-grid,
    .pricing-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .service-strip,
    .category-index,
    .gallery-grid,
    .case-album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-strip a {
        min-height: 148px;
        padding: 18px;
    }

    .service-strip span,
    .category-index strong {
        font-size: 21px;
    }

    .service-strip small,
    .category-index span {
        font-size: 12px;
        line-height: 1.35;
    }

    .video-link::before {
        right: 10px;
        bottom: 10px;
        width: 34px;
        height: 34px;
    }

    .video-link::after {
        right: 22px;
        bottom: 20px;
        border-top-width: 6px;
        border-bottom-width: 6px;
        border-left-width: 9px;
    }

    .section-head {
        gap: 12px;
        padding-top: 46px;
        padding-bottom: 22px;
    }

    .section-head .text-link {
        min-height: 30px;
        font-size: 13px;
    }

    .statement {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .statement p {
        font-size: 25px;
    }

    .category-nav {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
    }

    .filter-button {
        min-height: 52px;
        flex: auto;
        padding: 0 8px;
        font-size: 11px;
        line-height: 1.15;
    }

    .works-intro {
        padding-top: 28px;
        padding-bottom: 18px;
    }

    .works-intro h1 {
        font-size: 34px;
        max-width: none;
    }

    .works-intro p:last-child {
        font-size: 15px;
        line-height: 1.45;
    }

    .category-index a {
        min-height: 178px;
        padding: 18px;
        gap: 12px;
    }

    .about-page h1 {
        max-width: none;
        font-size: 31px;
        line-height: 1.08;
    }

    .about-page > div {
        padding-top: 38px;
        padding-bottom: 30px;
    }

    .about-page p {
        font-size: 16px;
        line-height: 1.55;
    }

    .case-content {
        width: calc(100% - 40px);
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .case-album {
        width: calc(100% - 40px);
        padding-bottom: 58px;
    }

    .case-content p,
    .case-content li,
    .case-content blockquote {
        font-size: 17px;
    }

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

    .process-list article {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .process-list p {
        grid-column: auto;
    }

    .process-note {
        padding: 36px 20px;
    }

    .cookie-banner {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        padding: 14px;
    }

    .cookie-actions {
        gap: 10px;
    }

    .admin-sidebar {
        position: static;
        width: auto;
    }

    .admin-main {
        margin-left: 0;
        padding: 20px;
    }

    .admin-metrics,
    .admin-stats-grid,
    .admin-form-grid,
    .admin-list article {
        grid-template-columns: 1fr;
    }
}
