/* ============================================
   Samara Luis Solar Recruiting
   Cream / amber / forest, Cabinet Grotesk + Satoshi
   ============================================ */

:root {
  --ink:      #0f1a12;   /* deep forest-black — primary text */
  --ink-2:    #1c2a20;   /* secondary dark */
  --paper:    #f7f3ea;   /* warm cream — page bg */
  --paper-2:  #ede6d6;   /* tinted section bg */
  --line:     #d9d0bd;   /* borders */
  --muted:    #5a6156;   /* muted text */
  --sun:      #f2a20a;   /* primary amber */
  --sun-2:    #d68a00;   /* amber hover */
  --leaf:     #2d5a3a;   /* success green */
  --danger:   #b3341c;   /* error red */

  --radius:   14px;
  --radius-lg:22px;

  --shadow-sm: 0 1px 2px rgba(15,26,18,.06);
  --shadow-md: 0 6px 20px rgba(15,26,18,.08);
  --shadow-lg: 0 24px 60px rgba(15,26,18,.14);

  --text-xs:    .78rem;
  --text-sm:    .9rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.375rem;
  --text-2xl:   1.75rem;
  --text-3xl:   2.25rem;
  --text-hero:  clamp(2.6rem, 6vw, 4.4rem);

  --container:  1180px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(15,26,18,.28); }
a:hover { text-decoration-color: var(--sun); }

h1, h2, h3, h4 {
  font-family: "Cabinet Grotesk", "Satoshi", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: var(--text-hero); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-sm); letter-spacing: .12em; text-transform: uppercase; }

p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Eyebrow */
.eyebrow {
  display:inline-block;
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: var(--text-xs);
  letter-spacing: .18em;
  color: var(--sun-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow--onDark { color: var(--sun); }

/* ============ BUTTONS ============ */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family: "Satoshi", sans-serif;
  font-weight:700;
  text-decoration:none;
  border-radius: var(--radius);
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .06s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .2s ease;
  font-size: var(--text-base);
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 14px; font-size: var(--text-sm); }
.btn--lg { padding: 15px 24px; font-size: var(--text-lg); }
.btn--block { width: 100%; }

.btn--sun {
  background: var(--sun);
  color: var(--ink);
  border-color: var(--sun);
  box-shadow: var(--shadow-sm);
}
.btn--sun:hover { background: var(--sun-2); border-color: var(--sun-2); color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(247,243,234,.35);
}
.btn--ghost:hover { background: rgba(247,243,234,.08); border-color: var(--paper); }

.section--paper .btn--ghost,
.apply-success .btn--ghost { color: var(--ink); border-color: rgba(15,26,18,.25); }
.section--paper .btn--ghost:hover,
.apply-success .btn--ghost:hover { background: rgba(15,26,18,.05); border-color: var(--ink); }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247,243,234,.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 68px;
}
.brand { display:inline-flex; align-items:center; gap:10px; color: var(--ink); text-decoration:none; }
.brand__mark { color: var(--sun-2); flex-shrink: 0; }
.brand__wordmark { display:flex; flex-direction:column; line-height: 1.05; font-family: "Cabinet Grotesk", sans-serif; }
.brand__wordmark strong { font-weight: 800; font-size: 1.05rem; }
.brand__wordmark span { font-size: var(--text-xs); color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.brand--onDark { color: var(--paper); }
.brand--onDark .brand__wordmark span { color: rgba(247,243,234,.65); }
.brand--onDark .brand__mark { color: var(--sun); }

.nav__links { display:flex; align-items:center; gap: 22px; }
.nav__links a {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--ink);
  letter-spacing: .02em;
}
.nav__links a:hover { color: var(--sun-2); }
.nav__links .btn { color: var(--ink); }

@media (max-width: 640px) {
  .nav__links a:not(.btn) { display:none; }
}

/* ============ HERO ============ */
.hero { position: relative; isolation: isolate; overflow:hidden; color: var(--paper); }
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('./assets/hero.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,26,18,.78) 0%, rgba(15,26,18,.55) 45%, rgba(15,26,18,.25) 100%),
    linear-gradient(180deg, rgba(15,26,18,.15) 0%, rgba(15,26,18,.55) 100%);
  z-index: -1;
}
.hero__inner {
  padding: 96px 24px 88px;
  max-width: 820px;
}
.hero__title {
  color: var(--paper);
  font-size: var(--text-hero);
  margin: 0 0 18px;
}
.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 700;
  color: var(--sun);
}
.hero__sub {
  color: rgba(247,243,234,.92);
  font-size: var(--text-lg);
  max-width: 640px;
  margin: 0 0 28px;
}
.hero__cta { display:flex; gap:12px; flex-wrap:wrap; margin-bottom: 40px; }
.hero__stats {
  list-style:none; padding:0; margin:0;
  display:grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
  border-top: 1px solid rgba(247,243,234,.2);
  padding-top: 24px;
  max-width: 720px;
}
.hero__stats li { display:flex; flex-direction:column; gap:2px; }
.hero__stats strong { font-family: "Cabinet Grotesk", sans-serif; font-weight: 800; color: var(--paper); font-size: var(--text-lg); }
.hero__stats span { font-size: var(--text-sm); color: rgba(247,243,234,.7); }
@media (max-width: 640px) {
  .hero__stats { grid-template-columns: 1fr; gap: 14px; }
}

/* Disclosure strip */
.disclosure {
  background: var(--ink-2);
  color: rgba(247,243,234,.9);
  border-bottom: 1px solid rgba(247,243,234,.08);
}
.disclosure__row {
  display:flex; align-items:center; gap:12px;
  padding: 14px 24px;
  font-size: var(--text-sm);
}
.disclosure__row svg { color: var(--sun); flex-shrink:0; }
.disclosure__row p { margin:0; }
.disclosure__row strong { color: var(--paper); }

/* ============ SECTIONS ============ */
.section { padding: 88px 0; }
.section--paper  { background: var(--paper);   color: var(--ink); }
.section--paper2 { background: var(--paper-2); color: var(--ink); }
.section--dark   { background: var(--ink);     color: var(--paper); }

.section__title { max-width: 780px; }
.section__lede { max-width: 720px; color: var(--muted); font-size: var(--text-lg); margin-bottom: 40px; }
.section__title--onDark { color: var(--paper); }
.section__lede--onDark { color: rgba(247,243,234,.75); }

/* ============ ROLES ============ */
.roles-grid {
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
@media (max-width: 960px) { .roles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .roles-grid { grid-template-columns: 1fr; } }

.role-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display:flex; flex-direction:column;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.role-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.role-card__media {
  background: var(--paper-2) center/cover no-repeat;
  aspect-ratio: 16/10;
  border-bottom: 1px solid var(--line);
}
.role-card__body { padding: 22px 22px 24px; display:flex; flex-direction:column; gap:12px; flex:1; }
.role-card h3 { margin: 4px 0 4px; }
.role-card p { margin: 0 0 6px; color: var(--muted); }

.tag {
  align-self:flex-start;
  display:inline-block;
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .14em;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(242,162,10,.15);
  color: var(--sun-2);
  text-transform: uppercase;
}

.ticks { list-style:none; padding: 0; margin: 4px 0 8px; display:flex; flex-direction:column; gap:8px; }
.ticks li {
  position:relative; padding-left: 22px; color: var(--ink); font-size: var(--text-sm);
}
.ticks li::before {
  content:""; position:absolute; left:0; top:8px;
  width:12px; height:12px; border-radius:3px;
  background: var(--sun);
  box-shadow: inset 0 0 0 2px var(--paper);
}

.role-card__meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: var(--text-xs);
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============ STEPS ============ */
.steps {
  list-style:none; padding:0; margin: 8px 0 0;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display:flex; flex-direction:column; gap:8px;
}
.steps__num {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--sun-2);
  line-height: 1;
}
.steps h3 { margin: 4px 0 0; font-size: var(--text-lg); }
.steps p { margin: 0; color: var(--muted); font-size: var(--text-sm); }

/* ============ PROTECT ============ */
.protect-grid {
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}
@media (max-width: 720px) { .protect-grid { grid-template-columns: 1fr; } }
.protect-card {
  background: rgba(247,243,234,.06);
  border: 1px solid rgba(247,243,234,.12);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
}
.protect-card h3 {
  color: var(--paper);
  font-size: var(--text-lg);
  display:flex; align-items:baseline; gap:10px;
}
.protect-card h3 span { color: var(--sun); font-weight: 800; }
.protect-card p { color: rgba(247,243,234,.8); margin: 0; font-size: var(--text-sm); }
.protect-card a { color: var(--sun); text-decoration-color: rgba(242,162,10,.4); }
.protect-card a:hover { text-decoration-color: var(--sun); }

/* ============ APPLY ============ */
.apply-grid {
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items:start;
}
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; gap: 32px; } }

.apply-intro p { color: var(--muted); font-size: var(--text-lg); }
.info-list { list-style:none; padding:0; margin: 20px 0 0; display:flex; flex-direction:column; gap: 10px; }
.info-list li {
  position:relative; padding-left: 22px; font-size: var(--text-sm); color: var(--ink);
}
.info-list li::before {
  content:""; position:absolute; left:0; top:8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--leaf);
}
.info-list strong { color: var(--ink); }

.apply-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display:flex; flex-direction:column; gap: 16px;
  box-shadow: var(--shadow-md);
}
.field { display:flex; flex-direction:column; gap:6px; }
.field label {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: .02em;
  color: var(--ink);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font-family: "Satoshi", sans-serif;
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sun);
  box-shadow: 0 0 0 3px rgba(242,162,10,.25);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 100px; }

.field--group {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin: 0;
  display:flex; flex-direction:column; gap:12px;
}
.field--group legend {
  padding: 0 8px;
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: var(--text-sm);
  color: var(--muted);
}

.row-2 { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }

.checkbox {
  display:flex; align-items:flex-start; gap:10px;
  font-size: var(--text-sm);
  color: var(--ink);
  cursor: pointer;
}
.checkbox input {
  margin-top: 4px;
  width: 18px; height: 18px;
  accent-color: var(--sun);
  flex-shrink: 0;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(179,52,28,.15); }
.checkbox.is-invalid { color: var(--danger); }

.form-note { font-size: var(--text-xs); color: var(--muted); margin: 4px 0 0; text-align: center; }
.form-error {
  background: rgba(179,52,28,.08);
  border: 1px solid rgba(179,52,28,.3);
  color: var(--danger);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: var(--text-sm);
  margin: 0;
}

.apply-success {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display:flex; flex-direction:column; align-items:center; gap: 10px;
}
.apply-success[hidden] { display: none; }
.apply-success svg { color: var(--leaf); }
.apply-success h3 { margin: 4px 0 0; }
.apply-success p { color: var(--muted); max-width: 520px; }

/* ============ FAQ ============ */
.faq { display:flex; flex-direction:column; gap: 10px; max-width: 880px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color .15s ease;
}
.faq details[open] { border-color: var(--sun); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--ink);
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after {
  content: "+";
  color: var(--sun-2);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 800;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--muted); font-size: var(--text-base); }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: var(--paper); padding-top: 64px; }
.footer__grid {
  display:grid;
  grid-template-columns: 1.4fr .8fr .8fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
}
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand .brand { margin-bottom: 14px; }
.footer__tag { color: rgba(247,243,234,.65); font-size: var(--text-sm); max-width: 300px; }

.footer__col h4 { color: var(--sun); margin-bottom: 12px; }
.footer__col ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap: 8px; }
.footer__col a { color: rgba(247,243,234,.85); text-decoration: none; font-size: var(--text-sm); }
.footer__col a:hover { color: var(--sun); }
.footer__col p { color: rgba(247,243,234,.65); font-size: var(--text-xs); line-height: 1.55; }
.footer__col p a { color: var(--sun); text-decoration: underline; text-decoration-color: rgba(242,162,10,.4); }

.footer__base {
  border-top: 1px solid rgba(247,243,234,.1);
  padding: 20px 0;
}
.footer__base-row {
  display:flex; justify-content:space-between; align-items:center; gap: 16px;
  font-size: var(--text-xs);
  color: rgba(247,243,234,.6);
  flex-wrap: wrap;
}
.footer__base-row a { color: rgba(247,243,234,.85); text-decoration: none; }
.footer__base-row a:hover { color: var(--sun); }
