:root {
  color-scheme: light;
  --ink: #0a1628;
  --ink-raised: #0f1f3d;
  --ink-soft: #132a4f;
  --accent: #1d5fa7;
  --accent-hover: #174f8b;
  --accent-bright: #5b9bd5;
  --accent-pale: #a8c8e8;
  --surface: #f0f5fb;
  --surface-alt: #e8f1f9;
  --text: #1a1a2e;
  --text-muted: #4a5568;
  --line: #c8d8e8;
  --focus: #1d5fa7;
  --dark-surface: #0a1628;
  --dark-surface-alt: #0f1f3d;
  --dark-text: #f0f5fb;
  --dark-text-muted: #c8d8e8;
  --dark-accent: #8cc8f4;
  --font-sans: Arial, Helvetica, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --type-xs: 0.75rem;
  --type-sm: 0.875rem;
  --type-base: 1rem;
  --type-lg: 1.25rem;
  --type-xl: clamp(2rem, 5vw, 4.8rem);
  --type-display: clamp(3.2rem, 10.4vw, 9.5rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --content-max: 78rem;
  --reading-max: 46rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 700ms;
  --wipe-color: #0a1628;
  --wipe-ease: cubic-bezier(0.76, 0, 0.24, 1);
  --mask-duration: 900ms;
  --stagger-duration: 650ms;
  --page-wipe-duration: 550ms;
  --shared-duration: 700ms;
  --hero-gradient: linear-gradient(180deg, rgba(6, 18, 34, 0) 0%, rgba(6, 18, 34, 0.55) 55%, rgba(8, 24, 46, 1) 100%);
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: var(--page-wipe-duration);
  animation-timing-function: var(--ease);
}

.page-wipe,
::view-transition-group(shared-element) {
  animation-duration: var(--shared-duration);
  animation-timing-function: var(--ease);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body[data-theme="dark"] {
  color-scheme: dark;
  --surface: var(--dark-surface);
  --surface-alt: var(--dark-surface-alt);
  --text: var(--dark-text);
  --text-muted: var(--dark-text-muted);
  --accent: var(--dark-accent);
  --focus: var(--dark-accent);
  --line: rgba(200, 216, 232, 0.22);
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--surface);
  color: var(--text);
}

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

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

.shell-fallback {
  width: min(100%, var(--reading-max));
  margin: 8rem auto 4rem;
  padding-inline: var(--gutter);
}

.shell-fallback h1 {
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.05;
}

.shell-fallback nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.noscript-notice {
  margin: 1rem var(--gutter);
}

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(200, 216, 232, 0.18);
  background: rgba(10, 22, 40, 0.94);
  color: #fff;
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  min-height: 4.5rem;
  max-width: var(--content-max);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 1.2rem rgba(91, 155, 213, 0.8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.15rem, 1vw, 0.9rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: block;
  padding: 0.55rem 0.65rem;
  color: #c8d8e8;
  font-size: 0.84rem;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0.65rem;
  bottom: 0.25rem;
  left: 0.65rem;
  height: 1px;
  background: var(--accent-bright);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
}

.icon-button,
.menu-button {
  display: inline-grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgba(200, 216, 232, 0.35);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.icon-button:hover,
.menu-button:hover,
.icon-button[aria-pressed="true"] {
  border-color: var(--accent-bright);
  background: rgba(91, 155, 213, 0.16);
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.audio-fallback-toggle {
  position: fixed;
  z-index: 20;
  right: var(--gutter);
  bottom: var(--gutter);
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius, 0.25rem);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.menu-button {
  display: none;
  border-radius: 0.25rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(54rem, 100svh);
  overflow: hidden;
  align-items: end;
  padding: 9rem var(--gutter) clamp(3rem, 7vw, 6.5rem);
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, var(--content-max));
  margin: 0 auto;
  align-items: end;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(42rem, 100%);
  padding-bottom: clamp(1.2rem, 4vw, 3rem);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: rgba(10, 22, 40, 0.2);
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(142, 206, 255, 0.76), inset 0 0 30px rgba(255, 255, 255, 0.08), 0 32px 80px rgba(10, 22, 40, 0.26);
  opacity: 0.98;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.05);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-gradient);
  content: "";
  pointer-events: none;
}

#main-content[data-layout="stage-first"] .hero {
  min-height: min(58rem, 100svh);
}

#main-content[data-layout="portfolio-sequence"] .hero {
  min-height: min(49rem, 92svh);
}

#main-content[data-layout="service-offer"] .hero {
  min-height: min(50rem, 94svh);
}

#main-content[data-layout="event-agenda"] .hero {
  min-height: min(58rem, 100svh);
}

#main-content[data-layout="publication-reader"] .hero {
  min-height: min(36rem, 74svh);
  padding-bottom: 4rem;
}

#main-content[data-layout="publication-reader"] .hero h1 {
  max-width: 17ch;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
}

#main-content[data-layout="publication-reader"] > .section .section-inner {
  max-width: 58rem;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 22, 40, 0.97) 0%, rgba(10, 22, 40, 0.84) 43%, rgba(10, 22, 40, 0.15) 100%);
  content: "";
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.hero-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.hero-kicker,
.eyebrow,
.section-index,
.card-meta,
.sequence-index,
.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-kicker {
  max-width: 35rem;
  margin: 0 0 1.4rem;
  color: var(--accent-pale);
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: var(--type-display);
  font-weight: 750;
  letter-spacing: -0.085em;
  line-height: 0.88;
}

.home-hero .hero-content {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: end;
}

.home-hero .hero-copy {
  grid-column: 1;
  align-self: end;
}

.home-hero .hero-media {
  position: absolute;
  inset: 0;
  grid-column: auto;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.home-hero .hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-word {
  display: inline-block;
  margin-right: 0.16em;
}

.hero-summary {
  max-width: 38rem;
  margin: 1.7rem 0 0;
  color: #d3e2ef;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero-location {
  margin: 1rem 0 0;
  color: var(--accent-pale);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.2rem;
  margin-top: 2rem;
}

.action {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 240ms var(--ease), background-color 240ms ease, border-color 240ms ease;
}

.action::after {
  width: 0.43rem;
  height: 0.43rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 240ms var(--ease);
}

.action:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.action:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.action-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.action-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.action-text {
  padding-inline: 0.2rem;
  background: transparent;
  color: #d3e2ef;
}

.action-text:hover {
  background: transparent;
  color: #fff;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 9rem) var(--gutter);
  scroll-margin-top: 5rem;
}

.section:nth-of-type(even) {
  background: var(--surface-alt);
}

.section-inner {
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(4rem, 0.18fr) 1fr;
  align-items: start;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-index {
  padding-top: 0.55rem;
  color: var(--accent);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
}

.section-title {
  max-width: 18ch;
  margin: 0;
  font-size: var(--type-xl);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.section-lead {
  max-width: var(--reading-max);
  margin: 1.3rem 0 0;
  color: var(--text-muted);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.35;
}

.section-copy {
  max-width: var(--reading-max);
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(16rem, 1fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
}

.manifesto .section-lead {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.5rem, 3.2vw, 3.4rem);
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.manifesto .section-copy {
  margin: 0;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.content-card {
  position: relative;
  display: flex;
  min-height: 14rem;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.3rem, 3vw, 2.3rem);
  border: 0;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: background-color 260ms ease, color 260ms ease;
}

.content-card[href]:hover {
  background: var(--ink);
  color: #fff;
}

.content-card .card-media {
  width: calc(100% + clamp(2.6rem, 6vw, 4.6rem));
  max-width: none;
  height: 13rem;
  margin: calc(clamp(1.3rem, 3vw, 2.3rem) * -1) calc(clamp(1.3rem, 3vw, 2.3rem) * -1) 1.4rem;
}

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

.card-meta {
  margin: 0 0 1.8rem;
  color: var(--accent);
  font-size: 0.65rem;
}

.content-card h3 {
  margin: auto 0 0.65rem;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.content-card p {
  max-width: 38rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.content-card[href]:hover p,
.content-card[href]:hover .card-meta {
  color: #c8d8e8;
}

.card-link-label {
  margin-top: 1.35rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.content-card[href]:hover .card-link-label {
  color: #fff;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.split-block + .split-block {
  padding-left: clamp(1rem, 3vw, 3rem);
  border-left: 1px solid var(--line);
}

.split-block h3,
.group h3 {
  margin: 0 0 1.2rem;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.mini-project + .mini-project {
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.mini-project h4 {
  margin: 0;
  font-size: 1.05rem;
}

.mini-project p {
  margin: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.mini-project a {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.sequence-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.sequence-module .gallery-grid {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.sequence-group {
  display: grid;
  grid-template-columns: minmax(10rem, 0.4fr) 1fr;
  gap: 1rem 3rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.sequence-group h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.sequence-items {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.sequence-items li {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  counter-increment: item;
}

.sequence-items li:first-child {
  padding-top: 0;
  border-top: 0;
}

.sequence-items li::before {
  color: var(--accent);
  content: counter(item, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.sequence-items strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

.sequence-items p {
  margin: 0.25rem 0 0;
}

.selected-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.2rem;
}

.selected-work-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(10, 22, 40, 0.08);
  opacity: 0.65;
  transform: translateY(12px);
  filter: saturate(0.8);
  transition: opacity 380ms cubic-bezier(0.22, 1, 0.36, 1), filter 380ms cubic-bezier(0.22, 1, 0.36, 1), transform 380ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.selected-work-card:hover,
.selected-work-card:focus-within {
  opacity: 1;
  filter: saturate(1.1) contrast(1.05);
  transform: translateY(0);
  box-shadow: 0 18px 36px rgba(10, 22, 40, 0.13);
}

.selected-work-media {
  width: 100%;
  height: 14rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.selected-work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), filter 600ms ease;
}

.selected-work-card:hover .selected-work-media img,
.selected-work-card:focus-within .selected-work-media img {
  transform: scale(1.06);
  filter: saturate(1.15) contrast(1.08);
}

.selected-work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.2rem;
}

.selected-work-body h3 {
  margin: 0;
  font-size: 1.24rem;
  letter-spacing: -0.04em;
}

.selected-work-body p {
  margin: 0;
  color: var(--text-muted);
}

.selected-work-link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 2.4rem;
}

.group {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.group p {
  margin: 0;
  color: var(--text-muted);
}

.group .tag-list {
  margin-top: 1rem;
}

.group-image {
  width: min(100%, 38rem);
  aspect-ratio: 3 / 2;
  margin-top: clamp(2rem, 5vw, 4rem);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.8rem;
}

.gallery-item {
  position: relative;
  min-height: 13rem;
  overflow: hidden;
  margin: 0;
  background: var(--ink-raised);
}

.gallery-item:nth-child(4n + 1),
.gallery-item:nth-child(4n) {
  grid-column: span 7;
  aspect-ratio: 1.65;
}

.gallery-item:nth-child(4n + 2),
.gallery-item:nth-child(4n + 3) {
  grid-column: span 5;
  aspect-ratio: 1.2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 600ms ease;
}

.gallery-item:hover img {
  filter: saturate(1.1);
  transform: scale(1.035);
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.78));
  color: #fff;
  font-size: 0.8rem;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.7fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(1.5rem, 5vw, 4rem);
  background: var(--ink);
  color: #fff;
}

.contact-info {
  min-width: 0;
}

.contact-copy {
  min-width: 0;
  padding-right: var(--contact-avatar-clearance, 0px);
}

.contact-avatar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin: 0;
}

.contact-chat {
  min-width: 0;
  margin-top: 1rem;
  color: var(--text);
}

.contact-chat-toggle,
.contact-chat-form button {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius, 0.25rem);
  background: var(--surface);
  color: var(--text);
}

.contact-chat-panel {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius, 0.25rem);
  background: var(--surface);
}

.contact-chat-messages {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 12rem;
  overflow-y: auto;
  overflow-wrap: anywhere;
}

.contact-chat-messages li {
  margin: 0.35rem 0;
  color: var(--text);
}

.contact-chat-form {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
}

.contact-chat-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.contact-chat-form input {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius, 0.25rem);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.contact-chat :focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.contact-panel h3 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.06em;
}

.contact-panel p {
  margin: 0.35rem 0;
  color: #c8d8e8;
}

.contact-panel a {
  color: var(--accent-pale);
}

.contact-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

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

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.link-grid a {
  display: flex;
  min-height: 4.3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.8rem 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.link-grid a::after {
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  content: "";
  transform: rotate(45deg);
  transition: transform 220ms var(--ease);
}

.link-grid a:hover {
  color: var(--accent);
}

.link-grid a:hover::after {
  transform: translate(3px, -3px) rotate(45deg);
}

.site-footer {
  padding: 3rem var(--gutter);
  background: var(--ink);
  color: #c8d8e8;
}

.footer-inner {
  display: grid;
  width: min(100%, var(--content-max));
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.5rem;
  margin: 0 auto;
}

.footer-name {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-summary,
.footer-meta {
  margin: 0;
  color: #c8d8e8;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 1rem;
  font-size: 0.83rem;
}

.footer-links a {
  color: var(--accent-pale);
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(200, 216, 232, 0.2);
}

.page-wipe {
  position: fixed;
  z-index: 30;
  inset: 0;
  background: var(--wipe-color);
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--page-wipe-duration) var(--wipe-ease);
}

.page-wipe.is-active {
  transform: scaleY(1);
}

.section[data-motion="pin-scale"] .gallery-grid {
  position: sticky;
  top: 7rem;
}

.js [data-motion="stagger-up"] [data-stagger],
.js [data-motion="reveal-mask"] [data-reveal],
.js [data-motion="page-wipe"] [data-reveal] {
  opacity: 0;
  transform: translateY(1.4rem);
}

.js .is-inview [data-stagger],
.js .is-inview [data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--stagger-duration) var(--ease), transform var(--stagger-duration) var(--ease);
}

.mask-frame {
  position: relative;
  overflow: hidden;
}

.mask-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mask-frame svg {
  position: absolute;
  width: 0;
  height: 0;
}

.mask-frame rect {
  transform: scaleX(0);
  transform-box: fill-box;
  transform-origin: left;
  transition: transform var(--mask-duration) var(--wipe-ease);
}

.mask-frame[data-mask="blinds"] rect {
  transform-origin: left center;
}

.mask-frame[data-mask="grid"] rect {
  transform-origin: center;
  transform: scale(0);
}

.mask-frame[data-mask="diagonal"] .mask-diagonal {
  transform: translateX(-100%);
  transform-box: fill-box;
  transform-origin: left;
  transition: transform var(--mask-duration) var(--wipe-ease);
}

.mask-frame.is-inview rect {
  transform: scaleX(1);
}

.mask-frame.is-inview[data-mask="grid"] rect {
  transform: scale(1);
}

.mask-frame.is-inview[data-mask="diagonal"] .mask-diagonal {
  transform: translateX(0);
}

.hero .mask-frame {
  width: 100%;
  height: 100%;
}

.theme-toggle {
  transition: color 250ms ease, background-color 250ms ease;
}

body[data-theme="dark"] .section:nth-of-type(even) {
  background: #0f1f3d;
}

@media (min-width: 90rem) {
  .hero-content,
  .section-inner {
    max-width: 82rem;
  }

  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    gap: 0;
  }
}

@media (min-width: 1920px) {
  #main-content[data-layout="stage-first"] .hero,
  #main-content[data-layout="portfolio-sequence"] .hero,
  #main-content[data-layout="service-offer"] .hero,
  #main-content[data-layout="event-agenda"] .hero,
  #main-content[data-layout="publication-reader"] .hero {
    height: auto;
    min-height: 33.333vh;
    min-height: 33.333dvh;
    padding: 0 var(--gutter);
  }

  .hero-media {
    inset: 0 0 auto;
    height: 33.333vh;
    height: 33.333dvh;
  }

  .hero::before {
    inset: 0 0 auto;
    height: 33.333vh;
    height: 33.333dvh;
  }
}

@media (max-width: 860px) {
  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding-inline: 0.45rem;
    font-size: 0.76rem;
  }

  .nav-inner {
    gap: 0.5rem;
    padding-inline: 1.25rem;
  }
}

@media (max-width: 700px) {
  .nav-inner {
    min-height: 4.2rem;
  }

  .menu-button {
    display: inline-grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem var(--gutter) 1rem;
    border-bottom: 1px solid rgba(200, 216, 232, 0.18);
    background: rgba(10, 22, 40, 0.98);
  }

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

  .nav-links a {
    padding: 0.8rem 0;
    font-size: 0.95rem;
  }

  .nav-links a::after {
    right: auto;
    bottom: 0.48rem;
    left: 0;
    width: 2rem;
  }

  .hero {
    min-height: 45rem;
    min-height: 90svh;
    padding-top: 8rem;
  }

  #main-content[data-layout="publication-reader"] .hero {
    min-height: 34rem;
    min-height: 72svh;
  }

  .hero-media {
    width: 100%;
    opacity: 0.48;
  }

  .hero::before {
    background: linear-gradient(0deg, rgba(10, 22, 40, 0.98) 0%, rgba(10, 22, 40, 0.72) 55%, rgba(10, 22, 40, 0.18) 100%);
  }

  .section-head {
    grid-template-columns: 2.7rem 1fr;
  }

  .manifesto,
  .split-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .split-block + .split-block {
    padding: 1.7rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .sequence-group {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-item:nth-child(n) {
    grid-column: span 12;
    aspect-ratio: 1.4;
  }

  .contact-photo {
    max-width: 20rem;
  }

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

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

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .action-row {
    display: none !important;
  }

  body,
  body[data-theme="dark"] {
    color: #111;
    background: #fff;
  }

  .hero {
    min-height: 0;
    padding: 1rem 0 2rem;
    background: #fff;
    color: #111;
  }

  .hero::before,
  .hero-media {
    display: none;
  }

  .hero-kicker,
  .hero-summary,
  .hero-location {
    color: #333;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 1.5rem 0;
    break-inside: avoid;
  }

  .content-card,
  .contact-panel {
    color: #111;
    background: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-motion="stagger-up"] [data-stagger],
  .js [data-motion="reveal-mask"] [data-reveal],
  .js [data-motion="page-wipe"] [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .section[data-motion="pin-scale"] .gallery-grid {
    position: static;
  }
}
