/* =============================================================
   BONAVIOX · CONTACT PAGE
   Premium form · navy + paper · channel cards + response expectations
   Body floor 16px (eyebrow + label exceptions).
   ============================================================= */

/* Site chrome */
.grain {
  position: fixed; inset: 0;
  z-index: 99; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.93 0 0 0 0 0.91 0 0 0 0 0.87 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px;
}
.ex-body { cursor: none; }
.ex-body a, .ex-body button, .ex-body input, .ex-body label, .ex-body textarea, .ex-body select { cursor: none; }
.cursor-halo {
  position: fixed; top: 0; left: 0;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(200, 154, 132, 0.7);
  pointer-events: none;
  transform: translate(calc(var(--ex-cursor-x, 50vw) - 16px), calc(var(--ex-cursor-y, 50vh) - 16px));
  transition: transform 80ms linear;
  z-index: 200; mix-blend-mode: difference;
}
.container.container--wide { max-width: 1520px; }

/* =============================================================
   1 · HERO
   ============================================================= */
.ct-hero {
  position: relative;
  isolation: isolate;
  padding-top: var(--sp-9);
  padding-bottom: var(--sp-9);
  overflow: clip;
}
.ct-hero-atmosphere {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 80% 8%, rgba(200,154,132,0.10) 0%, transparent 65%),
    radial-gradient(50% 60% at 10% 100%, rgba(22,54,92,0.65) 0%, transparent 70%),
    linear-gradient(180deg, var(--bv-navy-1000) 0%, var(--bv-navy-900) 55%, var(--bv-navy-800) 100%);
}
.ct-hero > .container { position: relative; z-index: 1; }
.ct-hero-inner { max-width: 760px; }
.ct-hero-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--fg-2);
  margin: var(--sp-5) 0 0;
  max-width: 640px;
}

/* Coordinate stamp · top-right of hero */
.ct-stamp {
  position: absolute;
  top: var(--sp-7);
  right: var(--sp-6);
  z-index: 2;
  padding: 8px 14px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(15, 39, 68, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 280px;
  transform: rotate(-1.2deg);
}
.ct-stamp-rule {
  width: 100%;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

/* =============================================================
   2 · CHANNEL CARDS (paper)
   ============================================================= */
.ct-channels {
  background:
    radial-gradient(60% 50% at 18% 18%, rgba(216,196,178,0.55) 0%, transparent 65%),
    radial-gradient(50% 50% at 88% 88%, rgba(244,222,207,0.5) 0%, transparent 70%),
    var(--bv-paper);
  color: var(--fg-on-paper-1);
}
.ct-channels .hairline-short { background: var(--bv-rose-600); }

.ct-channel-grid {
  list-style: none;
  margin: var(--sp-7) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ct-channel-card {
  position: relative;
  padding: var(--sp-6);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--bv-paper-deep);
  border-radius: var(--r-3);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.ct-channel-card:hover {
  border-color: var(--bv-rose-600);
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}
.ct-channel-card--featured {
  background:
    linear-gradient(160deg, rgba(200,154,132,0.10) 0%, transparent 60%),
    rgba(255, 255, 255, 0.5);
  border-color: var(--bv-rose-600);
}
.ct-channel-tag {
  display: inline-block;
  width: fit-content;
  padding: 5px 12px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bv-rose-600);
  border: 1px solid var(--bv-rose-600);
  border-radius: 999px;
  background: rgba(200, 154, 132, 0.08);
}
.ct-channel-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(200, 154, 132, 0.12);
  border: 1px solid var(--bv-rose-600);
  color: var(--bv-rose-600);
  display: flex; align-items: center; justify-content: center;
  margin-top: var(--sp-2);
}
.ct-channel-icon [data-lucide] { width: 18px; height: 18px; }
.ct-channel-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  color: var(--bv-navy-900);
  margin: 0;
  letter-spacing: -0.012em;
  line-height: 1.18;
}
.ct-channel-body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(27, 27, 27, 0.78);
  margin: 0;
  flex: 1;
}
.ct-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--bv-rose-600);
  border-bottom: 1px solid rgba(181, 133, 113, 0.4);
  width: fit-content;
  padding-bottom: 2px;
  transition: border-bottom-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.ct-channel-link:hover {
  color: var(--bv-navy-900);
  border-bottom-color: var(--bv-navy-900);
}
.ct-channel-link [data-lucide] { width: 14px; height: 14px; }
.ct-channel-meta {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(27, 27, 27, 0.55);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--hairline-paper);
}

/* =============================================================
   3 · FORM SECTION
   ============================================================= */
.ct-form-section {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(22,54,92,0.7) 0%, transparent 70%),
    var(--bv-navy-900);
}
.ct-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.ct-form-aside {
  position: sticky;
  top: 100px;
}
.ct-form-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-2);
  margin: var(--sp-5) 0 var(--sp-6);
  max-width: 480px;
}
.ct-promises {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--hairline);
  margin: 0;
}
.ct-promises > div {
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
.ct-promises dt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.ct-promises dt [data-lucide] { width: 14px; height: 14px; }
.ct-promises dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fg-2);
}

/* Form */
.ct-form {
  position: relative;
  padding: var(--sp-7);
  background:
    linear-gradient(160deg, rgba(200,154,132,0.05) 0%, transparent 60%),
    rgba(244, 242, 238, 0.03);
  border: 1px solid var(--hairline);
  border-radius: var(--r-4);
  backdrop-filter: blur(8px);
}
.ct-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  position: relative;
}
.ct-field > span {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.ct-field-optional {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg-3);
  font-weight: 400;
  margin-left: 4px;
}
.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--fg-1);
  outline: none;
  resize: vertical;
  letter-spacing: -0.005em;
  transition: border-bottom-color var(--dur-base) var(--ease-out), padding-left var(--dur-base) var(--ease-out);
}
.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: var(--fg-3);
  font-family: var(--font-display);
  font-style: italic;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-bottom-color: var(--accent);
  padding-left: 6px;
}
.ct-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%),
                    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 10px) calc(50% - 3px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
.ct-field select option { background: var(--bv-navy-900); color: var(--fg-1); }
.ct-field textarea { resize: vertical; min-height: 140px; }

.ct-field-counter {
  position: absolute;
  bottom: -22px;
  right: 0;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--fg-3);
}

/* Custom checkbox */
.ct-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  margin: var(--sp-5) 0 var(--sp-5);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-2);
  cursor: pointer;
}
.ct-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ct-check-mark {
  position: relative;
  width: 20px; height: 20px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.ct-check-mark::after {
  content: "";
  width: 10px; height: 5px;
  border: 2px solid var(--bv-navy-900);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.ct-checkbox input:checked + .ct-check-mark {
  background: var(--accent);
  border-color: var(--accent);
}
.ct-checkbox input:checked + .ct-check-mark::after { opacity: 1; }

/* Form footer */
.ct-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.ct-form-foot .btn [data-lucide] { width: 14px; height: 14px; }
.ct-form-foot-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.ct-form-foot-note [data-lucide] { width: 12px; height: 12px; color: var(--accent); }

/* Success state */
.ct-form-success {
  position: absolute;
  inset: 0;
  border-radius: var(--r-4);
  background:
    linear-gradient(160deg, rgba(200,154,132,0.12) 0%, transparent 60%),
    rgba(15, 39, 68, 0.95);
  border: 1px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-7);
  animation: ct-success-in 360ms var(--ease-out);
}
.ct-form-success[hidden] { display: none !important; }
.ct-form-success-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bv-navy-900);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
  animation: ct-success-ping 1.8s ease-out infinite;
}
.ct-form-success-mark [data-lucide] { width: 24px; height: 24px; stroke-width: 2.2; }
.ct-form-success h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  color: var(--fg-1);
  margin: 0 0 var(--sp-3);
  letter-spacing: -0.012em;
}
.ct-form-success p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0 0 var(--sp-5);
  max-width: 480px;
}
@keyframes ct-success-in {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ct-success-ping {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,154,132,0.5); }
  50%      { box-shadow: 0 0 0 18px rgba(200,154,132,0); }
}

/* =============================================================
   4 · BAND · address + response expectations
   ============================================================= */
.ct-band {
  background:
    radial-gradient(60% 50% at 0% 100%, rgba(200,154,132,0.07) 0%, transparent 70%),
    var(--bv-navy-1000);
}
.ct-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ct-band-card {
  padding: var(--sp-7);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  background: rgba(244, 242, 238, 0.03);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.ct-band-card .display-3 { margin: 0; line-height: 1.18; }
.ct-band-card .eyebrow { margin: 0 0 var(--sp-2); }
.ct-address {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--fg-1);
  letter-spacing: -0.005em;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  margin: 0;
}
.ct-band-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-3);
  margin: 0;
}

.ct-expectations {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline-soft);
}
.ct-expectations li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 15px;
  line-height: 1.45;
}
.ct-expectations li span {
  font-family: var(--font-sans);
  color: var(--fg-2);
}
.ct-expectations li strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  color: var(--accent);
  text-align: right;
  letter-spacing: -0.005em;
}

/* =============================================================
   5 · FINAL CTA
   ============================================================= */
.ct-final { padding-top: var(--sp-9); padding-bottom: var(--sp-9); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1366px) {
  .ct-form-grid { gap: 56px; }
}

@media (max-width: 1200px) {
  .ct-channel-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .ct-form-grid { grid-template-columns: 1fr 1.2fr; gap: 40px; }
}

@media (max-width: 1024px) {
  html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }
  .section { overflow-x: clip; }
  .container,
  .container.container--wide {
    padding-left: 28px; padding-right: 28px;
    max-width: 100%; box-sizing: border-box;
  }

  .ct-stamp { display: none; }
  .ct-channel-grid { grid-template-columns: 1fr; }
  .ct-form-grid { grid-template-columns: 1fr; gap: 32px; }
  .ct-form-aside { position: relative; top: auto; }
  .ct-band-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .container,
  .container.container--wide { padding-left: 24px; padding-right: 24px; }
  .ct-form { padding: var(--sp-6); }
  .ct-field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 767px) {
  .container,
  .container.container--wide { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: var(--sp-7); padding-bottom: var(--sp-7); }

  .ct-hero-inner .display-hero { font-size: clamp(38px, 11vw, 56px); }
  .ct-form { padding: var(--sp-5) var(--sp-4); }
  .ct-form-foot { flex-direction: column; align-items: stretch; }
  .ct-form-foot .btn { width: 100%; }
  .ct-form-foot-note { justify-content: center; }
  .ct-field input,
  .ct-field select,
  .ct-field textarea { font-size: 17px; }

  .ct-band-card { padding: var(--sp-4); }

  .ct-expectations li { flex-direction: column; gap: 4px; }
  .ct-expectations li strong { text-align: left; }
}
