/* ===== Partagili Recruitment — editorial recruiting ===== */
:root {
  --ink: #14120f;
  --ink-soft: #4a463f;
  --paper: #f6f2ea;
  --paper-2: #efe8db;
  --card: #fffdf7;
  --gold: #b07d2c;
  --gold-deep: #8a5f1e;
  --teal: #2e6e63;
  --line: #ddd3c0;
  --font-d: "Fraunces", serif;
  --font-b: "Instrument Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: #fff; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 860px; }

/* ---- type ---- */
h1, h2, h3, blockquote { font-family: var(--font-d); font-weight: 560; letter-spacing: -0.015em; line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h1 em, h2 em, .brand-text em { font-style: italic; font-weight: 480; color: var(--gold); }
a { color: inherit; }

.kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px;
}
.kicker-light { color: #e8c887; }
.kicker-gold { color: var(--gold); }

/* ---- buttons ---- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-solid { background: var(--ink); color: var(--paper); box-shadow: 0 10px 24px -12px rgba(20,18,15,.55); }
.btn-solid:hover { transform: translateY(-2px); background: var(--teal); }
.btn-ghost { border-color: rgba(20,18,15,.35); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(20,18,15,.05); }
.btn-light { background: var(--gold); color: #171310; }
.btn-light:hover { transform: translateY(-2px); background: #c68f37; }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,242,234,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--teal);
  color: #f2ede2; font-family: var(--font-d); font-size: 1.45rem; font-style: italic; font-weight: 600;
  display: grid; place-items: center; padding-bottom: 3px;
}
.brand-text { font-family: var(--font-d); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-text em { margin-left: 6px; font-size: .95rem; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--ink-soft); transition: color .15s; }
.nav a:hover { color: var(--teal); }
.header-cta { margin-left: 4px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---- hero ---- */
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(20,18,15,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,18,15,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
}
.hero-inner { position: relative; max-width: 1000px; }
.hero-kicker { font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-bottom: 22px; }
.hero h1 { max-width: 900px; }
.hero-sub { max-width: 640px; margin-top: 24px; font-size: 1.13rem; color: var(--ink-soft); }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats {
  list-style: none; display: grid; grid-template-columns: repeat(4, auto);
  justify-content: start; gap: clamp(24px, 6vw, 64px); margin-top: 58px; padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-stats strong { display: block; font-family: var(--font-d); font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; }
.hero-stats span { font-size: .85rem; color: var(--ink-soft); }

/* ---- marquee ---- */
.marquee {
  background: var(--ink); color: var(--paper-2); overflow: hidden;
  padding: 15px 0; border-block: 3px solid var(--gold);
}
.marquee-track {
  display: inline-flex; gap: 26px; align-items: center; white-space: nowrap;
  animation: slide 36s linear infinite;
  padding-left: 26px;
}
.marquee-track span { font-family: var(--font-d); font-style: italic; font-size: 1.02rem; letter-spacing: .04em; }
.marquee-track i { color: var(--gold); font-style: normal; font-size: .7rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---- mission ---- */
.mission { padding: 104px 0; }
.mission-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 60px; align-items: start; }
.mission p { color: var(--ink-soft); margin-top: 18px; max-width: 560px; }
.mission-points { margin-top: 40px; display: grid; gap: 26px; }
.point { display: flex; gap: 18px; align-items: baseline; }
.point-num { font-family: var(--font-d); font-style: italic; color: var(--gold); font-size: 1.15rem; min-width: 34px; }
.point h3 { font-size: 1.12rem; margin-bottom: 4px; }
.point p { margin-top: 2px; font-size: .95rem; }
.mission-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 34px 30px; box-shadow: 0 24px 50px -30px rgba(20,18,15,.35); position: sticky; top: 96px;
}
.card-flag { color: var(--gold); font-size: 1.5rem; margin-bottom: 12px; }
.mission-card h3 { font-size: 1.3rem; margin-bottom: 16px; }
.mission-card ul { list-style: none; display: grid; gap: 13px; }
.mission-card li { display: flex; gap: 11px; font-size: .95rem; color: var(--ink-soft); }
.tick { color: var(--teal); font-weight: 800; }

/* ---- process ---- */
.process { background: var(--paper-2); padding: 104px 0; border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 26px; position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -26px rgba(20,18,15,.4); }
.step-n {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-deep);
  border: 1px solid var(--gold); border-radius: 999px; padding: 5px 13px; margin-bottom: 18px;
}
.step h3 { font-size: 1.22rem; margin-bottom: 9px; }
.step p { font-size: .93rem; color: var(--ink-soft); }
.step a { color: var(--teal); font-weight: 600; }

/* ---- sectors ---- */
.sectors { padding: 104px 0; }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sector:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 24px 44px -26px rgba(20,18,15,.4); }
.sector-ico { font-size: 1.6rem; color: var(--teal); }
.sector h3 { font-size: 1.18rem; margin: 12px 0 8px; }
.sector p { font-size: .93rem; color: var(--ink-soft); }
.sectors-note { margin-top: 34px; text-align: center; color: var(--ink-soft); font-size: .98rem; }
.sectors-note a { color: var(--teal); font-weight: 600; }

/* ---- employers ---- */
.employers { background: var(--ink); color: var(--paper); padding: 104px 0; position: relative; overflow: hidden; }
.employers::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 55% at 85% 20%, rgba(176,125,44,.28), transparent 70%);
}
.employers-grid { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.employers p { color: #cfc8ba; }
.employers-sub { margin-top: 18px; max-width: 540px; }
.employer-list { list-style: none; margin: 26px 0 34px; display: grid; gap: 12px; }
.employer-list li { display: flex; gap: 11px; font-size: .98rem; color: #e6e0d4; }
.employer-list .tick { color: var(--gold); }
.employer-quote blockquote { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-style: italic; line-height: 1.35; color: #f0ead9; }
.quote-by { margin-top: 16px; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; color: #a89e8a; }

/* ---- faq ---- */
.faq { padding: 104px 0; }
.faq-list { display: grid; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 24px; transition: border-color .2s;
}
.faq details[open] { border-color: var(--gold); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 18px; font-family: var(--font-d); font-weight: 600; font-size: 1.08rem; padding: 20px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-x::before, .faq-x::after {
  content: ""; position: absolute; background: var(--gold-deep); inset: 0; margin: auto;
  transition: transform .25s ease;
}
.faq-x::before { width: 16px; height: 2px; }
.faq-x::after { width: 2px; height: 16px; }
details[open] .faq-x::after { transform: scaleY(0); }
.faq-a { padding: 0 0 22px; color: var(--ink-soft); max-width: 680px; }
.faq-a a { color: var(--teal); font-weight: 600; }

/* ---- contact ---- */
.contact { padding: 20px 0 110px; }
.contact-card {
  background: linear-gradient(135deg, var(--teal) 0%, #1e4f46 100%);
  color: #f4f0e6; border-radius: 28px; padding: clamp(44px, 7vw, 84px) clamp(28px, 6vw, 90px);
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(46,110,99,.7);
}
.contact-card::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 1.5px solid rgba(244,240,230,.14); top: -180px; right: -120px;
}
.contact-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  border: 1.5px solid rgba(232,200,135,.25); bottom: -120px; left: -80px;
}
.contact-card h2 { color: #fdfbf4; }
.contact-sub { margin: 18px auto 30px; max-width: 460px; color: #d9e4de; }
.contact-mail {
  display: inline-block; font-family: var(--font-d); font-size: clamp(1.4rem, 4vw, 2.3rem);
  font-weight: 600; color: #fdfbf4; text-decoration: none; font-style: italic;
  border-bottom: 2px solid var(--gold); padding-bottom: 4px; transition: color .2s;
}
.contact-mail:hover { color: #e8c887; }
.contact-hint { margin-top: 26px; font-size: .9rem; color: #b9cdc4; }

/* ---- footer ---- */
.site-footer { background: var(--ink); color: #b5ad9d; padding: 46px 0; }
.footer-inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.brand-footer .brand-mark { background: var(--gold); color: #171310; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
.footer-nav a { color: #d8d1c2; text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { width: 100%; font-size: .84rem; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; margin-top: 8px; }

/* ---- reveal animation ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; } .reveal.d4 { transition-delay: .48s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---- responsive ---- */
@media (max-width: 1020px) {
  .mission-grid, .employers-grid { grid-template-columns: 1fr; gap: 44px; }
  .mission-card { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .header-inner { height: 64px; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 10px 28px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .hero { padding: 68px 0 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .steps { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .mission { padding: 72px 0; } .process { padding: 72px 0; } .sectors { padding: 72px 0; }
  .employers { padding: 72px 0; } .faq { padding: 72px 0; } .contact { padding: 10px 0 80px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { margin-left: 0; }
}
