/* =============================================================
   MACRO HRD — Engage Page Styles
   Three sections: editorial intro · structured form · confidentiality
   ============================================================= */


/* -------------------------------------------------------------
   1.  PAGE BASE
   ------------------------------------------------------------- */

.engage-page {
  position: relative;
  z-index: 3;
}


/* -------------------------------------------------------------
   2.  SECTION 1 — EDITORIAL INTRO
   ------------------------------------------------------------- */

.engage-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 180px 48px 120px;
}

.engage-intro-inner {
  max-width: 920px;
}

.engage-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 32px;
}

.engage-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 36px 0;
}

.engage-title em {
  font-style: italic;
  color: var(--ochre-deep);
  font-weight: 300;
}

.engage-lede {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 680px;
  margin: 0 0 80px 0;
}

.engage-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}

.engage-pillar {
  display: flex;
  flex-direction: column;
}

.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 36px;
  font-weight: 300;
  color: var(--ochre);
  line-height: 1;
  margin-bottom: 16px;
}

.pillar-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.2;
}

.pillar-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-faded);
  margin: 0;
}


/* -------------------------------------------------------------
   3.  SECTION 2 — STRUCTURED FORM
   ------------------------------------------------------------- */

.engage-form-section {
  background: var(--ivory-deep);
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}

.engage-form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(184, 135, 74, 0.06) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(26, 31, 46, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.engage-form-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

.form-header {
  margin-bottom: 64px;
  text-align: left;
}

.form-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 20px;
}

.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 20px 0;
}

.form-sublede {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-faded);
  max-width: 560px;
  margin: 0;
}

/* The form itself */
.engage-form {
  background: var(--ivory);
  border: 1px solid var(--rule);
  padding: 56px 56px 48px;
  position: relative;
}

.form-group {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--rule-soft);
}

.form-group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.form-group-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-field label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-field .req {
  color: var(--ochre);
  font-style: italic;
  font-weight: 400;
  margin-left: 2px;
}

.form-field .field-hint {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--ink-faded);
  line-height: 1.5;
  margin: 0 0 10px 0;
  max-width: 90%;
}

.form-field input,
.form-field textarea,
.form-field select {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-feature-settings: "ss01";
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--ochre);
  box-shadow: 0 0 0 3px rgba(184, 135, 74, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-faded);
  opacity: 0.5;
  font-style: italic;
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23b8874a' stroke-width='1.5' d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Confidentiality checkbox area */
.form-confidentiality {
  background: rgba(184, 135, 74, 0.04);
  border: 1px solid rgba(184, 135, 74, 0.18);
  border-radius: 2px;
  padding: 28px 32px;
  position: relative;
}

.form-confidentiality-icon {
  font-family: 'Cormorant Garamond', serif;
  color: var(--ochre);
  font-size: 14px;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}

.form-confidentiality p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 20px 0;
  max-width: 640px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
  user-select: none;
}

.form-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--rule);
  border-radius: 2px;
  margin-top: 2px;
  cursor: pointer;
  position: relative;
  background: var(--ivory);
  transition: all 0.2s ease;
}

.form-checkbox input[type="checkbox"]:hover {
  border-color: var(--ochre);
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--ochre);
  border-color: var(--ochre);
}

.form-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

/* Submit row */
.form-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule-soft);
  gap: 24px;
}

.form-submit {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ivory);
  background: var(--ink);
  border: none;
  padding: 16px 36px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, padding 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.form-submit:hover {
  background: var(--ochre-deep);
  padding-right: 42px;
}

.form-submit-arrow {
  font-style: italic;
  color: var(--ochre);
  transition: transform 0.3s ease;
  font-family: 'Cormorant Garamond', serif;
}

.form-submit:hover .form-submit-arrow {
  transform: translateX(4px);
  color: var(--ivory);
}

.form-submit-note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--ink-faded);
  margin: 0;
  text-align: right;
  max-width: 280px;
  line-height: 1.5;
}


/* -------------------------------------------------------------
   4.  SECTION 3 — CONFIDENTIALITY ASSURANCE
   ------------------------------------------------------------- */

.engage-confidentiality {
  background: var(--ink);
  color: var(--ivory);
  padding: 140px 48px;
  position: relative;
  overflow: hidden;
}

.engage-confidentiality::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(184, 135, 74, 0.07) 0%, transparent 55%);
  pointer-events: none;
}

.engage-confidentiality-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.conf-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 32px;
}

.conf-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ivory);
  margin: 0 0 80px 0;
  max-width: 720px;
}

.conf-title em {
  font-style: italic;
  color: var(--ochre);
  font-weight: 300;
}

.conf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 80px;
  margin-bottom: 100px;
}

.conf-block {
  position: relative;
  padding-left: 0;
}

.conf-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--ochre);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.conf-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 18px;
  line-height: 1.2;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(184, 135, 74, 0.25);
}

.conf-block p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 241, 232, 0.7);
  margin: 0;
}

.conf-block p a {
  color: var(--ochre);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 135, 74, 0.4);
  padding-bottom: 1px;
  transition: border-color 0.3s ease;
}

.conf-block p a:hover {
  border-bottom-color: var(--ochre);
}

.conf-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(245, 241, 232, 0.55);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.conf-mark {
  color: rgba(184, 135, 74, 0.4);
  font-style: normal;
  flex-shrink: 0;
}

.conf-text {
  flex: 1;
  text-align: center;
}


/* -------------------------------------------------------------
   5.  RESPONSIVE
   ------------------------------------------------------------- */

@media (max-width: 900px) {
  .engage-intro {
    padding: 140px 24px 80px;
  }
  .engage-pillars {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
  }
  .engage-form-section {
    padding: 80px 24px;
  }
  .engage-form {
    padding: 36px 28px 32px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 0;
  }
  .form-row .form-field {
    margin-bottom: 22px;
  }
  .form-submit-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .form-submit-note {
    text-align: left;
    max-width: none;
  }
  .form-submit {
    width: 100%;
    justify-content: center;
  }
  .engage-confidentiality {
    padding: 80px 24px;
  }
  .conf-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }
  .conf-signature {
    flex-direction: column;
    gap: 14px;
  }
}

/* Active state in nav */
nav a.active {
  color: var(--ink);
}
nav a.active::after {
  width: 100%;
  background: var(--ochre);
}
