.owner-intake-page {
  --owner-bg: #f7f1e8;
  --owner-surface: rgba(255, 255, 255, 0.86);
  --owner-border: rgba(36, 56, 44, 0.12);
  --owner-text: #1d2a22;
  --owner-muted: #5f6f64;
  --owner-accent: #b85c38;
  --owner-accent-dark: #8f472b;
  --owner-forest: #234432;
  --owner-gold: #e2c17a;
  position: relative;
  min-height: calc(100vh - 11rem);
  padding: 2.5rem 0 5rem;
  color: var(--owner-text);
}

.owner-intake-page::before,
.owner-intake-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.owner-intake-page::before {
  background:
    radial-gradient(circle at top left, rgba(226, 193, 122, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(184, 92, 56, 0.14), transparent 24%);
}

.owner-intake-page::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 32%);
}

.owner-intake-hero,
.owner-intake-breadcrumb,
.owner-intake-banner,
.owner-intake-layout {
  position: relative;
  z-index: 1;
}

.owner-intake-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.75rem;
  border: 1px solid var(--owner-border);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 241, 232, 0.88)),
    var(--owner-bg);
  box-shadow: 0 32px 90px rgba(25, 38, 30, 0.08);
}

.owner-intake-hero-copy h1 {
  margin: 0;
  max-width: 13ch;
  font-family: "Inknut Antiqua", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.owner-intake-hero-copy p {
  max-width: 64ch;
  margin: 1rem 0 0;
  color: var(--owner-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.eyebrow,
.section-kicker,
.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--owner-accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-pills span,
.reference-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(35, 68, 50, 0.12);
  background: rgba(255, 255, 255, 0.84);
  color: var(--owner-forest);
  font-size: 0.9rem;
  font-weight: 600;
}

.owner-intake-hero-stats {
  display: grid;
  gap: 1rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.35rem 1.25rem;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--owner-forest), #315f48);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.stat-card:nth-child(2) {
  background: linear-gradient(160deg, #2b4b3a, #496a52);
}

.stat-card:nth-child(3) {
  background: linear-gradient(160deg, #6f3d28, #b85c38);
}

.stat-card strong {
  font-size: 1.7rem;
  line-height: 1;
}

.stat-card span {
  font-size: 0.94rem;
  line-height: 1.6;
  opacity: 0.92;
}

.owner-intake-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 1rem;
  color: var(--owner-muted);
  font-size: 0.95rem;
}

.owner-intake-breadcrumb a {
  color: var(--owner-forest);
  text-decoration: none;
  font-weight: 600;
}

.owner-intake-banner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 22px;
  border: 1px solid transparent;
}

.owner-intake-banner strong {
  display: block;
  margin-bottom: 0.25rem;
}

.owner-intake-banner p {
  margin: 0;
  color: inherit;
}

.owner-intake-banner-success {
  background: rgba(35, 68, 50, 0.08);
  border-color: rgba(35, 68, 50, 0.18);
  color: var(--owner-forest);
}

.owner-intake-banner-error {
  background: rgba(185, 28, 28, 0.08);
  border-color: rgba(185, 28, 28, 0.15);
  color: #991b1b;
}

.owner-intake-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1.5rem;
  align-items: start;
}

.owner-form-card,
.owner-info-card {
  border-radius: 30px;
  border: 1px solid var(--owner-border);
  background: var(--owner-surface);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 80px rgba(25, 38, 30, 0.08);
}

.owner-form-card {
  padding: clamp(1.25rem, 2vw, 2rem);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  max-width: 28rem;
  color: var(--owner-muted);
  line-height: 1.7;
}

.section-heading-secondary {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(36, 56, 44, 0.08);
}

.owner-intake-form {
  display: flex;
  flex-direction: column;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

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

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.form-field-span-2 {
  grid-column: 1 / -1;
}

.form-field label,
.field-label-row label {
  font-size: 0.96rem;
  font-weight: 700;
}

.field-label-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.character-count {
  color: var(--owner-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(36, 56, 44, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.95rem 1rem;
  color: var(--owner-text);
  font-size: 1rem;
  line-height: 1.5;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(184, 92, 56, 0.45);
  box-shadow: 0 0 0 4px rgba(184, 92, 56, 0.12);
}

.conditional-field {
  display: none;
}

.conditional-field.is-visible {
  display: flex;
}

.field-error {
  margin: 0;
  color: #b42318;
  font-size: 0.88rem;
  line-height: 1.5;
}

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  margin-top: 1.5rem;
  padding: 1rem 1rem 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(35, 68, 50, 0.05);
  border: 1px solid rgba(35, 68, 50, 0.09);
  cursor: pointer;
}

.consent-row input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.22rem;
  accent-color: var(--owner-accent);
}

.consent-row span {
  color: var(--owner-text);
  line-height: 1.65;
}

.consent-error {
  margin-top: 0.65rem;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(36, 56, 44, 0.08);
}

.form-actions p {
  margin: 0;
  max-width: 32rem;
  color: var(--owner-muted);
  line-height: 1.7;
}

.submit-button {
  border: none;
  border-radius: 999px;
  padding: 1rem 1.6rem;
  min-width: 220px;
  background: linear-gradient(135deg, var(--owner-accent), #d3774f);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 32px rgba(184, 92, 56, 0.26);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 34px rgba(184, 92, 56, 0.3);
}

.submit-button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.owner-info-panel {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 7rem;
}

.owner-info-card {
  padding: 1.35rem 1.3rem;
}

.owner-info-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  line-height: 1.35;
}

.owner-info-card p,
.owner-info-card li {
  color: var(--owner-muted);
  line-height: 1.75;
}

.owner-info-card ol,
.owner-info-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.owner-info-card-highlight {
  background: linear-gradient(160deg, rgba(35, 68, 50, 0.98), rgba(48, 92, 67, 0.95));
  color: #fff;
}

.owner-info-card-highlight .panel-kicker,
.owner-info-card-highlight p,
.owner-info-card-highlight li {
  color: rgba(255, 255, 255, 0.86);
}

.owner-info-card-accent {
  background: linear-gradient(180deg, rgba(226, 193, 122, 0.22), rgba(255, 255, 255, 0.95));
}

@media (max-width: 1100px) {
  .owner-intake-layout,
  .owner-intake-hero {
    grid-template-columns: 1fr;
  }

  .owner-info-panel {
    position: static;
  }

  .section-heading,
  .form-actions {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 768px) {
  .owner-intake-page {
    padding: 1.25rem 0 4rem;
  }

  .owner-intake-hero,
  .owner-form-card,
  .owner-info-card {
    border-radius: 24px;
  }

  .owner-intake-hero {
    padding: 1.25rem;
  }

  .owner-intake-hero-copy h1 {
    max-width: none;
    font-size: 2rem;
  }

  .form-grid,
  .form-grid-compact {
    grid-template-columns: 1fr;
  }

  .owner-intake-banner {
    flex-direction: column;
    align-items: start;
  }

  .submit-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .hero-pills span,
  .reference-chip {
    width: 100%;
    justify-content: center;
  }

  .owner-form-card {
    padding: 1rem;
  }

  .section-heading h2 {
    font-size: 1.3rem;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    border-radius: 16px;
    padding: 0.9rem;
  }
}
