/* ============================================================
   FOR CANDIDATES page (for-candidates.html) only
   Loaded after style.css, hero.css and theme.css. Reuses the
   shared .eyebrow, .hero / .wg-hero-sec, .btn and .rv components;
   only the page-specific layout lives here.
   Section order: hero (beige) · two columns (white) ·
   share your profile (navy).
   ============================================================ */

/* hero · photo banner, heading only (same build as the Why Join Grassik hero).
   The photo, navy shade, zoom and on-dark type all come from theme.css .hero--photo.
   The photo is mirrored so the woman at the window stands on the right, clear of the heading. */

.hero.hero--photo.fc-hero {
  min-height: clamp(304px,32vw,448px);
  padding: clamp(64px,7vw,104px) 0;
}

.fc-hero .hero-photo {
  object-position: 78% 55%;
}

@media (max-width:940px) {
  .hero.hero--photo.fc-hero {
    min-height: 272px;
  }
  .fc-hero .hero-photo {
    object-position: 82% 55%;
  }
}

@media (max-width:560px) {
  .hero.hero--photo.fc-hero {
    min-height: 240px;
  }
  .fc-hero .hero-photo {
    object-position: 84% 50%;
  }
}

/* parallax (js/for-candidates.js adds .has-parallax unless reduced motion is on): the photo
   is taller than the banner, starts with the extra height above it and drifts down as the
   page scrolls, via `translate` so it never fights the settle-in zoom on `transform` */
.fc-hero.has-parallax .hero-photo {
  top: -28%;
  height: 128%;
  will-change: translate;
  object-position: 78% 40%;
}

@media (max-width:940px) {
  .fc-hero.has-parallax .hero-photo {
    object-position: 82% 45%;
  }
}

@media (max-width:560px) {
  .fc-hero.has-parallax .hero-photo {
    top: -18%;
    height: 118%;
    object-position: 84% 50%;
  }
}

/* .hero is a grid; without this the .wrap shrinks to its content and sits centred */
.fc-hero > .wrap {
  width: 100%;
}

.fc-hero h1 {
  margin: 0;
  max-width: 17ch;
}

/* intro · beige band under the banner with the text and buttons that used to sit beside the heading.
   Same size and line height as the homepage hero intro. */

.fc-intro {
  background: var(--paper);
  padding: clamp(48px,6vw,80px) 0;
}

.fc-intro-copy p {
  font-size: clamp(16px,1.3vw,18px);
  line-height: 1.65;
  color: var(--body);
  /* runs the full width of the content column */
  max-width: none;
  margin: 0;
}

.fc-intro-copy .hero-cta {
  margin-top: clamp(24px,2.6vw,32px);
}


/* two columns · white, hairline between them */

.fc-spread {
  background: var(--surface);
  padding: clamp(64px,8vw,104px) 0;
}

.fc-cols {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 0;
}

.fc-col {
  padding: 0 clamp(32px,5vw,80px);
  scroll-margin-top: 104px;
}

.fc-col:first-child {
  padding-left: 0;
}

.fc-col + .fc-col {
  padding-right: 0;
  border-left: 1px solid var(--hair);
}

@media (max-width:880px) {
  .fc-cols {
    grid-template-columns: 1fr;
  }
  .fc-col,
  .fc-col:first-child,
  .fc-col + .fc-col {
    padding: 0;
  }
  .fc-col + .fc-col {
    border-left: 0;
    border-top: 1px solid var(--hair);
    margin-top: clamp(40px,7vw,56px);
    padding-top: clamp(40px,7vw,56px);
  }
}

.fc-num {
  font-family: var(--display);
  font-size: clamp(26px,2.4vw,32px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: var(--dtrack);
  color: var(--accent);
  margin-bottom: clamp(18px,2vw,24px);
}

.fc-col h2 {
  font-family: var(--display);
  font-weight: var(--dweight);
  font-size: calc(clamp(24px,2.4vw,32px) * var(--ds));
  line-height: 1.22;
  letter-spacing: var(--dtrack);
  color: var(--ink);
  margin: 0 0 clamp(20px,2vw,26px);
  max-width: 22ch;
}

.fc-col p {
  font-size: clamp(15px,1.3vw,16.5px);
  line-height: 1.75;
  color: var(--body);
  margin: 0 0 1.1em;
  max-width: 58ch;
}

.fc-col p:last-child {
  margin-bottom: 0;
}

/* share your profile · homepage beige (#F7F6F1, as the homepage For candidates and closing
   sections); no border, the change of colour parts it from the white section above */

.fc-share {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(64px,8vw,104px) 0;
  scroll-margin-top: 74px;
}

/* image left, heading + text + upload panel stacked on the right */
.fc-share-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(40px,6vw,96px);
  align-items: center;
}

.fc-share-content {
  display: grid;
  gap: clamp(28px,3vw,40px);
}

@media (max-width:880px) {
  .fc-share-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* image box · fixed shape, the photo fills and crops to it */
.fc-share-media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 600px;
  width: 100%;
  overflow: hidden;
  background: #0E1B2C;
}

.fc-share-media img,
.fc-share-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* landscape photo in a portrait box: keep the chair and its reflection in frame */
  object-position: 57% 50%;
}

@media (max-width:880px) {
  .fc-share-media {
    aspect-ratio: 16 / 10;
  }
}

/* PLACEHOLDER look until the photo arrives: navy block with a soft light and a small label */
.fc-share-media:not(:has(img)) {
  background:
    radial-gradient(120% 80% at 75% 20%, rgba(217,131,107,.22), transparent 60%),
    linear-gradient(160deg, #1B2C42 0%, #0E1B2C 70%);
  display: grid;
  place-items: center;
}

.fc-share-media-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.fc-share h2 {
  font-family: var(--display);
  font-weight: var(--dweight);
  font-size: calc(clamp(32px,4.4vw,52px) * var(--ds));
  line-height: 1.14;
  letter-spacing: var(--dtrack);
  color: var(--ink);
  margin: 0 0 20px;
}

.fc-share p {
  font-size: clamp(16px,1.6vw,18.5px);
  line-height: 1.65;
  color: var(--body);
  max-width: 48ch;
  margin: 0;
}

/* upload · PLACEHOLDER panel (visual only, no form yet).
   Same layout as the draft: dashed box, centred spaced label, the three items as one
   line of text. Site colours: white box, coral-brown dashed border and label, body-grey items. */

.fc-upload {
  background: var(--surface);
  border: 1px dashed color-mix(in srgb,var(--accent) 45%,transparent);
  padding: clamp(40px,5vw,64px) clamp(24px,3vw,40px);
  text-align: center;
}

/* .rv sets its own transition in style.css, so the hover ease is added alongside it */
.fc-upload.rv {
  transition: border-color .55s ease,opacity .7s ease,transform .7s ease;
}

.fc-upload:hover {
  border-color: var(--accent);
}

.fc-upload-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.fc-upload-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  font-size: clamp(18px,1.7vw,22px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--muted);
  margin: 0;
}

/* each item: coral line icon before the word */
.fc-upload-it {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.fc-upload-it svg {
  width: 1em;
  height: 1em;
  flex: 0 0 1em;
  color: var(--accent);
}

/* phone: the three items no longer fit on one line, so they wrap and the dots go */
@media (max-width:480px) {
  .fc-upload-dot {
    display: none;
  }
  .fc-upload-note {
    gap: 10px 20px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .fc-upload.rv {
    transition: none;
  }
}
