:root {
    --ink: #080908;
    --ink-soft: #121412;
    --paper: #f4f1e8;
    --paper-dim: #c9c7bf;
    --line: rgba(244, 241, 232, 0.18);
    --line-strong: rgba(244, 241, 232, 0.42);
    --acid: #c5ff32;
    --coral: #ff665b;
    --electric: #778cff;
    --accent: var(--acid);
    --accent-readable: var(--accent);
    --accent-rgb: 197, 255, 50;
    --header-height: 84px;
    --gutter: clamp(18px, 3vw, 52px);
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --body: Inter, "Helvetica Neue", Arial, sans-serif;
}

body[data-mode="wedding"] {
    --accent: var(--coral);
    --accent-rgb: 255, 102, 91;
}

body[data-mode="media"] {
    --accent: var(--electric);
    --accent-rgb: 119, 140, 255;
}

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

html {
    color-scheme: dark;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body.schlerege-site {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    overflow-x: clip;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    transition: background-color 300ms ease, color 300ms ease;
}

body.menu-open {
    overflow: hidden;
}

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

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.svg-icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 1em;
    height: 1em;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

[tabindex="0"][role="region"] {
    outline-offset: 6px;
}

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

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

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

.skip-link:focus-visible {
    outline-color: var(--ink);
}

.site-noise {
    position: fixed;
    z-index: 90;
    inset: 0;
    pointer-events: none;
    opacity: 0.21;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12) 0 0.6px, transparent 0.8px),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.1) 0 0.5px, transparent 0.7px);
    background-size: 5px 5px, 7px 7px;
    mix-blend-mode: soft-light;
}

.cursor-glow {
    position: fixed;
    z-index: 0;
    left: var(--cursor-x, 65vw);
    top: var(--cursor-y, 30vh);
    width: min(48vw, 720px);
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-rgb), 0) 68%);
    filter: blur(28px);
    transition: background 500ms ease;
}

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    min-height: var(--header-height);
    padding: 14px var(--gutter);
    border-bottom: 1px solid var(--line);
    background: rgba(8, 9, 8, 0.68);
    backdrop-filter: blur(18px);
    transition: transform 300ms ease, background 300ms ease;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    width: max-content;
    letter-spacing: 0.06em;
}

.wordmark-symbol {
    width: 42px;
    height: 28px;
    object-fit: contain;
    filter: invert(1);
}

.wordmark > span {
    font-family: var(--display);
    font-size: clamp(18px, 1.8vw, 27px);
    font-weight: 800;
    line-height: 1;
}

.wordmark small {
    color: var(--paper-dim);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.site-navigation {
    grid-column: 2;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.menu-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.menu-brand,
.menu-location,
.menu-links b {
    display: none;
}

.site-navigation a {
    position: relative;
    padding: 8px 0;
}

.site-navigation a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 1px;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    background: var(--accent);
    transition: transform 250ms ease;
}

.site-navigation a:hover::after,
.site-navigation a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    grid-column: 3;
    gap: 10px;
    align-items: center;
    justify-self: end;
}

.theme-toggle {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 11px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: inherit;
    cursor: pointer;
    transition: border-color 250ms ease, background 250ms ease, color 250ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
}

.theme-icon {
    display: none;
    width: 17px;
    height: 17px;
}

.theme-toggle[data-theme-choice="auto"] .theme-icon--auto,
.theme-toggle[data-theme-choice="light"] .theme-icon--light,
.theme-toggle[data-theme-choice="dark"] .theme-icon--dark {
    display: block;
}

.theme-state {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.menu-toggle {
    display: none;
    justify-self: end;
    border: 0;
    background: transparent;
    color: var(--paper);
    cursor: pointer;
}

.menu-label-close {
    display: none;
}

.section-shell {
    position: relative;
    z-index: 2;
    width: min(100%, 1680px);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-readable);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 1px;
    content: "";
    background: currentColor;
}

.hero {
    position: relative;
    z-index: 1;
    min-height: 100svh;
    padding: calc(var(--header-height) + 34px) var(--gutter) 30px;
    isolation: isolate;
}

.hero::before {
    position: absolute;
    z-index: -2;
    inset: var(--header-height) 0 0;
    content: "";
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: clamp(48px, 6vw, 96px) clamp(48px, 6vw, 96px);
    opacity: 0.22;
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 86%);
    mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.hero-intro {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    width: min(100%, 1680px);
    margin: 0 auto 18px;
    color: var(--paper-dim);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-intro p {
    margin: 0;
}

.hero-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
    gap: clamp(24px, 4vw, 72px);
    width: min(100%, 1680px);
    min-height: calc(100svh - var(--header-height) - 112px);
    margin: 0 auto;
    align-items: end;
}

.hero-copy {
    position: relative;
    z-index: 4;
    display: flex;
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
    padding-bottom: 3vh;
    pointer-events: none;
}

.hero-copy h1 {
    display: flex;
    flex-direction: column;
    max-width: 11ch;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(70px, 10.7vw, 158px);
    font-stretch: condensed;
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 0.72;
    text-transform: uppercase;
}

.hero-copy h1 span:nth-child(2) {
    margin-left: 0.42em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--paper);
}

.hero-copy h1 span:nth-child(3) {
    position: relative;
    z-index: 3;
}

.hero-meta {
    display: grid;
    grid-template-columns: minmax(220px, 330px) auto;
    gap: 30px;
    align-items: end;
    margin-top: clamp(30px, 6vh, 70px);
    padding-left: clamp(0px, 15vw, 250px);
    pointer-events: auto;
}

.hero-meta p {
    margin: 0;
    color: var(--paper-dim);
    font-size: clamp(15px, 1.25vw, 20px);
}

.text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-self: start;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--line-strong);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.text-link .svg-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-readable);
}

.visual-composition {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 1;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 70% 30%, rgba(var(--accent-rgb), 0.18), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 60%);
    transition: background 500ms ease;
}

.lens {
    position: absolute;
    z-index: 4;
    left: var(--lens-x, 68%);
    top: var(--lens-y, 36%);
    width: clamp(160px, 22vw, 390px);
    aspect-ratio: 1;
    border: 1px solid rgba(var(--accent-rgb), 0.75);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 37% 34%, rgba(255, 255, 255, 0.38), rgba(var(--accent-rgb), 0.14) 28%, rgba(8, 9, 8, 0.7) 70%);
    box-shadow: inset 0 0 60px rgba(var(--accent-rgb), 0.18), 0 0 90px rgba(var(--accent-rgb), 0.16);
    mix-blend-mode: screen;
    pointer-events: none;
    transition: width 450ms ease, border-color 450ms ease, background 450ms ease;
}

.lens::before,
.lens::after {
    position: absolute;
    content: "";
    border-radius: inherit;
}

.lens::before {
    inset: 9%;
    border: 1px dashed rgba(255, 255, 255, 0.35);
}

.lens::after {
    inset: 29%;
    background: var(--accent);
    opacity: 0.16;
    filter: blur(12px);
}

.scene-frame {
    position: absolute;
    top: 5%;
    right: 10%;
    width: min(37vw, 560px);
    height: 75%;
    overflow: hidden;
    transform: rotate(3deg);
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: #1b1d1b;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
    transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1), width 500ms ease;
}

body[data-mode="wedding"] .scene-frame {
    width: min(47vw, 690px);
    transform: rotate(-2deg) translate(-2vw, 3vh);
}

body[data-mode="media"] .scene-frame {
    width: min(42vw, 620px);
    transform: rotate(0deg) translate(-1vw, 1vh);
}

.scene-frame::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(160deg, transparent 45%, rgba(8, 9, 8, 0.55));
    pointer-events: none;
}

.scene-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
    filter: saturate(0.35) contrast(1.08);
    transform: scale(1.08);
    transition: opacity 650ms ease, transform 1100ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 650ms ease;
}

.scene-image[data-scene="photo"] {
    object-position: 50% 30%;
}

.scene-image[data-scene="wedding"] {
    object-position: center;
}

.scene-image[data-scene="media"] {
    object-position: center 35%;
}

.scene-image.is-active {
    opacity: 0.92;
    filter: saturate(0.85) contrast(1.04);
    transform: scale(1);
}

.scene-image.media-stack {
    overflow: hidden;
    background:
        radial-gradient(circle at 74% 22%, rgba(119, 140, 255, 0.28), transparent 28%),
        #111411;
    filter: none;
    transform: scale(0.94);
}

.scene-image.media-stack.is-active {
    opacity: 1;
    filter: none;
    transform: scale(1);
}

.media-stack {
    position: relative;
    isolation: isolate;
}

.media-stack-card {
    position: absolute;
    display: block;
    width: 52%;
    aspect-ratio: 16 / 9;
    padding: clamp(2px, 0.45vw, 6px);
    overflow: hidden;
    border: 1px solid rgba(8, 9, 8, 0.3);
    background: #f4f1e8;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
    transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.media-stack-card--1 {
    z-index: 1;
    top: 8%;
    left: -4%;
    transform: rotate(-7deg);
}

.media-stack-card--2 {
    z-index: 2;
    top: 3%;
    right: -2%;
    width: 49%;
    transform: rotate(6deg);
}

.media-stack-card--3 {
    z-index: 3;
    top: 38%;
    left: -5%;
    width: 58%;
    transform: rotate(5deg);
}

.media-stack-card--4 {
    z-index: 4;
    top: 39%;
    right: -4%;
    width: 55%;
    transform: rotate(-5deg);
}

.media-stack-card--5 {
    z-index: 8;
    top: 23%;
    left: 23%;
    width: 55%;
    transform: rotate(-1deg);
}

.media-stack-card--6 {
    z-index: 6;
    right: 5%;
    bottom: -1%;
    width: 45%;
    transform: rotate(8deg);
}

.media-stack-card--7 {
    z-index: 5;
    bottom: 2%;
    left: 2%;
    width: 47%;
    transform: rotate(-8deg);
}

.media-stack-card--8 {
    z-index: 9;
    bottom: 5%;
    left: 27%;
    width: 48%;
    transform: rotate(2deg);
}

.media-stack-label {
    position: absolute;
    z-index: 12;
    right: 4%;
    bottom: 4%;
    padding: 8px 10px;
    background: var(--electric);
    color: #080908;
    font-size: clamp(7px, 0.65vw, 10px);
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

body[data-mode="media"] .scene-frame:hover .media-stack-card--5 {
    transform: rotate(0deg) translateY(-4px) scale(1.025);
}

.heritage-mark {
    position: absolute;
    z-index: 6;
    bottom: 5%;
    left: 4%;
    width: clamp(138px, 13vw, 210px);
    padding: 8px 10px 12px;
    transform: rotate(-4deg);
    border: 1px solid rgba(0, 0, 0, 0.45);
    background: #fff;
    color: #080908;
    box-shadow: 10px 14px 32px rgba(0, 0, 0, 0.35);
}

.heritage-mark span {
    display: block;
    margin-bottom: 6px;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.heritage-mark img {
    width: 100%;
    height: auto;
}

.system-mark {
    position: absolute;
    z-index: 6;
    top: 4%;
    left: 4%;
    display: grid;
    width: clamp(64px, 7vw, 112px);
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(24px, 3vw, 48px);
    font-weight: 900;
    letter-spacing: -0.08em;
    transition: background 450ms ease, transform 450ms ease;
}

body[data-mode="wedding"] .system-mark {
    transform: rotate(12deg);
}

body[data-mode="media"] .system-mark {
    transform: rotate(-10deg);
}

.axis {
    position: absolute;
    z-index: 1;
    opacity: 0.35;
    pointer-events: none;
}

.axis::after {
    position: absolute;
    color: var(--accent-readable);
    font-size: 8px;
    letter-spacing: 0.1em;
}

.axis-x {
    top: 22%;
    right: 0;
    left: 0;
    border-top: 1px dashed var(--line-strong);
}

.axis-x::after {
    top: -16px;
    right: 10px;
    content: "X / 48.3668";
}

.axis-y {
    top: 0;
    bottom: 0;
    left: 58%;
    border-left: 1px dashed var(--line-strong);
}

.axis-y::after {
    bottom: 10px;
    left: 8px;
    content: "Y / 10.8985";
}

.mode-panel {
    position: relative;
    z-index: 5;
    display: flex;
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    align-self: end;
    border-top: 1px solid var(--line-strong);
}

.mode-button,
.reframe-button {
    position: relative;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--paper);
    text-align: left;
    cursor: pointer;
}

.mode-button {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 1px 14px;
    padding: 17px 8px;
    transition: padding 250ms ease, background 250ms ease, color 250ms ease;
}

.mode-button > span {
    grid-row: 1 / span 2;
    color: var(--paper-dim);
    font-size: 10px;
    letter-spacing: 0.12em;
}

.mode-button strong {
    font-family: var(--display);
    font-size: clamp(21px, 2vw, 30px);
    line-height: 1;
    text-transform: uppercase;
}

.mode-button small {
    color: var(--paper-dim);
    font-size: 9px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mode-button::after {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 7px;
    aspect-ratio: 1;
    content: "";
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--line-strong);
}

.mode-button:hover,
.mode-button:focus-visible {
    padding-left: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.mode-button.is-active {
    padding-left: 16px;
    background: var(--accent);
    color: var(--ink);
}

.mode-button.is-active > span,
.mode-button.is-active small {
    color: rgba(8, 9, 8, 0.68);
}

.mode-button.is-active::after {
    background: var(--ink);
}

.reframe-button {
    margin-top: 18px;
    padding: 15px 8px;
    border: 1px solid var(--line-strong);
    color: var(--paper-dim);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
    transition: border-color 250ms ease, color 250ms ease;
}

.reframe-button .svg-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 7px;
    color: var(--accent-readable);
    transition: transform 450ms ease;
}

.reframe-button:hover,
.reframe-button:focus-visible {
    border-color: var(--accent);
    color: var(--paper);
}

.reframe-button:hover .svg-icon {
    transform: rotate(180deg);
}

.moving-line {
    position: relative;
    z-index: 3;
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--accent);
    color: var(--ink);
    transition: background 450ms ease;
}

.moving-line-track {
    display: flex;
    width: max-content;
    align-items: center;
    padding: 10px 0;
    animation: ticker 60s linear infinite;
    will-change: transform;
}

.moving-line-group {
    display: flex;
    flex: 0 0 auto;
    min-width: 100vw;
    align-items: center;
    justify-content: space-around;
}

.moving-line span {
    padding-inline: 28px;
    font-family: var(--display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.moving-line i {
    width: 6px;
    aspect-ratio: 1;
    transform: rotate(45deg);
    background: currentColor;
}

@keyframes ticker {
    to { transform: translateX(-50%); }
}

.section-header {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 1.25fr) minmax(220px, 0.75fr);
    gap: 28px;
    align-items: end;
    padding: clamp(90px, 11vw, 180px) 0 clamp(48px, 7vw, 96px);
}

.section-header h2,
.manifesto h2,
.contact-stage h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(48px, 7vw, 116px);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.86;
    text-transform: uppercase;
}

.section-header p {
    max-width: 34ch;
    margin: 0;
    color: var(--paper-dim);
}

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

.discipline {
    --discipline-accent: var(--acid);
    position: relative;
    display: grid;
    grid-template-columns: 60px minmax(150px, 220px) 1fr 60px;
    gap: clamp(16px, 3vw, 50px);
    align-items: center;
    min-height: 240px;
    overflow: hidden;
    border-bottom: 1px solid var(--line-strong);
    transition: color 400ms ease, background 400ms ease;
}

.discipline[data-scene-trigger="wedding"] {
    --discipline-accent: var(--coral);
}

.discipline[data-scene-trigger="media"] {
    --discipline-accent: var(--electric);
}

.discipline::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    background: var(--discipline-accent);
    transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.discipline:hover,
.discipline:focus-visible {
    color: var(--ink);
}

.discipline:hover::before,
.discipline:focus-visible::before {
    transform: scaleX(1);
    transform-origin: left;
}

.discipline-index {
    align-self: start;
    padding-top: 34px;
    color: var(--paper-dim);
    font-size: 10px;
    letter-spacing: 0.16em;
}

.discipline:hover .discipline-index,
.discipline:focus-visible .discipline-index {
    color: rgba(8, 9, 8, 0.62);
}

.discipline-image {
    height: 180px;
    overflow: hidden;
    transform: rotate(-2deg) scale(0.92);
    background: var(--ink-soft);
    transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.discipline:nth-child(even) .discipline-image {
    transform: rotate(2deg) scale(0.92);
}

.discipline:hover .discipline-image,
.discipline:focus-visible .discipline-image {
    transform: rotate(0) scale(1);
}

.discipline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.08);
    transition: filter 400ms ease, transform 800ms ease;
}

.discipline:first-child .discipline-image img {
    object-position: center 25%;
}

.discipline:hover .discipline-image img,
.discipline:focus-visible .discipline-image img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.05);
}

.discipline-image--media {
    position: relative;
    isolation: isolate;
    background: #111411;
}

.media-stack--compact {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: radial-gradient(circle at 70% 30%, rgba(119, 140, 255, 0.24), transparent 46%);
}

.media-stack--compact .media-stack-card {
    padding: 2px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.38);
}

.discipline-image--media .media-stack-card img {
    filter: grayscale(1) contrast(1.06);
    transform: none;
    transition: filter 520ms ease;
}

.discipline:hover .discipline-image--media .media-stack-card img,
.discipline:focus-visible .discipline-image--media .media-stack-card img {
    filter: grayscale(0) contrast(1);
    transform: none;
}

.discipline:hover .media-stack--compact .media-stack-card--5,
.discipline:focus-visible .media-stack--compact .media-stack-card--5 {
    transform: rotate(0deg) translateY(-2px) scale(1.035);
}

.discipline-copy > span {
    display: block;
    margin-bottom: 10px;
    color: var(--paper-dim);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.discipline:hover .discipline-copy > span,
.discipline:focus-visible .discipline-copy > span {
    color: rgba(8, 9, 8, 0.64);
}

.discipline h3 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(48px, 6vw, 96px);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.86;
    text-transform: uppercase;
}

.discipline-copy p {
    max-width: 48ch;
    margin: 12px 0 0;
    color: var(--paper-dim);
}

.discipline:hover .discipline-copy p,
.discipline:focus-visible .discipline-copy p {
    color: rgba(8, 9, 8, 0.74);
}

.discipline-arrow {
    display: grid;
    width: 50px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    transition: transform 350ms ease, border-color 350ms ease;
}

.discipline-arrow .svg-icon {
    width: 22px;
    height: 22px;
}

.discipline:hover .discipline-arrow,
.discipline:focus-visible .discipline-arrow {
    transform: rotate(45deg);
    border-color: rgba(8, 9, 8, 0.5);
}

.projects-section {
    padding-top: clamp(110px, 14vw, 220px);
    padding-bottom: clamp(120px, 15vw, 240px);
}

.projects-heading,
.print-heading {
    display: grid;
    grid-template-columns: minmax(180px, 0.6fr) minmax(320px, 1.35fr) minmax(220px, 0.65fr);
    gap: clamp(24px, 4vw, 68px);
    align-items: end;
    margin-bottom: clamp(54px, 8vw, 110px);
}

.projects-heading > div {
    align-self: start;
}

.projects-heading h2,
.print-heading h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(54px, 7.5vw, 126px);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.82;
    text-transform: uppercase;
}

.projects-heading > p,
.print-heading > p {
    max-width: 38ch;
    margin: 0;
    color: var(--paper-dim);
}

.projects-count {
    margin: 24px 0 0;
    color: var(--paper-dim);
    font-size: 9px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.web-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 40px);
    align-items: start;
}

.project-card--wide {
    grid-column: span 2;
}

.project-card figure {
    position: relative;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--ink-soft);
}

.project-card--wide figure {
    aspect-ratio: 2 / 1;
}

.project-card figure::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(150deg, transparent 55%, rgba(8, 9, 8, 0.5));
    pointer-events: none;
}

.project-card figure > span {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: grid;
    width: 34px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.72) contrast(1.04);
    transform: scale(1.015);
    transition: filter 450ms ease, transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover img {
    filter: saturate(1) contrast(1);
    transform: scale(1.055);
}

.project-meta {
    display: flex;
    gap: 18px;
    align-items: baseline;
    justify-content: space-between;
    padding: 16px 2px 24px;
    border-bottom: 1px solid var(--line);
}

.project-meta h3 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(19px, 2vw, 30px);
    letter-spacing: -0.035em;
    line-height: 1;
    text-transform: uppercase;
}

.project-meta p {
    flex: 0 0 auto;
    margin: 0;
    color: var(--paper-dim);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-align: right;
    text-transform: uppercase;
}

.print-section {
    position: relative;
    z-index: 3;
    padding: clamp(110px, 14vw, 220px) 0;
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
}

.print-section::before {
    position: absolute;
    top: -12vw;
    right: -8vw;
    width: min(52vw, 760px);
    aspect-ratio: 1;
    content: "PRINT";
    color: rgba(8, 9, 8, 0.045);
    font-family: var(--display);
    font-size: clamp(120px, 22vw, 360px);
    font-weight: 900;
    letter-spacing: -0.09em;
    line-height: 1;
    pointer-events: none;
}

.print-section .eyebrow {
    color: var(--ink);
}

.print-heading > p {
    color: rgba(8, 9, 8, 0.68);
}

.print-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: clamp(20px, 3vw, 48px);
    align-items: start;
}

.print-stack {
    display: grid;
    gap: clamp(20px, 3vw, 48px);
}

.print-posters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 28px);
}

.print-card {
    margin: 0;
}

.print-card img {
    width: 100%;
    border: 1px solid rgba(8, 9, 8, 0.2);
    background: #fff;
    box-shadow: 0 24px 60px rgba(8, 9, 8, 0.12);
}

.print-card--portrait img {
    aspect-ratio: 0.7;
    object-fit: contain;
}

.print-card figcaption {
    display: flex;
    gap: 12px;
    align-items: baseline;
    justify-content: space-between;
    padding: 12px 2px 0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.print-card figcaption span {
    color: rgba(8, 9, 8, 0.5);
}

/* Editorial highlight rails */
.story-section,
.media-section,
.print-strip-section {
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.story-section {
    padding: clamp(100px, 11vw, 180px) 0 clamp(90px, 10vw, 160px);
    border-top: 1px solid var(--line);
}

.story-section--photo {
    background:
        radial-gradient(circle at 86% 18%, rgba(197, 255, 50, 0.08), transparent 28%),
        var(--ink);
}

.story-section--wedding {
    background: #e9e1d7;
    color: var(--ink);
}

.story-heading,
.media-heading {
    display: grid;
    grid-template-columns: minmax(180px, 0.55fr) minmax(340px, 1.25fr) minmax(220px, 0.65fr);
    gap: clamp(24px, 4vw, 68px);
    align-items: end;
    margin-bottom: clamp(46px, 6vw, 86px);
}

.story-heading h2,
.media-heading h2,
.print-strip-heading h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(52px, 7vw, 116px);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.82;
    text-transform: uppercase;
}

.story-heading > p,
.media-heading > p {
    max-width: 39ch;
    margin: 0;
    color: var(--paper-dim);
}

.story-count {
    margin: 22px 0 0;
    color: var(--paper-dim);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.story-section--wedding .eyebrow {
    color: #b9322c;
}

.story-section--wedding .story-heading > p,
.story-section--wedding .story-count {
    color: rgba(8, 9, 8, 0.66);
}

.story-rail {
    display: flex;
    gap: clamp(14px, 2vw, 28px);
    align-items: stretch;
    width: 100%;
    padding: 0 max(var(--gutter), calc((100vw - 1680px) / 2 + var(--gutter))) 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x proximity;
    scrollbar-color: var(--accent) rgba(244, 241, 232, 0.12);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.story-rail::-webkit-scrollbar,
.case-rail::-webkit-scrollbar,
.print-rail::-webkit-scrollbar {
    height: 4px;
}

.story-rail::-webkit-scrollbar-track,
.case-rail::-webkit-scrollbar-track {
    background: rgba(244, 241, 232, 0.12);
}

.story-rail::-webkit-scrollbar-thumb,
.case-rail::-webkit-scrollbar-thumb {
    background: var(--accent);
}

.story-rail--wedding {
    scrollbar-color: #b9322c rgba(8, 9, 8, 0.14);
}

.story-rail--wedding::-webkit-scrollbar-track {
    background: rgba(8, 9, 8, 0.14);
}

.story-rail--wedding::-webkit-scrollbar-thumb {
    background: #b9322c;
}

.story-shot {
    flex: 0 0 clamp(340px, 37vw, 590px);
    margin: 0;
    scroll-snap-align: start;
}

.story-shot--portrait {
    flex-basis: clamp(250px, 25vw, 410px);
}

.story-shot img {
    width: 100%;
    height: clamp(390px, 44vw, 650px);
    border: 1px solid var(--line);
    object-fit: cover;
    filter: saturate(0.88) contrast(1.03);
    transition: filter 450ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.story-shot:hover img {
    filter: saturate(1) contrast(1);
    transform: translateY(-5px);
}

.story-shot figcaption,
.print-tile figcaption {
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 13px 2px 0;
    color: var(--paper-dim);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.story-shot figcaption span,
.print-tile figcaption span {
    opacity: 0.8;
}

.story-section--wedding .story-shot img {
    border-color: rgba(8, 9, 8, 0.18);
}

.story-section--wedding .story-shot figcaption {
    color: rgba(8, 9, 8, 0.7);
}

.story-action {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: clamp(30px, 4vw, 56px);
}

.story-action > p,
.rail-caption > p {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    margin: 0;
    color: var(--paper-dim);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.svg-icon--hint {
    width: 13px;
    height: 13px;
}

.story-section--wedding .story-action > p {
    color: rgba(8, 9, 8, 0.6);
}

.story-section--wedding [role="region"]:focus-visible,
.print-strip-section [role="region"]:focus-visible {
    outline-color: var(--ink);
}

.story-section--wedding .primary-action {
    border-color: #b9322c;
    background: #b9322c;
    color: #fff;
}

.story-section--wedding .primary-action:hover,
.story-section--wedding .primary-action:focus-visible {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.media-section {
    padding: clamp(100px, 11vw, 180px) 0;
    border-top: 1px solid var(--line);
    background: #101210;
}

.media-heading h2 {
    font-size: clamp(50px, 6.2vw, 98px);
}

.case-rail {
    display: flex;
    gap: clamp(14px, 1.8vw, 26px);
    width: 100%;
    padding-bottom: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--electric) rgba(244, 241, 232, 0.12);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.case-rail::-webkit-scrollbar-thumb {
    background: var(--electric);
}

.case-card {
    flex: 0 0 clamp(260px, 25vw, 390px);
    min-width: 0;
    scroll-snap-align: start;
}

.case-card figure {
    position: relative;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--ink);
}

.case-card figure::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(145deg, transparent 58%, rgba(8, 9, 8, 0.5));
    pointer-events: none;
}

.case-card figure span {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    display: grid;
    width: 30px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: var(--electric);
    color: var(--ink);
    font-size: 8px;
    font-weight: 800;
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.68) contrast(1.04);
    transform: scale(1.015);
    transition: filter 400ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.case-card:hover img,
.case-card:focus-visible img {
    filter: saturate(1) contrast(1);
    transform: scale(1.05);
}

.case-card > div {
    display: flex;
    gap: 12px;
    align-items: baseline;
    justify-content: space-between;
    padding: 13px 1px 18px;
    border-bottom: 1px solid var(--line);
}

.case-card h3 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(18px, 1.7vw, 26px);
    letter-spacing: -0.035em;
    line-height: 1;
    text-transform: uppercase;
}

.case-card p {
    flex: 0 0 auto;
    margin: 0;
    color: var(--paper-dim);
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: 0.1em;
    text-align: right;
    text-transform: uppercase;
}

.rail-caption {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
}

.print-strip-section {
    padding: clamp(90px, 10vw, 150px) 0;
    background: var(--paper);
    color: var(--ink);
}

.print-strip-section .eyebrow {
    color: var(--ink);
}

.print-strip-heading {
    display: grid;
    grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.9fr);
    gap: clamp(24px, 4vw, 68px);
    align-items: end;
    margin-bottom: clamp(44px, 6vw, 76px);
}

.print-strip-heading h2 {
    max-width: 12ch;
    font-size: clamp(48px, 6vw, 96px);
}

.print-rail {
    display: flex;
    gap: clamp(14px, 2vw, 28px);
    align-items: flex-start;
    padding-bottom: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--ink) rgba(8, 9, 8, 0.14);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.print-rail::-webkit-scrollbar-track {
    background: rgba(8, 9, 8, 0.14);
}

.print-rail::-webkit-scrollbar-thumb {
    background: var(--ink);
}

.print-tile {
    flex: 0 0 clamp(210px, 21vw, 320px);
    margin: 0;
    scroll-snap-align: start;
}

.print-tile--wide {
    flex-basis: clamp(340px, 40vw, 630px);
}

.print-tile img {
    width: 100%;
    height: clamp(250px, 29vw, 430px);
    border: 1px solid rgba(8, 9, 8, 0.16);
    background: #fff;
    object-fit: contain;
    box-shadow: 0 18px 44px rgba(8, 9, 8, 0.1);
}

.print-tile figcaption {
    color: rgba(8, 9, 8, 0.72);
}

.manifesto {
    padding-top: clamp(120px, 15vw, 240px);
    padding-bottom: clamp(110px, 14vw, 220px);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.65fr);
    gap: clamp(48px, 10vw, 160px);
    align-items: end;
}

.manifesto-title h2 {
    max-width: 12ch;
    margin-top: 26px;
}

.manifesto-title h2::first-line {
    color: var(--accent-readable);
}

.manifesto-copy {
    padding-bottom: 4px;
    color: var(--paper-dim);
    font-size: clamp(16px, 1.35vw, 21px);
}

.manifesto-copy p {
    margin: 0 0 22px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: clamp(70px, 9vw, 140px);
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}

.metrics > div {
    padding: clamp(26px, 4vw, 58px) clamp(14px, 2vw, 30px);
    border-right: 1px solid var(--line);
}

.metrics > div:last-child {
    border-right: 0;
}

.metrics strong,
.metrics span {
    display: block;
}

.metrics strong {
    color: var(--accent-readable);
    font-family: var(--display);
    font-size: clamp(36px, 5vw, 74px);
    letter-spacing: -0.05em;
    line-height: 1;
}

.metrics span {
    margin-top: 8px;
    color: var(--paper-dim);
    font-size: 9px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-stage {
    display: grid;
    grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
    gap: clamp(40px, 8vw, 130px);
    align-items: center;
    min-height: 90svh;
    padding-top: 90px;
    padding-bottom: 90px;
    border-top: 1px solid var(--line);
}

.contact-orbit {
    position: relative;
    display: grid;
    width: min(100%, 430px);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
}

.contact-orbit::before,
.contact-orbit::after {
    position: absolute;
    content: "";
    border: 1px dashed var(--line-strong);
    border-radius: 50%;
}

.contact-orbit::before {
    inset: 12%;
    animation: rotate 18s linear infinite;
}

.contact-orbit::after {
    inset: 31%;
    background: var(--accent);
    opacity: 0.9;
    box-shadow: 0 0 90px rgba(var(--accent-rgb), 0.26);
}

.contact-orbit span {
    position: relative;
    z-index: 2;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(56px, 9vw, 130px);
    font-weight: 900;
    letter-spacing: -0.08em;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.contact-copy h2 {
    max-width: 11ch;
    margin-top: 28px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 52px;
}

.primary-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 22px;
    border: 1px solid var(--line-strong);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

.primary-action {
    min-width: min(100%, 290px);
    background: var(--accent);
    color: var(--ink);
    border-color: var(--accent);
}

.primary-action .svg-icon {
    width: 20px;
    height: 20px;
}

.primary-action:hover,
.primary-action:focus-visible {
    background: var(--paper);
    border-color: var(--paper);
}

.secondary-action:hover,
.secondary-action:focus-visible {
    border-color: var(--accent);
    color: var(--accent-readable);
}

.site-footer {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: end;
    padding: 34px var(--gutter);
    border-top: 1px solid var(--line-strong);
    color: var(--paper-dim);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-brand img {
    width: 150px;
    height: auto;
    filter: invert(1);
}

.site-footer nav {
    display: flex;
    gap: 22px;
}

.site-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding-block: 6px;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
    color: var(--accent-readable);
}

.site-footer > span:last-child {
    justify-self: end;
    text-transform: none;
}

.cms-page {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 100px;
}

.cms-page .item-page,
.cms-page .blog,
.cms-page .contact {
    max-width: 940px;
    margin-inline: auto;
}

.cms-page h1,
.cms-page h2 {
    font-family: var(--display);
    text-transform: uppercase;
}

.cms-page h1 {
    font-size: clamp(48px, 8vw, 110px);
    line-height: 0.9;
}

.cms-page a {
    color: var(--accent-readable);
}

/* Legal articles bring their own editorial header and status line. */
.cms-page .item-page:has(.legal-document) > .page-header,
.cms-page .item-page:has(.legal-document) > .article-info,
.cms-page .item-page:has(.legal-document) > .pagenavigation {
    display: none;
}

.legal-document {
    display: grid;
    gap: clamp(44px, 6vw, 76px);
    padding-top: 14px;
}

.legal-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: clamp(28px, 6vw, 88px);
    align-items: end;
    padding-bottom: clamp(34px, 5vw, 64px);
    border-bottom: 1px solid var(--line-strong);
}

.legal-intro p {
    max-width: 38ch;
    margin: 0;
    color: var(--paper-dim);
    font-size: clamp(16px, 1.5vw, 21px);
}

.legal-kicker {
    display: block;
    margin-bottom: 18px;
    color: var(--accent-readable);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

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

.legal-card {
    padding: clamp(24px, 4vw, 52px);
    background: var(--ink-soft);
}

.legal-card--wide {
    grid-column: 1 / -1;
}

.legal-card h2 {
    margin: 0 0 20px;
    color: var(--paper);
    font-size: clamp(22px, 2.7vw, 38px);
    line-height: 1;
}

.legal-card h3 {
    margin: 30px 0 10px;
    color: var(--paper);
    font-family: var(--display);
    font-size: clamp(17px, 1.8vw, 24px);
    text-transform: uppercase;
}

.legal-card p,
.legal-card li {
    color: var(--paper-dim);
    font-size: clamp(14px, 1.15vw, 17px);
}

.legal-card p {
    margin: 0 0 14px;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-card ul {
    margin: 16px 0 0;
    padding-left: 20px;
}

.legal-card address {
    color: var(--paper-dim);
    font-style: normal;
}

.legal-card a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.legal-status {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 0;
    color: var(--paper-dim);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.legal-status::before {
    width: 8px;
    height: 8px;
    content: "";
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.55);
}

.offline-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    min-height: 100svh;
}

.offline-brand,
.offline-login {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 6vw, 100px);
}

.offline-brand {
    overflow: hidden;
    background:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px),
        radial-gradient(circle at 72% 24%, rgba(var(--accent-rgb), 0.18), transparent 38%);
    background-size: 74px 74px, 74px 74px, auto;
}

.offline-brand h1,
.error-page h1 {
    max-width: 11ch;
    margin: 26px 0;
    font-family: var(--display);
    font-size: clamp(58px, 9vw, 150px);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 0.82;
    text-transform: uppercase;
}

.offline-brand h1 {
    font-size: clamp(54px, 7.2vw, 112px);
}

.offline-brand > p {
    max-width: 42ch;
    color: var(--paper-dim);
}

.offline-logo {
    width: clamp(150px, 16vw, 260px);
    margin: 20px 0;
    padding: 12px;
    transform: rotate(-3deg);
    background: #fff;
}

.offline-logo img {
    width: 100%;
    height: auto;
}

.offline-login {
    border-left: 1px solid var(--line-strong);
    background: var(--ink-soft);
}

.offline-login .system-mark {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 50px;
}

.offline-login h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(32px, 3vw, 46px);
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.offline-login > p {
    margin: 8px 0 30px;
    color: var(--paper-dim);
}

.offline-login form {
    display: grid;
    gap: 10px;
}

.offline-login label {
    margin-top: 10px;
    color: var(--paper-dim);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.offline-login input {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    outline: 0;
    background: var(--ink);
    color: var(--paper);
}

.offline-login input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.offline-login .primary-action {
    width: 100%;
    margin-top: 18px;
    border: 0;
    cursor: pointer;
}

.error-page .contact-copy h1 {
    max-width: 11ch;
    margin: 28px 0 0;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

/* Keep the portrait visible when Windows browsers use a very wide viewport. */
@media (min-width: 1480px) {
    .scene-frame {
        right: 6%;
    }
}

@media (max-width: 1100px) {
    .wordmark small {
        display: none;
    }

    .hero-stage {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 290px);
        gap: 24px;
    }

    .hero-copy h1 {
        font-size: clamp(68px, 10vw, 120px);
    }

    .hero-meta {
        grid-template-columns: 1fr;
        padding-left: 9vw;
    }

    .scene-frame {
        right: 5%;
        width: 42vw;
    }

    .section-header {
        grid-template-columns: 0.6fr 1.4fr;
    }

    .section-header p {
        grid-column: 2;
    }

    .discipline {
        grid-template-columns: 48px 170px 1fr 50px;
        min-height: 210px;
    }

    .discipline-image {
        height: 150px;
    }

    .projects-heading,
    .print-heading {
        grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1.45fr);
    }

    .projects-heading > p,
    .print-heading > p {
        grid-column: 2;
    }

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

    .project-card--wide {
        grid-column: span 2;
    }

    .print-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    }
}

@media (max-width: 780px) {
    :root {
        --header-height: 68px;
    }

    .site-header {
        grid-template-columns: 1fr auto;
        min-height: calc(var(--header-height) + var(--safe-top));
        padding: calc(8px + var(--safe-top)) max(var(--gutter), var(--safe-right)) 8px max(var(--gutter), var(--safe-left));
    }

    .header-actions {
        z-index: 3;
        grid-column: 2;
        gap: 6px;
    }

    .theme-toggle {
        width: 44px;
        min-height: 44px;
        padding: 0;
    }

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

    .wordmark {
        z-index: 3;
        align-self: center;
    }

    .wordmark-symbol {
        width: 38px;
        height: 26px;
    }

    .menu-toggle {
        z-index: 3;
        display: inline-flex;
        gap: 10px;
        align-items: center;
        align-self: center;
        min-width: 48px;
        min-height: 48px;
        justify-content: flex-end;
        padding: 10px 0 10px 12px;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .menu-toggle i,
    .menu-toggle i::before {
        display: block;
        width: 19px;
        height: 1px;
        background: currentColor;
        transition: transform 250ms ease;
    }

    .menu-toggle i {
        position: relative;
    }

    .menu-toggle i::before {
        position: absolute;
        top: 5px;
        content: "";
    }

    .menu-toggle[aria-expanded="true"] i {
        transform: rotate(45deg) translateY(2px);
    }

    .menu-toggle[aria-expanded="true"] i::before {
        transform: rotate(-90deg) translateX(5px);
    }

    .menu-toggle[aria-expanded="true"] .menu-label-open {
        display: none;
    }

    .menu-toggle[aria-expanded="true"] .menu-label-close {
        display: inline;
    }

    body.menu-open .site-header {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        overflow: hidden;
        transform: none;
        border-bottom: 0;
        background: rgba(8, 9, 8, 0.62);
        -webkit-backdrop-filter: blur(24px) saturate(0.72);
        backdrop-filter: blur(24px) saturate(0.72);
    }

    .site-navigation {
        position: absolute;
        z-index: 1;
        inset: 0;
        display: grid;
        grid-column: 1 / -1;
        grid-template-rows: 1fr auto;
        gap: 28px;
        width: 100%;
        max-width: none;
        height: 100%;
        padding: calc(var(--header-height) + var(--safe-top) + 34px) max(var(--gutter), var(--safe-right)) calc(28px + var(--safe-bottom)) max(var(--gutter), var(--safe-left));
        visibility: hidden;
        opacity: 0;
        background: linear-gradient(180deg, rgba(8, 9, 8, 0.18), rgba(8, 9, 8, 0.5));
        transition: opacity 250ms ease, visibility 250ms ease;
    }

    @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
        body.menu-open .site-header {
            background: rgba(8, 9, 8, 0.96);
        }
    }

    .menu-brand {
        display: flex;
        gap: 16px;
        align-items: center;
        color: var(--paper-dim);
        font-size: 8px;
        letter-spacing: 0.13em;
        line-height: 1.6;
        text-transform: uppercase;
    }

    .menu-brand img {
        width: 72px;
        height: 46px;
        object-fit: contain;
        filter: invert(1);
    }

    .menu-links {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
        justify-content: center;
        min-width: 0;
    }

    .site-navigation a {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 14px;
        align-items: baseline;
        width: 100%;
        min-height: 56px;
        padding: 9px 0;
        border-bottom: 1px solid var(--line);
        font-family: var(--display);
        font-size: clamp(38px, 11.5vw, 58px);
        font-weight: 900;
        letter-spacing: -0.055em;
        line-height: 0.88;
        white-space: nowrap;
    }

    .site-navigation a::after {
        display: none;
    }

    .menu-links b {
        display: block;
        color: var(--accent-readable);
        font-family: var(--body);
        font-size: 9px;
        letter-spacing: 0.12em;
    }

    .menu-location {
        display: block;
        margin: 0;
        padding-top: 16px;
        border-top: 1px solid var(--line-strong);
        color: var(--paper-dim);
        font-size: 8px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .menu-open .site-navigation {
        visibility: visible;
        opacity: 1;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--safe-top) + 22px);
        padding-right: max(var(--gutter), var(--safe-right));
        padding-bottom: 28px;
        padding-left: max(var(--gutter), var(--safe-left));
        overflow: hidden;
        overflow: clip;
    }

    .hero-intro p {
        display: none;
    }

    .hero-stage {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .visual-composition {
        order: 1;
        width: 100%;
        min-height: 440px;
        min-height: clamp(440px, 58svh, 620px);
    }

    .hero-copy {
        z-index: 7;
        order: 2;
        width: 100%;
        min-height: 0;
        margin-top: -14vw;
        padding-bottom: 0;
    }

    .hero-copy h1 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(54px, 17vw, 86px);
        letter-spacing: -0.075em;
        line-height: 0.77;
    }

    .hero-copy h1 span {
        max-width: 100%;
        white-space: nowrap;
    }

    .hero-copy h1 span:nth-child(2) {
        margin-left: 0.2em;
    }

    .hero-copy h1 span:nth-child(3) {
        font-size: 0.84em;
        letter-spacing: -0.08em;
    }

    .hero-meta {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 28px;
        padding-left: 22vw;
    }

    .hero-meta p {
        font-size: 15px;
    }

    .mode-panel {
        order: 3;
        width: 100%;
        margin-top: 24px;
    }

    .scene-frame,
    body[data-mode="wedding"] .scene-frame,
    body[data-mode="media"] .scene-frame {
        top: 8%;
        right: 7%;
        width: min(68vw, 440px);
        height: 72%;
        transform: rotate(2deg);
    }

    .heritage-mark {
        bottom: 4%;
        left: 3%;
        width: min(32vw, 138px);
    }

    .system-mark {
        top: 3%;
        left: 3%;
        width: 62px;
    }

    .lens {
        width: 44vw;
    }

    .mode-button {
        grid-template-columns: 34px 1fr;
        padding: 15px 8px;
    }

    .moving-line-track {
        animation-duration: 45s;
    }

    .section-header {
        display: block;
        padding: 90px 0 46px;
    }

    .section-header h2 {
        margin-top: 24px;
    }

    .section-header p {
        margin-top: 20px;
    }

    .discipline {
        grid-template-columns: 36px 1fr 44px;
        gap: 14px;
        min-height: 190px;
        padding: 20px 0;
    }

    .discipline-index {
        padding-top: 3px;
    }

    .discipline-image {
        position: absolute;
        z-index: -1;
        inset: 12px 45% 12px 42px;
        height: auto;
        opacity: 0.28;
        transform: rotate(-2deg);
    }

    .discipline-copy {
        grid-column: 2;
    }

    .discipline h3 {
        font-size: clamp(40px, 13vw, 70px);
    }

    .discipline-copy p {
        margin-top: 8px;
        font-size: 13px;
    }

    .discipline-arrow {
        grid-column: 3;
        width: 42px;
    }

    .projects-section {
        padding-top: 110px;
        padding-bottom: 120px;
    }

    .projects-heading,
    .print-heading {
        display: block;
        margin-bottom: 52px;
    }

    .projects-heading h2,
    .print-heading h2 {
        margin-top: 28px;
        font-size: clamp(48px, 14.5vw, 76px);
        line-height: 0.84;
    }

    .projects-heading > p,
    .print-heading > p {
        margin-top: 24px;
        font-size: 14px;
    }

    .projects-count {
        margin-top: 18px;
    }

    .web-project-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .project-card--wide {
        grid-column: auto;
    }

    .project-card figure,
    .project-card--wide figure {
        aspect-ratio: 16 / 10;
    }

    .project-meta {
        display: block;
        padding-top: 14px;
    }

    .project-meta h3 {
        font-size: clamp(24px, 7vw, 34px);
    }

    .project-meta p {
        margin-top: 8px;
        text-align: left;
    }

    .print-section {
        padding: 104px 0;
    }

    .print-section::before {
        top: 20px;
        right: -80px;
        font-size: 150px;
    }

    .print-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
    }

    .print-stack {
        gap: 34px;
    }

    .print-posters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .print-card figcaption {
        display: block;
        min-height: 42px;
        font-size: 8px;
        line-height: 1.45;
    }

    .print-card figcaption span {
        display: block;
        margin-bottom: 4px;
    }

    .manifesto {
        padding-top: 110px;
        padding-bottom: 110px;
    }

    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .manifesto h2 {
        font-size: clamp(46px, 14vw, 80px);
    }

    .metrics {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 70px;
    }

    .metrics > div:nth-child(2) {
        border-right: 0;
    }

    .metrics > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .contact-stage {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .contact-orbit {
        width: min(72vw, 330px);
        margin-inline: auto;
    }

    .contact-stage h2 {
        font-size: clamp(48px, 14.5vw, 86px);
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: start;
        padding-right: max(var(--gutter), var(--safe-right));
        padding-bottom: calc(34px + var(--safe-bottom));
        padding-left: max(var(--gutter), var(--safe-left));
    }

    .footer-brand img {
        width: 170px;
    }

    .legal-intro,
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .legal-card--wide {
        grid-column: auto;
    }

    .site-footer > span:last-child {
        justify-self: start;
    }

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

    .offline-brand {
        min-height: 65svh;
    }

    .offline-login {
        min-height: 70svh;
        border-top: 1px solid var(--line-strong);
        border-left: 0;
    }
}

@media (max-width: 430px) {
    .wordmark {
        gap: 8px;
    }

    .wordmark-symbol {
        width: 34px;
        height: 24px;
    }

    .wordmark > span {
        font-size: 16px;
    }

    .hero-copy h1 {
        font-size: 17vw;
    }

    .hero-copy h1 span:nth-child(3) {
        font-size: 0.82em;
    }

    .site-navigation a {
        font-size: clamp(36px, 11.5vw, 50px);
    }

    .hero-meta {
        padding-left: 0;
    }

    .discipline-copy > span {
        max-width: 22ch;
    }
}

@media (max-width: 360px) {
    .wordmark-symbol {
        width: 31px;
    }

    .wordmark > span {
        font-size: 15px;
    }

    .menu-toggle {
        gap: 7px;
        font-size: 9px;
    }

    .site-navigation {
        gap: 18px;
    }

    .site-navigation a {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 10px;
        min-height: 52px;
        font-size: 35px;
    }

    .hero-copy h1 {
        font-size: 16.8vw;
    }

    .print-posters {
        gap: 9px;
    }
}

@media (max-width: 1100px) {
    .story-heading,
    .media-heading {
        grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1.45fr);
    }

    .story-heading > p,
    .media-heading > p {
        grid-column: 2;
    }
}

@media (max-width: 780px) {
    .story-section {
        padding: 96px 0 86px;
    }

    .story-heading,
    .media-heading,
    .print-strip-heading {
        display: block;
        margin-bottom: 44px;
    }

    .story-heading h2,
    .media-heading h2,
    .print-strip-heading h2 {
        margin-top: 26px;
        font-size: clamp(48px, 14vw, 74px);
        line-height: 0.84;
    }

    .story-heading > p,
    .media-heading > p {
        margin-top: 22px;
        font-size: 14px;
    }

    .story-count {
        margin-top: 15px;
    }

    .story-rail {
        gap: 14px;
        padding-right: max(var(--gutter), var(--safe-right));
        padding-left: max(var(--gutter), var(--safe-left));
        scroll-snap-type: x mandatory;
    }

    .story-shot {
        flex-basis: min(78vw, 460px);
    }

    .story-shot--portrait {
        flex-basis: min(68vw, 360px);
    }

    .story-shot img {
        height: min(118vw, 560px);
    }

    .story-shot figcaption {
        display: block;
        min-height: 44px;
        font-size: 9px;
        line-height: 1.45;
    }

    .story-shot figcaption span {
        display: block;
        margin-bottom: 4px;
    }

    .story-action {
        align-items: stretch;
    }

    .story-action > p {
        align-self: center;
    }

    .media-section {
        padding: 96px 0;
    }

    .case-rail {
        gap: 14px;
        scroll-snap-type: x mandatory;
    }

    .case-card {
        flex-basis: min(78vw, 360px);
    }

    .case-card > div {
        display: block;
    }

    .case-card h3 {
        font-size: clamp(22px, 7vw, 30px);
    }

    .case-card p {
        margin-top: 7px;
        text-align: left;
    }

    .rail-caption {
        align-items: flex-end;
    }

    .print-strip-section {
        padding: 90px 0;
    }

    .print-strip-heading h2 {
        max-width: 11ch;
    }

    .print-rail {
        gap: 14px;
        scroll-snap-type: x mandatory;
    }

    .print-tile {
        flex-basis: min(58vw, 270px);
    }

    .print-tile--wide {
        flex-basis: min(82vw, 520px);
    }

    .print-tile img {
        height: min(78vw, 390px);
    }

    .print-tile figcaption {
        display: block;
        min-height: 44px;
        font-size: 9px;
        line-height: 1.45;
    }

    .print-tile figcaption span {
        display: block;
        margin-bottom: 4px;
    }
}

@media (max-width: 430px) {
    .story-shot {
        flex-basis: 84vw;
    }

    .story-shot--portrait {
        flex-basis: 72vw;
    }

    .story-shot img {
        height: min(116vw, 500px);
    }

    .story-action,
    .rail-caption {
        display: grid;
        grid-template-columns: 1fr;
    }

    .story-action .primary-action {
        width: 100%;
    }

    .case-card {
        flex-basis: 84vw;
    }

    .rail-caption .text-link {
        justify-self: start;
    }

    .print-tile {
        flex-basis: 62vw;
    }

    .print-tile--wide {
        flex-basis: 84vw;
    }

    .print-tile img {
        height: min(84vw, 360px);
    }
}

@media (max-width: 780px) and (max-height: 560px) and (orientation: landscape) {
    .site-navigation {
        grid-template-rows: 1fr auto;
        gap: 12px;
        padding-top: calc(var(--header-height) + var(--safe-top) + 10px);
    }

    .menu-brand {
        display: none;
    }

    .menu-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 32px;
    }

    .site-navigation a {
        min-height: 48px;
        font-size: 32px;
    }
}

/* System-aware day mode. Dark remains the visual default; users can override it in the header. */
html[data-theme="light"] {
    color-scheme: light;
    --paper-dim: #555a52;
    --line: rgba(8, 9, 8, 0.13);
    --line-strong: rgba(8, 9, 8, 0.34);
}

html[data-theme="light"] body[data-mode="photo"] {
    --accent-readable: #4f7000;
}

html[data-theme="light"] body[data-mode="wedding"] {
    --accent-readable: #a92d25;
}

html[data-theme="light"] body[data-mode="media"] {
    --accent-readable: #3349b6;
}

html[data-theme="light"] body.schlerege-site {
    background: #f4f1e8;
    color: #080908;
}

html[data-theme="light"] .site-header {
    background: rgba(244, 241, 232, 0.82);
    color: #080908;
}

html[data-theme="light"] .wordmark-symbol,
html[data-theme="light"] .footer-brand img {
    filter: none;
}

html[data-theme="light"] .menu-toggle,
html[data-theme="light"] .mode-button,
html[data-theme="light"] .reframe-button {
    color: #080908;
}

html[data-theme="light"] .theme-toggle {
    background: rgba(8, 9, 8, 0.025);
}

html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .theme-toggle:focus-visible,
html[data-theme="light"] .mode-button:hover,
html[data-theme="light"] .mode-button:focus-visible {
    background: rgba(var(--accent-rgb), 0.12);
}

html[data-theme="light"] .hero-copy h1 span:nth-child(2) {
    -webkit-text-stroke-color: #080908;
}

html[data-theme="light"] .visual-composition {
    background:
        radial-gradient(circle at 70% 30%, rgba(var(--accent-rgb), 0.17), transparent 34%),
        linear-gradient(135deg, rgba(8, 9, 8, 0.035), transparent 60%);
}

html[data-theme="light"] .axis {
    opacity: 0.72;
}

html[data-theme="light"] .story-section--photo {
    background:
        radial-gradient(circle at 86% 18%, rgba(197, 255, 50, 0.18), transparent 29%),
        #f4f1e8;
}

html[data-theme="light"] .media-section {
    background: #e8e6df;
    color: #080908;
}

html[data-theme="light"] .discipline-image,
html[data-theme="light"] .case-card figure {
    background-color: #dfdbd1;
}

html[data-theme="light"] .primary-action:hover,
html[data-theme="light"] .primary-action:focus-visible {
    border-color: #080908;
    background: #080908;
    color: #f4f1e8;
}

html[data-theme="light"] .legal-card {
    background: #e8e4da;
}

html[data-theme="light"] .legal-card h2,
html[data-theme="light"] .legal-card h3 {
    color: #080908;
}

html[data-theme="light"] .legal-card p,
html[data-theme="light"] .legal-card li,
html[data-theme="light"] .legal-card address {
    color: #4d514b;
}

@media (max-width: 780px) {
    html[data-theme="light"] body.menu-open {
        --paper-dim: #c9c7bf;
        --line: rgba(244, 241, 232, 0.18);
        --line-strong: rgba(244, 241, 232, 0.42);
        --accent-readable: var(--accent);
    }

    html[data-theme="light"] body.menu-open .site-header {
        background: rgba(8, 9, 8, 0.62);
        color: #f4f1e8;
    }

    html[data-theme="light"] body.menu-open .wordmark-symbol {
        filter: invert(1);
    }

    html[data-theme="light"] body.menu-open .menu-toggle,
    html[data-theme="light"] body.menu-open .theme-toggle,
    html[data-theme="light"] body.menu-open .site-navigation {
        color: #f4f1e8;
    }

    @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
        html[data-theme="light"] body.menu-open .site-header {
            background: rgba(8, 9, 8, 0.96);
        }
    }
}

@media (pointer: coarse) {
    .cursor-glow {
        display: none;
    }

    .mode-button,
    .reframe-button,
    .primary-action,
    .secondary-action {
        min-height: 48px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
