/* =======================================================
   Encounters Dating — Base
   Resets and platform-wide defaults for native HTML elements.
   ======================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ---------- Links ---------- */
a {
  color: var(--plum);
  text-decoration: none;
  transition: opacity var(--t-base);
}
a:hover { text-decoration: underline; }


/* ---------- Headings (display register) ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--plum-deep);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }


/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  font-size: var(--fs-md);
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  transition: all var(--t-base);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  line-height: 1.2;
}

.btn-primary {
  background: var(--rose);
  color: white;
}
.btn-primary:hover {
  background: #8B3B3F;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--plum-deep);
  border-color: var(--rule);
}
.btn-secondary:hover {
  border-color: var(--plum);
  background: var(--plum-faint);
  text-decoration: none;
}

.btn-tertiary {
  background: transparent;
  color: var(--text-mid);
  padding: 12px 8px;
}
.btn-tertiary:hover {
  color: var(--plum);
  text-decoration: none;
}

.btn-sm {
  font-size: var(--fs-sm);
  padding: 8px 14px;
}

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
}


/* ---------- Form fields ---------- */
.field {
  display: block;
  margin-bottom: var(--space-4);
}
.field-label {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-mid);
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="date"],
select,
textarea {
  font-family: var(--sans);
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  line-height: 1.4;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 3px var(--plum-faint);
}
textarea {
  min-height: 100px;
  resize: vertical;
}

input::placeholder, textarea::placeholder {
  color: var(--text-light);
}


/* ---------- Eyebrow label (small-caps rose) ---------- */
/* Used for section sub-labels throughout the platform */
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--rose);
  font-weight: 600;
  line-height: 1.4;
}

/* Eyebrow with positioning for sub-section labels inside a content block */
.subsection-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--rose);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--space-3);
  margin-top: 28px;
}
.subsection-label:first-child { margin-top: 0; }


/* ---------- Utility: italic serif (for soft moments) ---------- */
.serif-italic {
  font-family: var(--serif);
  font-style: italic;
}

.muted { color: var(--text-mid); }
.faint { color: var(--text-light); }


/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}


/* ---------- Section primitives ---------- */
/* A "section" is a logical content block. Two surface variants. */
.section {
  border-radius: var(--radius-md);
  padding: 36px 44px;
  margin-bottom: var(--space-6);
  border: 1px solid var(--border);
}
.section.surface { background: var(--surface); }
.section.cream {
  background: transparent;
  border-color: transparent;
  padding-left: var(--space-2);
  padding-right: var(--space-2);
}
.section.airy { padding: 44px 52px; }

.section-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--plum-deep);
  letter-spacing: -0.005em;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section.cream .section-title {
  border-bottom-color: var(--rule);
}
.section-title .chev {
  color: var(--text-light);
  font-size: var(--fs-sm);
  cursor: pointer;
  user-select: none;
}


/* ---------- Icons ---------- */
.icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-sm { width: 12px; height: 12px; }
.icon-lg { width: 20px; height: 20px; }
