/* ==========================================================================
   Erymanthian Media — Contact + Hire page styles
   Source: design_handoff_erymanthian_media/Contact + Hire.dc.html
   Shared chrome (header, nav, footer, buttons, eyebrows) lives in styles.css.
   ========================================================================== */

/* Page heroes -------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.contact-hero { min-height: min(72vh, 720px); background: #12324A; }
.demo-hero { min-height: min(64vh, 620px); background: #0E2338; }

.page-hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.contact-hero .bg { background-image: url('../assets/contact-hero.webp'); }
.demo-hero .bg { background-image: url('../assets/demo-hero.webp'); }

.page-hero .scrim { position: absolute; inset: 0; }
.contact-hero .scrim {
  background: linear-gradient(180deg, rgba(10,26,40,0.55) 0%, rgba(10,26,40,0.18) 34%, rgba(10,26,40,0) 55%, rgba(10,26,40,0.5) 100%);
}
.demo-hero .scrim {
  background: linear-gradient(180deg, rgba(8,20,34,0.5) 0%, rgba(8,20,34,0.12) 36%, rgba(8,20,34,0) 58%, rgba(8,20,34,0.5) 100%);
}

.page-hero .inner {
  position: relative;
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) var(--gutter);
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-caps);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--surface);
  margin-bottom: 24px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.hero-eyebrow .rule { width: 34px; height: 1px; background: currentColor; }

.contact-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(52px, 8vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--surface);
  margin: 0 0 22px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.55), 0 14px 44px rgba(0, 0, 0, 0.5);
  text-wrap: balance;
}
.contact-hero h1 em { font-style: italic; color: var(--terracotta); }

.contact-hero .lede {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: #F5F3EE;
  margin: 0 auto;
  max-width: 46ch;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 6px 22px rgba(0, 0, 0, 0.45);
}

.demo-hero h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--surface);
  margin: 0 0 20px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6), 0 14px 44px rgba(0, 0, 0, 0.5);
  text-wrap: balance;
}

.hero-caps {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-caps);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--surface);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.hero-caps .rule { width: 34px; height: 1px; background: currentColor; }

/* Form sections ------------------------------------------------------------ */
.contact-section {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

/* Lead column */
.contact-lead .eyebrow { margin-bottom: 22px; }
.contact-lead h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 16ch;
}
.contact-lead h2 em { font-style: italic; color: var(--terracotta); }
.contact-lead .intro {
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 46ch;
}
.contact-lead .intro--demo {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.72;
  margin: 0;
}

/* Contact cards */
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}
a.contact-card { transition: transform .15s ease, border-color .15s ease; }
a.contact-card:hover { transform: translateY(-2px); border-color: var(--terracotta); }
.contact-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card .icon--terracotta { background: var(--terracotta); }
.contact-card .icon--gold { background: var(--gold); }
.contact-card .meta { display: flex; flex-direction: column; gap: 3px; }
.contact-card .label {
  font-family: var(--font-caps);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
}
.contact-card .value { font-size: 15.5px; font-weight: 600; color: var(--ink); }

/* Dark free-demo note card */
.demo-note {
  padding: 24px;
  background: var(--ink);
  border-radius: 10px;
}
.demo-note .label {
  font-family: var(--font-caps);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.demo-note p {
  color: rgba(250, 241, 221, 0.85);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

/* Form card ----------------------------------------------------------------- */
.hire-form {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: clamp(28px, 3.4vw, 40px);
}
.hire-form h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 34px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 26px;
}
.hire-form h3 em { font-style: italic; color: var(--terracotta); }

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.form-field { margin-bottom: 18px; }
.form-row .form-field { margin-bottom: 0; }
.form-field--last { margin-bottom: 26px; }

.hire-form label {
  display: block;
  font-family: var(--font-caps);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.hire-form label.label--faint {
  font-size: 11px;
  font-weight: 500;
  color: var(--faint);
}

.hire-form input[type="text"],
.hire-form input[type="email"],
.hire-form select,
.hire-form textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
  outline: none;
}
.hire-form input:focus,
.hire-form select:focus,
.hire-form textarea:focus { border-color: var(--terracotta); }
.hire-form ::placeholder { color: #A08F7B; }
.hire-form select { cursor: pointer; appearance: auto; }
.hire-form textarea {
  line-height: 1.55;
  resize: vertical;
  min-height: 120px;
}
.hire-form .input--accent { border-color: var(--terracotta); }

/* Conditional "Other" field — shown by js/contact.js */
.form-other { display: none; }
.form-other.is-visible { display: block; }

/* Submit button (extends .btn--gold-metal from styles.css) */
.btn--brief {
  position: relative;
  width: 100%;
  padding: 16px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
}
.btn--brief img {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
}
