/*
 * ============================================================
 * SERRA — ASSESSMENT PAGE
 * Requires: serra-base.css
 * File:     assessment.html
 * ============================================================
 *
 * TABLE OF CONTENTS
 * 1. Page Intro Header
 * 2. Intro Body Text
 * 3. Typeform Embed Area
 * 4. Closing CTA
 * ============================================================
 *
 * TYPEFORM INTEGRATION NOTES
 * ============================================================
 * When ready to embed Typeform, replace the contents of
 * #typeform with one of the following:
 *
 * Option A — Inline embed (recommended, feels native):
 *   Delete the placeholder <p> tags inside #typeform and
 *   paste Typeform's <div data-tf-live="..."> embed code.
 *   Then paste Typeform's <script> tag just before </body>.
 *
 * Option B — Full-page redirect:
 *   Replace the <a href="#typeform"> buttons with a direct
 *   link to your Typeform URL. Delete #typeform entirely.
 *
 * The #typeform container below is sized to accommodate
 * a standard Typeform inline embed without scrollbars.
 * Adjust --form-min-height if your form is longer.
 * ============================================================
 */


/* ============================================================
   CONFIGURATION
   ============================================================ */

:root {
  --form-min-height: 600px; /* increase if Typeform is tall */
}


/* ============================================================
   1. PAGE INTRO HEADER
   ============================================================ */

.page-intro {
  border-bottom: 0.5px solid var(--border);
}

.page-intro-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5.5rem var(--page-gutter) 4.5rem;
}

.intro-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: block;
}

.intro-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 2rem;
  max-width: 720px;
}


/* ============================================================
   2. INTRO BODY TEXT
   ============================================================ */

.intro-body {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 3rem;
}


/* ============================================================
   3. TYPEFORM EMBED AREA
   ============================================================ */

.form-wrap {
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.form-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem var(--page-gutter);
}

/* The embed container — Typeform injects its iframe here */
#typeform {https://form.typeform.com/to/A9xviCzH
}

/* Placeholder shown before Typeform is connected */
.form-placeholder-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: var(--form-min-height);
  gap: 1rem;
  border: 0.5px dashed var(--border);
  border-radius: 2px;
  padding: 3rem;
}

.form-placeholder-text p {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
}

.form-placeholder-text .placeholder-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* ============================================================
   4. CLOSING CTA
   ============================================================
   Mirrors the closing pattern used on all other pages.
   Text left, button right, flex aligned to bottom.
   ============================================================ */

.closing {
  border-top: 0.5px solid var(--border);
}

.closing-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem var(--page-gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
}

.closing-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  color: var(--text-primary);
  max-width: 520px;
}

.closing-btn {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  border: 0.5px solid var(--sage);
  background: transparent;
  padding: 15px 32px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}

.closing-btn:hover {
  background: rgba(122, 140, 112, 0.08);
}
