:root {
  color-scheme: light;
  --color-bg: #f5f5f2;
  --color-surface: #ffffff;
  --color-surface-strong: #ecebe7;
  --color-text: #2c343a;
  --color-brand-icon: #111111;
  --color-muted: #676d72;
  --color-accent: #ff8d2e;
  --color-focus-ring: rgb(255 141 46 / .14);
  --color-accent-text: #a34800;
  --color-accent-ink: #151515;
  --color-border: #d7d7d2;
  --color-danger: #b42318;
  --radius: 4px;
  --max-width: 1120px;
  --font-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #151515;
  --color-surface: #1c1c1c;
  --color-surface-strong: #242424;
  --color-text: #f2eee8;
  --color-brand-icon: #ffffff;
  --color-muted: #a6a6ab;
  --color-accent-text: #ff8d2e;
  --color-focus-ring: rgb(255 141 46 / .2);
  --color-border: #393939;
  --color-danger: #ff9990;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: inherit;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-accent-text);
  outline-offset: 5px;
}

.page {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.page-switch-out {
  opacity: .08;
  transition: opacity 160ms cubic-bezier(.4, 0, .2, 1);
}

.page-switch-in {
  animation: page-switch-in 260ms cubic-bezier(.4, 0, .2, 1);
}

@keyframes page-switch-in {
  from {
    opacity: .08;
  }

  to {
    opacity: 1;
  }
}

:root.theme-transition,
:root.theme-transition :where(*:not(.page-switch-out):not(.captcha-reveal):not(.captcha-panel):not(.captcha-live):not(#captcha-image-slot):not(.captcha-answer-field):not(#captcha-refresh)) {
  transition: color 220ms ease-out, background-color 220ms ease-out, border-color 220ms ease-out, box-shadow 220ms ease-out, fill 220ms ease-out, stroke 220ms ease-out;
}

.topbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 600;
}

.brand-mark {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.topbar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.theme-switch {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.theme-switch button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--color-muted);
  background: transparent;
}

.theme-switch button:hover {
  color: var(--color-text);
  background: var(--color-surface-strong);
}

.theme-switch button[aria-pressed="true"] {
  color: var(--color-accent-text);
  border-color: var(--color-accent-text);
  background: var(--color-surface-strong);
}

.theme-switch svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.lang-switch a {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--color-muted);
  background: transparent;
  font-family: var(--font-mono);
  font-size: .8rem;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.lang-switch a:hover, .lang-switch a:focus-visible {
  color: var(--color-text);
  background: var(--color-surface-strong);
}

.lang-switch a[aria-current] {
  color: var(--color-accent-text);
  border-color: var(--color-border);
  background: var(--color-surface);
}

.hero {
  display: grid;
  gap: 32px;
  padding: 44px 0;
}

.hero-copy {
  min-width: 0;
  align-self: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--color-accent-text);
  font: 500 .75rem/1.6 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5.3vw, 4.5rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}

.lead {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 47ch;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button, .submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.5;
}

.button-primary, .submit {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}

.button-primary:hover, .submit:hover {
  background: #ffa457;
}

.button-secondary {
  border-color: var(--color-border);
  background: var(--color-surface);
}

.button-secondary:hover {
  border-color: var(--color-accent-text);
}

.portrait-panel {
  display: grid;
  grid-template-columns: clamp(120px, 36vw, 152px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.portrait-pair {
  position: relative;
  min-width: 0;
  aspect-ratio: 1;
}

.portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.portrait-pair .portrait {
  position: absolute;
  inset: 0;
  height: 100%;
}

.portrait-dark, :root[data-theme="dark"] .portrait-light {
  opacity: 0;
}

:root[data-theme="dark"] .portrait-dark {
  opacity: 1;
}

:root.theme-transition .portrait {
  transition: opacity 220ms ease-out, border-color 220ms ease-out;
}

.status .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--color-accent);
}

.status-line {
  margin: 0;
  color: var(--color-muted);
  font-size: .9375rem;
  line-height: 1.65;
}

.section {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}

.section-index {
  color: var(--color-accent-text);
  font: .75rem var(--font-mono);
  flex: 0 0 auto;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 550;
  letter-spacing: -.025em;
}

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

.contact-link {
  text-decoration: none;
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  min-height: 80px;
  padding: 14px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  font-size: .9rem;
  line-height: 1.5;
}

.contact-link[hidden] {
  display: none;
}

.contact-email, .contact-max {
  grid-column: 1 / -1;
}

.contact-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-value {
  display: block;
  margin-top: 3px;
  color: var(--color-text);
  font-size: .8125rem;
}

.contact-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--color-brand-icon);
}

.contact-link:hover, .contact-link:focus-visible, .contact-link:active {
  color: var(--color-accent-text);
  border-color: var(--color-accent-text);
  background: var(--color-surface-strong);
}

#contact-form {
  min-width: 0;
}

.contact-form-guard {
  margin: 0;
  padding: 0;
  min-width: 0;
  border: 0;
}

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

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

label {
  color: var(--color-text);
  font-size: .85rem;
}

input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  padding: 12px 14px;
}

input::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

.field-error {
  margin: 0;
  color: var(--color-danger);
  font-size: .8125rem;
  line-height: 1.4;
}

#contact-form input:focus,
#contact-form .editor-wrap:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-focus-ring);
}

#contact-form input[aria-invalid="true"],
#contact-form input[aria-invalid="true"]:focus,
#contact-form .editor-wrap.has-error,
#contact-form .editor-wrap.has-error:focus-within {
  border-color: var(--color-danger);
}

#contact-form input:focus-visible {
  outline: none;
}

.editor-wrap {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid var(--color-border);
}

.editor-toolbar-group {
  position: relative;
}

.editor-toolbar-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 9px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: var(--color-surface-strong);
  color: var(--color-text);
  font-size: .8125rem;
  line-height: 1;
}

.editor-toolbar-link {
  padding: 0 9px;
}

.editor-toolbar-icon {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.editor-toolbar-trigger:hover, .editor-toolbar-trigger[aria-expanded="true"], .editor-toolbar-item:hover {
  color: var(--color-accent-text);
  border-color: var(--color-accent);
}

.editor-toolbar-trigger:focus-visible, .editor-toolbar-item:focus-visible {
  border-color: var(--color-accent);
  outline: none;
}

.editor-toolbar-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 2;
  min-width: 210px;
  max-width: calc(100vw - 32px);
  padding: 5px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 6px 18px rgb(0 0 0 / .12);
}

.editor-toolbar-menu[hidden] {
  display: none;
}

.editor-toolbar-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--color-text);
  text-align: left;
  font-size: .8125rem;
  white-space: nowrap;
}

.editor-toolbar-item:hover, .editor-toolbar-item:focus-visible {
  background: var(--color-surface-strong);
}

.editor {
  min-height: 180px;
  max-height: 420px;
  overflow: auto;
  overflow-wrap: anywhere;
  padding: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
}

#contact-form .editor:focus-visible {
  outline: none;
}

.editor:empty::before {
  content: attr(data-placeholder);
  color: var(--color-muted);
  pointer-events: none;
}

.editor a {
  color: var(--color-accent-text);
  text-decoration: underline;
}

.editor p, .editor div {
  margin: 0 0 .65em;
}

.editor h1, .editor h2, .editor h3 {
  margin: .5em 0;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: normal;
}

.editor h1 {
  font-size: 1.65rem;
}

.editor h2 {
  font-size: 1.35rem;
}

.editor h3 {
  font-size: 1.125rem;
}

.editor ul, .editor ol {
  margin: .5em 0;
  padding-left: 1.6em;
}

.editor li {
  margin: .2em 0;
}

@media (max-width: 599px) {
  .editor-toolbar-trigger {
    min-height: 44px;
    padding: 0 8px;
  }

  .editor-toolbar-group > .editor-toolbar-trigger > .editor-toolbar-icon:first-child {
    display: none;
  }

  .editor-toolbar-link {
    min-height: 44px;
  }

  .editor-toolbar-item {
    min-height: 44px;
  }
}

.captcha-field {
  container-type: inline-size;
}

.captcha-widget {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.captcha-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}

.captcha-activate {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-text);
  text-align: left;
}

.captcha-heading {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.captcha-title {
  color: var(--color-text);
  font-size: .85rem;
  font-weight: 550;
}

.captcha-hint {
  color: var(--color-muted);
  font-size: .8125rem;
  line-height: 1.4;
}

.captcha-activation-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-accent-text);
}

.captcha-widget[data-active="true"] .captcha-activation-mark {
  border-color: var(--color-accent-text);
}

.captcha-activation-mark svg {
  display: block;
  width: 16px;
  height: 16px;
  opacity: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.captcha-widget[data-expanded="true"] .captcha-activation-mark svg {
  opacity: 1;
}

.captcha-help-toggle {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 700;
}

.captcha-help-toggle:hover, .captcha-help-toggle:focus-visible {
  background: var(--color-surface-strong);
}

.captcha-help {
  position: absolute;
  top: calc(100% - 4px);
  right: 12px;
  z-index: 3;
  width: min(19rem, calc(100% - 24px));
  margin: 0;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 6px 18px rgb(0 0 0 / .12);
  font-size: .8125rem;
  line-height: 1.5;
}

.captcha-help::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 10px;
}

.captcha-help[hidden] {
  display: none;
}

.captcha-reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease-out;
}

.captcha-reveal-inner {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
}

.captcha-widget[data-expanded="true"] .captcha-reveal {
  grid-template-rows: 1fr;
}

.captcha-widget[data-expanded="true"] .captcha-reveal-inner {
  visibility: visible;
}

.captcha-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 18rem) 44px;
  grid-template-areas: "image refresh" "answer answer" "message message";
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 4px 12px 12px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 240ms ease-out, transform 240ms ease-out;
}

.captcha-widget[data-expanded="true"] .captcha-panel {
  opacity: 1;
  transform: none;
}

.captcha-image-slot {
  grid-area: image;
  position: relative;
  width: 100%;
  max-width: 18rem;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-surface-strong);
}

.captcha-answer-field {
  position: relative;
  grid-area: answer;
  gap: 0;
}

#captcha-image {
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

#captcha-image[hidden] {
  display: none;
}

.captcha-refresh {
  grid-area: refresh;
  position: relative;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--color-muted);
  font-size: 1.5rem;
  font-weight: 400;
}

.captcha-refresh:hover:not(:disabled):not([aria-disabled="true"]) {
  color: var(--color-text);
}

#captcha-refresh:disabled, #captcha-refresh[aria-disabled="true"] {
  opacity: .55;
  cursor: default;
}

#captcha-refresh:disabled:hover,
#captcha-refresh[aria-disabled="true"]:hover {
  color: var(--color-muted);
  background: transparent;
  border-color: var(--color-border);
  box-shadow: none;
}

/* The slot stays in flow for ready, loading and actionable errors alike. */
.captcha-message-slot {
  grid-area: message;
  block-size: 2.8em;
  overflow-y: auto;
  font-size: .8125rem;
  line-height: 1.4;
}

#captcha-status {
  min-height: 0;
  font-size: inherit;
  line-height: inherit;
  overflow-wrap: anywhere;
}

#captcha-error {
  overflow-wrap: anywhere;
}

.captcha-answer-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.captcha-panel > :where(#captcha-image-slot, .captcha-answer-field, #captcha-refresh) {
  filter: blur(0);
  opacity: 1;
  transition: filter 160ms ease-out, opacity 160ms ease-out;
}

.captcha-widget[aria-busy="true"] .captcha-panel > :is(#captcha-image-slot, .captcha-answer-field, #captcha-refresh) {
  filter: blur(1px);
  opacity: .6;
  pointer-events: none;
}

.captcha-live {
  grid-column: 1 / -1;
  grid-row: 1 / 3;
  align-self: stretch;
  justify-self: stretch;
  min-width: 0;
  min-height: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-surface) 70%, transparent);
  color: var(--color-text);
  font-size: .875rem;
  font-weight: 550;
  line-height: 1.5;
  text-align: center;
  cursor: default;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease-out;
}

.captcha-widget[aria-busy="true"] .captcha-live {
  opacity: 1;
}

.captcha-widget[aria-busy="true"] .captcha-activate {
  cursor: default;
}

@container (min-width: 36rem) {
  .captcha-live {
    grid-row: 1;
  }

  .captcha-panel {
    grid-template-columns: minmax(0, 18rem) minmax(10rem, 1fr) 44px;
    grid-template-areas: "image answer refresh" "message message message";
  }
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.submit:disabled {
  cursor: wait;
}

.submit:disabled:not([data-disabled-reason="captcha-refresh"]) {
  opacity: .55;
}

.submit[data-disabled-reason="captcha-refresh"] {
  opacity: 1;
}

.submit[data-disabled-reason^="captcha-"] {
  cursor: default;
}

.form-status {
  margin: 0;
  color: var(--color-muted);
  min-height: 1.4em;
  font-size: .9rem;
  line-height: 1.5;
}

.form-status[data-kind="error"] {
  color: var(--color-danger);
}

.form-status[data-kind="success"] {
  color: var(--color-accent-text);
}

.footer {
  margin-top: 12px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font: .75rem/1.6 var(--font-mono);
  padding: 24px 0;
  text-align: center;
}

/* Shared surface and error layout used by 404.html. */
.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.error-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.error-content {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 56px) 0;
}

.error-card {
  width: min(680px, 100%);
  padding: clamp(24px, 7vw, 56px);
  text-align: center;
}

.error-code {
  color: var(--color-accent-text);
  font: 600 .85rem var(--font-mono);
  letter-spacing: .16em;
}

.error-card h1 {
  font-size: clamp(2rem, 7vw, 4.5rem);
  margin-top: 14px;
}

.error-card p {
  color: var(--color-muted);
  line-height: 1.7;
}

.error-card .button {
  margin-top: 14px;
}

@media (min-width: 600px) {
  .topbar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
  }

  .topbar-controls {
    justify-content: flex-start;
  }

  .brand {
    gap: 12px;
    font-size: .9rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .page {
    width: min(var(--max-width), calc(100% - 64px));
  }

  .hero {
    padding: 56px 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .portrait-panel {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 20px;
  }

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

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

  .contact-link {
    padding: 18px;
    gap: 12px;
  }

  .section {
    padding: 40px 0;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 64px;
    padding: 64px 0;
  }

  .lead {
    font-size: 1.05rem;
  }

  .portrait-panel {
    display: block;
  }

  .status {
    margin-top: 20px;
    padding-left: 16px;
    border-left: 2px solid var(--color-accent);
  }

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

  .contact-email, .contact-max {
    grid-column: auto;
  }

  :root[lang="en"] .contact-email {
    grid-column: span 2;
  }

  .contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 40px;
    padding: 48px 0;
  }
}

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

  .captcha-reveal, .captcha-panel {
    transition: none;
  }

  .page-switch-out {
    transition: none;
  }

  .page-switch-in {
    animation: none;
  }

  :root.theme-transition, :root.theme-transition *, :root.theme-transition .portrait {
    transition: none;
  }
}
