/* On recrute — inherits styles.css tokens & components (eyebrow, btn, cform, field…).
   Adds: recruitment hero, values row, open positions, application form. */

.rhero {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.rhero-top {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.rhero-title {
  font-family: var(--serif);
  font-size: var(--t-h1);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.rhero-title em { font-style: italic; color: var(--accent); }
.rhero-sub {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-top: clamp(28px, 4vw, 48px);
}
.rhero-lead {
  font-size: var(--t-body-lg);
  line-height: 1.45;
  color: var(--ink);
  max-width: 46ch;
  text-wrap: pretty;
}
.rhero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---- Values ---- */
.values {
  padding-bottom: clamp(60px, 7vw, 100px);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.value {
  padding: 32px 28px 36px 0;
  border-right: 1px solid var(--line);
}
.value:last-child { border-right: none; padding-right: 0; }
.value-num {
  font-family: var(--mono);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 24px;
}
.value h3 {
  font-family: var(--serif);
  font-size: var(--t-h3);
  font-weight: 350;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin-bottom: 14px;
}
.value p { color: var(--muted); font-size: 16px; line-height: 1.55; text-wrap: pretty; }

/* ---- Open positions ---- */
.positions {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
  padding-block: clamp(80px, 10vw, 140px);
}
.positions-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px); align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.positions-title {
  font-family: var(--serif);
  font-size: var(--t-h2);
  font-weight: 350;
  line-height: 0.98;
  letter-spacing: 0.005em;
}
.positions-title em { font-style: italic; color: var(--accent); }
.positions-lead { font-size: var(--t-body-lg); color: var(--muted); line-height: 1.55; text-wrap: pretty; }

.position-list { border-top: 1px solid var(--ink); }
.position {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  width: 100%;
  text-align: left;
  padding: clamp(24px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.25s;
}
.position:hover { background: #00000006; }
.position:hover .position-name { color: var(--accent); }
.position-name {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 350;
  letter-spacing: -0.01em;
  line-height: 1.02;
  transition: color 0.25s;
}
.position-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.position-arrow {
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  flex-shrink: 0;
}
.position:hover .position-arrow { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.position-arrow svg { width: 15px; height: 15px; }

.position-spontaneous {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 16px; color: var(--muted);
}

/* ---- Application form ---- */
.apply { padding-block: clamp(90px, 11vw, 150px); }
.apply-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.apply-intro .eyebrow { margin-bottom: 24px; }
.apply-title {
  font-family: var(--serif);
  font-size: var(--t-h2);
  font-weight: 350;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.apply-title em { font-style: italic; color: var(--accent); }
.apply-blurb { font-size: var(--t-body-lg); color: var(--muted); line-height: 1.55; margin-top: 24px; max-width: 40ch; text-wrap: pretty; }
.apply-contact {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.apply-contact .label {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--muted); margin-bottom: 8px;
}
.apply-contact a:hover { color: var(--accent); }

.apply-form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 3.4vw, 44px);
}
.field select {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  width: 100%;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%236B6962' stroke-width='1.6'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select:focus { outline: none; border-color: var(--ink); }
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  width: 100%;
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}
.field textarea::placeholder { color: #9a978f; }
.field textarea:focus { outline: none; border-color: var(--ink); background: var(--paper); }

.file-drop {
  display: flex; align-items: center; gap: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--paper);
}
.file-drop:hover { border-color: var(--ink); }
.file-drop input { display: none; }
.file-drop .fd-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.file-drop .fd-icon svg { width: 18px; height: 18px; stroke: var(--ink); }
.file-drop .fd-text { font-size: 14px; line-height: 1.4; }
.file-drop .fd-text strong { display: block; color: var(--ink); font-weight: 500; }
.file-drop .fd-text span { color: var(--muted); }
.file-drop.has-file { border-style: solid; border-color: var(--accent); }
.file-drop.has-file .fd-icon { background: var(--accent); }
.file-drop.has-file .fd-icon svg { stroke: var(--paper); }

.apply-submit { justify-content: center; width: 100%; margin-top: 4px; }
.apply-note { font-size: 13px; color: var(--muted); line-height: 1.5; text-align: center; }

.apply-success { text-align: center; padding: 24px 0; display: none; }
.apply-success.show { display: block; }
.apply-success .msuccess-check { margin: 0 auto 24px; }
.apply-success h3 {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 36px);
  font-weight: 350; letter-spacing: -0.02em; margin-bottom: 14px;
}
.apply-success p { font-size: 16px; color: var(--muted); line-height: 1.55; max-width: 38ch; margin: 0 auto; }

@media (max-width: 1024px) {
  .values-grid { grid-template-columns: 1fr; }
  .value { border-right: none; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .value:last-child { border-bottom: none; }
}
@media (max-width: 720px) {
  .rhero-sub, .positions-head, .apply-inner { grid-template-columns: 1fr; }
  .rhero-actions { justify-content: flex-start; }
  .position { grid-template-columns: 1fr auto; }
  .position-meta { grid-column: 1 / -1; }
}
