/* IVRIS Contact Page/Form V5 — readable page-scoped source. */
:root {
  --ivc5-ink: #171715;
  --ivc5-ink-soft: #2a2925;
  --ivc5-paper: #fffdf8;
  --ivc5-paper-deep: #f4efe5;
  --ivc5-gold: #c9a96e;
  --ivc5-gold-dark: #765421;
  --ivc5-line: #d8d0c1;
  --ivc5-muted: #625f58;
  --ivc5-danger: #9d2f2f;
  --ivc5-success: #246442;
}

body.page-id-23 .entry-header,
body.page-id-23 .page-header {
  display: none;
}

body.page-id-23 .site-content,
body.page-id-23 .content-area,
body.page-id-23 .site-main,
body.page-id-23 article.page,
body.page-id-23 .entry-content {
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.ivc5,
.ivc5 * {
  box-sizing: border-box;
}

.ivc5 {
  background:
    radial-gradient(circle at 92% 8%, rgba(201, 169, 110, .16), transparent 24rem),
    var(--ivc5-paper);
  color: var(--ivc5-ink);
  font-family: "DM Sans", "DM Sans Fallback", Arial, sans-serif;
  padding: clamp(28px, 5vw, 76px) 20px clamp(52px, 7vw, 96px);
}

.ivc5__shell {
  margin: 0 auto;
  max-width: 1180px;
}

.ivc5__hero {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  margin-bottom: clamp(30px, 5vw, 54px);
}

.ivc5__eyebrow {
  color: var(--ivc5-gold-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.ivc5 h1,
.ivc5 h2 {
  color: var(--ivc5-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: -.035em;
}

.ivc5 h1 {
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: .98;
  margin: 0;
  max-width: 10ch;
}

.ivc5__lede {
  align-self: end;
  color: #4f4c46;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
  margin: 0;
  max-width: 38rem;
}

.ivc5__layout {
  align-items: start;
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  grid-template-columns: minmax(0, 1.38fr) minmax(286px, .62fr);
}

.ivc5__form-card {
  background: #fff;
  border: 1px solid var(--ivc5-line);
  border-top: 4px solid var(--ivc5-gold);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(23, 23, 21, .08);
  padding: clamp(22px, 4vw, 44px);
}

.ivc5__form-head {
  border-bottom: 1px solid var(--ivc5-line);
  margin-bottom: 28px;
  padding-bottom: 22px;
}

.ivc5__form-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
  margin: 0 0 9px;
}

.ivc5__form-head p,
.ivc5__privacy,
.ivc5__hint {
  color: var(--ivc5-muted);
  line-height: 1.55;
}

.ivc5__form-head p,
.ivc5__privacy {
  margin: 0;
}

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

.ivc5__field {
  min-width: 0;
}

.ivc5__field--wide {
  grid-column: 1 / -1;
}

.ivc5__field[hidden] {
  display: none !important;
}

.ivc5 label {
  color: var(--ivc5-ink);
  display: inline-block;
  font-size: .91rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
}

.ivc5__optional {
  color: var(--ivc5-muted);
  font-size: .78rem;
  font-weight: 500;
}

.ivc5 input,
.ivc5 select,
.ivc5 textarea {
  appearance: none;
  background: var(--ivc5-paper);
  border: 1px solid #77736b;
  border-radius: 8px;
  color: var(--ivc5-ink);
  font: inherit;
  line-height: 1.4;
  min-height: 50px;
  padding: 12px 14px;
  width: 100%;
}

.ivc5 select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ivc5-ink) 50%),
    linear-gradient(135deg, var(--ivc5-ink) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 42px;
}

.ivc5 textarea {
  min-height: 150px;
  resize: vertical;
}

.ivc5 input::placeholder,
.ivc5 textarea::placeholder {
  color: #6c6860;
  opacity: 1;
}

.ivc5 input:focus,
.ivc5 select:focus,
.ivc5 textarea:focus,
.ivc5 button:focus-visible,
.ivc5 a:focus-visible {
  outline: 3px solid var(--ivc5-gold-dark);
  outline-offset: 3px;
}

.ivc5 [aria-invalid="true"] {
  border-color: var(--ivc5-danger);
  box-shadow: 0 0 0 1px var(--ivc5-danger);
}

.ivc5__hint,
.ivc5__error {
  display: block;
  font-size: .82rem;
  margin: 7px 0 0;
}

.ivc5__error {
  color: var(--ivc5-danger);
  font-weight: 700;
}

.ivc5__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 26px;
}

.ivc5__submit {
  align-items: center;
  background: var(--ivc5-ink);
  border: 1px solid var(--ivc5-ink);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.ivc5__submit:hover {
  background: var(--ivc5-gold-dark);
  border-color: var(--ivc5-gold-dark);
  transform: translateY(-1px);
}

.ivc5__privacy {
  flex: 1 1 260px;
  font-size: .83rem;
}

.ivc5 a {
  color: var(--ivc5-gold-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ivc5__aside {
  background: var(--ivc5-ink);
  border: 1px solid #393831;
  border-radius: 18px;
  color: #fff;
  overflow: hidden;
  position: sticky;
  top: 104px;
}

.ivc5__aside-intro {
  border-top: 4px solid var(--ivc5-gold);
  padding: 28px 26px 24px;
}

.ivc5__aside h2 {
  color: #fff;
  font-size: 1.65rem;
  line-height: 1.12;
  margin: 0 0 10px;
}

.ivc5__aside p {
  color: #d8d3ca;
  line-height: 1.55;
  margin: 0;
}

.ivc5__route {
  border-top: 1px solid #3f3e38;
  padding: 20px 26px;
}

.ivc5__route strong {
  color: var(--ivc5-gold);
  display: block;
  font-size: .78rem;
  letter-spacing: .08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ivc5__route a {
  color: #fff;
}

.ivc5__status,
.ivc5__summary {
  border-left: 4px solid;
  border-radius: 8px;
  margin: 0 0 24px;
  padding: 16px 18px;
}

.ivc5__status h2,
.ivc5__summary h2 {
  font-family: "DM Sans", "DM Sans Fallback", Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0;
  margin: 0 0 6px;
}

.ivc5__status p,
.ivc5__summary p,
.ivc5__summary ul {
  margin-bottom: 0;
}

.ivc5__status--accepted {
  background: #edf7f1;
  border-color: var(--ivc5-success);
}

.ivc5__status--error,
.ivc5__summary {
  background: #fff2f1;
  border-color: var(--ivc5-danger);
}

.ivc5__summary ul {
  padding-left: 20px;
}

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

@media (max-width: 880px) {
  .ivc5__hero,
  .ivc5__layout {
    grid-template-columns: 1fr;
  }

  .ivc5 h1 {
    max-width: 13ch;
  }

  .ivc5__aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .ivc5 {
    padding-left: 14px;
    padding-right: 14px;
  }

  .ivc5__grid {
    grid-template-columns: 1fr;
  }

  .ivc5__field--wide {
    grid-column: auto;
  }

  .ivc5__form-card {
    border-radius: 12px;
    padding: 20px 16px 24px;
  }

  .ivc5__actions,
  .ivc5__submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ivc5__submit {
    transition: none;
  }
}
