/* Niemandsland contact — handcrafted Obsidian / brass UI. */
.ct-page {
  --ct-gold: #d9b65c;
  --ct-muted: #a7a29b;
  --ct-border: #c8a24a30;
  min-width: 0;
  padding: 12px 0 28px;
}

.ct-page *, .ct-admin * {
  box-sizing: border-box;
}

.ct-breadcrumb {
  color: #aaa39a;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 11px;
  display: flex;
}

.ct-breadcrumb a:hover {
  color: var(--ct-gold);
}

.ct-breadcrumb > span:last-child {
  color: #dfd5bd;
}

.ct-hero {
  border: 1px solid var(--ct-border);
  background: radial-gradient(at 85% 45%, #c8a24a0d, #0000 65%), linear-gradient(130deg, #18171b, #0e0e12);
  border-radius: 16px;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 38px 40px 35px;
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 70px -40px #000, inset 0 1px #ffffff08;
}

.ct-hero:before {
  content: "";
  background: linear-gradient(90deg, #e6cd8a, #0000);
  width: 100px;
  height: 2px;
  position: absolute;
  top: 0;
  left: 40px;
}

.ct-eyebrow {
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #d2b77b;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
}

.ct-icon {
  color: #d2b77b;
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  display: inline-flex;
}

.ct-icon svg {
  width: 100%;
  height: 100%;
}

.ct-hero h1 {
  font-family: var(--font-display);
  letter-spacing: -.8px;
  color: #f1ece1;
  margin-top: 20px;
  font-size: clamp(30px, 3.8vw, 47px);
  font-weight: 400;
  line-height: 1.2;
}

.ct-hero h1 em {
  color: #e6cd8a;
  font-style: normal;
}

.ct-lead {
  color: #b4afa6;
  max-width: 510px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.9;
}

.ct-hero-tags {
  color: #c6c0b4;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 25px;
  font-size: 11px;
  display: flex;
}

.ct-hero-tags span {
  align-items: center;
  gap: 7px;
  display: flex;
}

.ct-hero-tags svg {
  color: #bea05b;
  width: 16px;
  height: 16px;
}

.ct-art {
  min-width: 0;
}

.ct-art > svg {
  width: 100%;
  height: auto;
  display: block;
}

.ct-orbit {
  transform-origin: 260px 150px;
  animation: 48s linear infinite ct-orbit;
}

.ct-letter {
  animation: 7s ease-in-out infinite ct-float;
}

.ct-pulse {
  animation: 5s ease-in-out infinite ct-pulse;
}

.ct-signal-line {
  stroke-dasharray: 800;
  animation: 5s ease-in-out ct-signal;
}

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

@keyframes ct-float {
  50% {
    transform: translateY(-6px);
  }
}

@keyframes ct-pulse {
  50% {
    opacity: .4;
  }
}

@keyframes ct-signal {
  from {
    stroke-dashoffset: 800px;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.ct-layout {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 44px;
  margin: 42px 0;
  display: grid;
}

.ct-sidebar {
  min-width: 0;
  padding: 12px 0;
}

.ct-section-label {
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #b5a17a;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
}

.ct-section-label > span {
  font-family: var(--font-mono);
  color: #c8a24a;
  border: 1px solid #c8a24a30;
  border-radius: 4px;
  padding: 3px 5px;
  font-size: 11px;
}

.ct-sidebar h2, .ct-form-head h2 {
  font: 400 25px/1.3 var(--font-display);
  color: #e9e4d9;
  margin-top: 14px;
}

.ct-muted {
  color: var(--ct-muted);
  font-size: 12px;
  line-height: 1.8;
}

.ct-sidebar > .ct-muted {
  margin-top: 10px;
}

.ct-topics {
  gap: 10px;
  margin-top: 24px;
  display: grid;
}

.ct-topic {
  text-align: left;
  cursor: pointer;
  background: linear-gradient(100deg, #ffffff03, #0000);
  border: 1px solid #ffffff0d;
  border-radius: 9px;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 17px 14px;
  transition: background .2s, border-color .2s;
  display: flex;
}

.ct-topic:hover, .ct-topic.is-selected {
  background: #c8a24a08;
  border-color: #c8a24a60;
}

.ct-topic-icon {
  color: #d2b77b;
  background: #c8a24a07;
  border: 1px solid #c8a24a25;
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 46px;
  display: flex;
}

.ct-topic-icon svg {
  width: 25px;
  height: 25px;
}

.ct-topic > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.ct-topic strong {
  color: #dfd8c9;
  font-size: 13px;
  font-weight: 600;
  display: block;
}

.ct-topic > span:nth-child(2) > span {
  color: #a8a198;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.7;
  display: block;
}

.ct-topic-arrow {
  color: #96805b;
  flex-shrink: 0;
  width: 16px;
}

.ct-topic-arrow svg {
  width: 100%;
}

.ct-direct {
  border-bottom: 1px solid #ffffff0d;
  gap: 15px;
  margin-top: 16px;
  padding: 23px 0;
  display: flex;
}

.ct-direct .ct-icon {
  margin-top: 3px;
}

.ct-direct .ct-eyebrow {
  font-size: 9px;
}

.ct-direct a {
  color: #e6cd8a;
  margin-top: 8px;
  font-size: 16px;
  display: block;
}

.ct-direct a:hover {
  text-decoration: underline;
}

.ct-direct p {
  color: #a39c92;
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.7;
}

.ct-tip {
  align-items: flex-start;
  gap: 13px;
  margin-top: 21px;
  display: flex;
}

.ct-tip p {
  color: #aaa39a;
  font-size: 11px;
  line-height: 1.9;
}

.ct-tip .ct-icon {
  width: 19px;
  height: 19px;
  margin-top: 2px;
}

.ct-form-card {
  border: 1px solid var(--ct-border);
  background: linear-gradient(135deg, #18181d, #101014);
  border-radius: 14px;
  min-width: 0;
  padding: 29px 30px;
  scroll-margin-top: 90px;
  box-shadow: 0 22px 50px -35px #000, inset 0 1px #ffffff07;
}

.ct-form-head {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 27px;
  display: flex;
}

.ct-form-head h2 {
  font-size: 24px;
}

.ct-form-head p {
  color: #a9a197;
  margin-top: 8px;
  font-size: 11px;
}

.ct-form-seal {
  color: #d2b77b;
  border: 1px solid #c8a24a30;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  display: flex;
}

.ct-form-seal svg {
  width: 21px;
  height: 21px;
}

.ct-fieldset {
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.ct-field {
  min-width: 0;
  margin-bottom: 20px;
}

.ct-fields-row {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  display: grid;
}

.ct-field label {
  color: #cec8bc;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 600;
  display: block;
}

.ct-control {
  position: relative;
}

.ct-control > svg {
  color: #9c8760;
  pointer-events: none;
  width: 17px;
  height: 17px;
  position: absolute;
  top: 14px;
  left: 14px;
}

.ct-control input, .ct-control select, .ct-field textarea {
  appearance: none;
  color: #ebe6dc;
  background: #0d0d11;
  border: 1px solid #3a3632;
  border-radius: 7px;
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  font-size: 13px;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}

.ct-control input, .ct-control select {
  padding-left: 42px;
}

.ct-control select {
  appearance: auto;
  padding-right: 12px;
}

.ct-field textarea {
  resize: vertical;
  min-height: 140px;
  max-height: 480px;
}

.ct-control input::placeholder, .ct-field textarea::placeholder {
  color: #8c857b;
  font-size: 12px;
}

.ct-control input:focus, .ct-control select:focus, .ct-field textarea:focus {
  border-color: #c8a24a;
  outline: 0;
  box-shadow: 0 0 0 3px #c8a24a12;
}

.ct-page [aria-invalid="true"] {
  border-color: #d99d79;
}

.ct-message-hint {
  color: #aaa196;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 10px;
  display: flex;
}

.ct-field-error {
  color: #f1ad91;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.7;
}

.ct-consent {
  align-items: flex-start;
  gap: 10px;
  margin-top: 23px;
  display: flex;
}

.ct-consent input {
  accent-color: #c8a24a;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.ct-consent label {
  color: #b9b1a4;
  font-size: 11px;
  line-height: 1.9;
}

.ct-consent a, .ct-alert a {
  color: #e6cd8a;
  text-underline-offset: 3px;
  text-decoration: underline;
}

.ct-captcha {
  margin-top: 20px;
}

.ct-submit {
  color: #171309;
  letter-spacing: .4px;
  cursor: pointer;
  background: linear-gradient(110deg, #e6cd8a, #c8a24a);
  border: 1px solid #d8b764;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 700;
  transition: filter .2s;
  display: flex;
  box-shadow: inset 0 1px #fff4, 0 5px 15px #0004;
}

.ct-submit:hover {
  filter: brightness(1.09);
}

.ct-submit:disabled {
  opacity: .55;
  cursor: wait;
}

.ct-submit svg {
  width: 17px;
  height: 17px;
}

.ct-form-foot {
  color: #aaa196;
  justify-content: center;
  align-items: flex-start;
  gap: 7px;
  margin-top: 14px;
  font-size: 10px;
  line-height: 1.7;
  display: flex;
}

.ct-form-foot svg {
  flex-shrink: 0;
  width: 13px;
  height: 15px;
}

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

.ct-alert {
  color: #efb497;
  background: #ad623512;
  border: 1px solid #bd7e5b66;
  border-radius: 7px;
  margin-bottom: 20px;
  padding: 14px;
  font-size: 12px;
  line-height: 1.8;
}

.ct-success {
  text-align: center;
  padding: 20px 0 30px;
}

.ct-success-icon {
  color: #b8c599;
  background: #8a9a6a0d;
  border: 1px solid #8a9a6a70;
  border-radius: 50%;
  margin-bottom: 24px;
  padding: 18px;
  display: inline-flex;
}

.ct-success-icon svg {
  width: 33px;
  height: 33px;
}

.ct-success .ct-eyebrow {
  justify-content: center;
}

.ct-success h2 {
  font: 400 28px/1.4 var(--font-display);
  color: #f0e6d1;
  margin: 14px 0;
}

.ct-success > p:not(.ct-eyebrow) {
  color: #b9b1a4;
  font-size: 13px;
  line-height: 1.9;
}

.ct-receipt {
  background: #c8a24a08;
  border: 1px solid #c8a24a30;
  border-radius: 7px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 26px 0 14px;
  padding: 18px;
  display: flex;
}

.ct-receipt span {
  color: #b9b1a4;
  font-size: 11px;
}

.ct-receipt strong {
  font: 500 14px var(--font-mono);
  color: #e6cd8a;
}

.ct-back {
  color: #e6cd8a;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  font-size: 12px;
  display: inline-flex;
}

.ct-back svg {
  width: 17px;
  height: 17px;
}

.ct-bottom {
  color: #a9a196;
  border-top: 1px solid #c8a24a25;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  font-size: 11px;
  line-height: 1.8;
  display: flex;
}

.ct-bottom p {
  flex: 1;
}

.ct-bottom strong {
  color: #d8cfbc;
  font-size: 12px;
  font-weight: 500;
}

.ct-bottom a {
  color: #d2b77b;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  display: flex;
}

.ct-bottom a svg {
  width: 15px;
  height: 15px;
}

.ct-page :is(a, button, input, select, textarea):focus-visible {
  outline-offset: 4px;
  outline: 2px solid #e6cd8a;
}

.ct-admin {
  color: #ddd5c8;
}

.ct-admin-head {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  display: flex;
}

.ct-admin-head h2 {
  font: 500 26px var(--font-display);
  color: #e6cd8a;
}

.ct-admin-head p {
  color: #b2aa9f;
  margin-top: 7px;
  font-size: 12px;
}

.ct-admin-stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  display: grid;
}

.ct-admin-stat {
  background: #141418;
  border: 1px solid #c8a24a26;
  border-radius: 9px;
  padding: 17px 20px;
}

.ct-admin-stat strong {
  font: 400 28px var(--font-display);
  color: #e6cd8a;
}

.ct-admin-stat span {
  color: #b2aa9f;
  margin-top: 4px;
  font-size: 11px;
  display: block;
}

.ct-admin-toolbar {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  display: flex;
}

.ct-admin-toolbar input {
  flex: 1;
  min-width: 180px;
}

.ct-admin-toolbar select {
  width: auto;
}

.ct-inbox {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 20px;
  display: grid;
}

.ct-inbox-list, .ct-inbox-detail {
  background: #141418;
  border: 1px solid #3c352b;
  border-radius: 10px;
  min-width: 0;
  padding: 18px;
}

.ct-inbox-row {
  text-align: left;
  cursor: pointer;
  background: #ffffff02;
  border: 1px solid #ffffff0d;
  border-radius: 6px;
  width: 100%;
  margin-bottom: 9px;
  padding: 14px;
  display: block;
}

.ct-inbox-row:hover, .ct-inbox-row.is-selected {
  background: #c8a24a08;
  border-color: #c8a24a80;
}

.ct-inbox-meta {
  color: #b6a077;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  display: flex;
}

.ct-inbox-row strong {
  color: #e2dacb;
  overflow-wrap: anywhere;
  margin: 8px 0;
  font-size: 13px;
  display: block;
}

.ct-inbox-row p {
  color: #b2aa9f;
  overflow-wrap: anywhere;
  font-size: 11px;
}

.ct-inbox-detail h3 {
  font: 400 23px/1.4 var(--font-display);
  color: #e6cd8a;
  overflow-wrap: anywhere;
  margin: 14px 0;
}

.ct-inbox-detail a {
  color: #e6cd8a;
  overflow-wrap: anywhere;
}

.ct-inbox-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-block: 1px solid #ffffff12;
  margin: 14px 0;
  padding: 18px 0;
  font-size: 13px;
  line-height: 1.8;
}

.ct-inbox-detail label {
  color: #c4bbaa;
  margin: 16px 0 8px;
  font-size: 12px;
  display: block;
}

.ct-inbox-detail textarea {
  resize: vertical;
}

.ct-admin-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  display: flex;
}

.ct-admin-actions .btn-danger {
  margin-left: auto;
}

.ct-inbox-pagination {
  color: #b2aa9f;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  font-size: 11px;
  display: flex;
}

.ct-inbox-empty {
  color: #b2aa9f;
  text-align: center;
  padding: 32px 12px;
  font-size: 12px;
  line-height: 1.9;
}

.ct-admin [role="alert"] {
  border: 1px solid #bc7e5b66;
  border-radius: 7px;
  margin-bottom: 15px;
  padding: 12px;
  font-size: 12px;
}

@media (width >= 1200px) {
  .ct-layout {
    gap: 60px;
  }

  .ct-sidebar {
    padding-right: 10px;
  }

  .ct-form-card {
    padding: 32px 35px;
  }
}

@media (width <= 900px) {
  .ct-hero {
    gap: 12px;
    padding: 30px 25px;
  }

  .ct-hero h1 {
    font-size: 34px;
  }

  .ct-layout {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 25px;
  }

  .ct-form-card {
    padding: 25px 22px;
  }

  .ct-fields-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ct-inbox {
    grid-template-columns: 1fr;
  }
}

@media (width <= 680px) {
  .ct-hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 27px 22px 18px;
  }

  .ct-hero h1 {
    font-size: 33px;
  }

  .ct-hero-copy {
    z-index: 1;
    position: relative;
  }

  .ct-art {
    justify-self: center;
    width: 100%;
    max-width: 370px;
    margin-top: 0;
  }

  .ct-layout {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 25px;
  }

  .ct-sidebar {
    padding: 0;
  }

  .ct-topics {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .ct-topic {
    padding: 13px;
    display: block;
  }

  .ct-topic-icon {
    width: 34px;
    height: 36px;
    margin-bottom: 10px;
  }

  .ct-topic-icon svg {
    width: 21px;
  }

  .ct-topic strong {
    font-size: 12px;
  }

  .ct-topic-arrow {
    display: none;
  }

  .ct-direct {
    margin-top: 5px;
    padding-bottom: 18px;
  }

  .ct-tip {
    margin-top: 17px;
  }

  .ct-form-head h2 {
    font-size: 22px;
  }

  .ct-form-seal {
    width: 35px;
    height: 35px;
  }

  .ct-form-card {
    padding: 24px 19px;
  }

  .ct-bottom {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .ct-bottom p {
    flex-basis: calc(100% - 45px);
  }

  .ct-bottom a {
    margin-left: 39px;
  }

  .ct-admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  .ct-admin-stat {
    padding: 14px;
  }

  .ct-admin-head {
    align-items: flex-start;
  }

  .ct-admin-actions .btn-danger {
    margin-left: 0;
  }
}

@media (width <= 360px) {
  .ct-hero {
    padding: 25px 18px 14px;
  }

  .ct-hero h1 {
    font-size: 29px;
  }

  .ct-eyebrow {
    letter-spacing: 1px;
    font-size: 9px;
  }

  .ct-hero-tags {
    gap: 11px;
  }

  .ct-form-seal {
    display: none;
  }

  .ct-form-card {
    padding: 22px 15px;
  }

  .ct-topics {
    gap: 7px;
  }

  .ct-topic {
    padding: 12px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-page *, .ct-page :before, .ct-admin * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
