:root {
  --orange: #d9793d;
  --orange-dark: #b95d28;
  --navy: #0c2430;
  --ink: #18272e;
  --muted: #657178;
  --ivory: #f7f3eb;
  --paper: #fffdf9;
  --white: #ffffff;
  --line: #ded8ce;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header {
  min-height: 88px;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.interlume-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 1.6rem Manrope, sans-serif;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.brand-zone { display: flex; align-items: center; gap: 22px; }
.csbc-return {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  color: #66747a;
  font-size: 0.78rem;
  font-weight: 600;
}
.csbc-return:hover { color: var(--orange-dark); }
.brand-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--orange);
  border-radius: 50%;
  font: 500 1.4rem Georgia, serif;
  color: var(--orange);
}
nav { display: flex; align-items: center; gap: 30px; font-size: 0.9rem; }
nav a:not(.nav-cta) { color: #44545b; }
nav a:hover { color: var(--orange-dark); }
.nav-cta {
  border: 1px solid var(--orange);
  color: var(--orange-dark);
  padding: 10px 17px;
}
.menu-button { display: none; }

main { overflow: hidden; }
.hero {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  padding: 70px 0 86px;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--orange-dark);
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}
.hero h1, .section-heading h2, .method h2, .contribution-intro h2 {
  margin: 0;
  color: var(--navy);
  font-family: Manrope, sans-serif;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.04;
}
.hero h1 { font-size: clamp(3.4rem, 6.2vw, 6.4rem); }
.hero h1 em {
  display: inline-block;
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: normal;
  color: var(--orange);
}
.hero-intro {
  max-width: 670px;
  margin: 28px 0 0;
  font-size: 1.18rem;
  color: #536168;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 20px;
  border: 1px solid var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
}
.button-primary { background: var(--orange); color: #17262b; }
.button-primary:hover { background: #e48b55; }
.button-secondary { background: transparent; color: var(--orange-dark); }
.button-secondary:hover { background: #fff4eb; }
.hero-signature {
  min-height: 430px;
  background: var(--ivory);
  border: 1px solid #ece4d9;
  border-radius: 48% 4px 4px 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  position: relative;
}
.hero-signature > span { font: 500 clamp(5rem, 9vw, 8.4rem) Georgia, serif; line-height: 1; }
.hero-signature p {
  margin: 18px 0 0;
  color: #7c4c33;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.68rem;
  text-align: center;
}

.audiences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto 100px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.audiences article {
  padding: clamp(34px, 4vw, 54px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.card-number { margin: 0 0 38px; color: var(--orange-dark); font-size: 0.75rem; letter-spacing: 0.16em; }
.audiences h2 { margin: 0 0 14px; font: 600 1.65rem Manrope, sans-serif; color: var(--navy); }
.audiences article > p:not(.card-number) { color: var(--muted); max-width: 480px; }
.audiences article > a { display: inline-flex; gap: 14px; margin-top: 14px; color: var(--orange-dark); font-weight: 700; }

.opportunities {
  background: var(--navy);
  color: var(--white);
  padding: clamp(80px, 9vw, 130px) max(24px, calc((100vw - var(--max-width)) / 2));
}
.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 48px;
}
.section-heading h2, .method h2, .contribution-intro h2 { font-size: clamp(2.6rem, 4.7vw, 5rem); }
.section-heading > p { margin: 0; color: rgba(255,255,255,0.62); }
.filters {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 12px;
  padding: 20px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.14);
}
.filters label { display: grid; gap: 7px; }
.filters label > span { font-size: 0.69rem; text-transform: uppercase; letter-spacing: 0.13em; color: rgba(255,255,255,0.62); }
.filters input, .filters select {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}
.results-bar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 28px 0 16px; }
.results-bar p { margin: 0; color: rgba(255,255,255,0.68); font-size: 0.87rem; }
.results-bar button { background: none; border: 0; color: var(--orange); cursor: pointer; padding: 0; }
.jobs { border-top: 1px solid rgba(255,255,255,0.16); }
.job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pill {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,0.24);
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
}
.pill.accent { border-color: rgba(217,121,61,0.65); color: #f1aa7d; }
.job h3 { margin: 0 0 8px; font: 600 1.35rem Manrope, sans-serif; }
.job .organization { margin: 0 0 8px; color: rgba(255,255,255,0.75); font-weight: 600; }
.job .summary { margin: 0; color: rgba(255,255,255,0.58); max-width: 760px; }
.job-link { align-self: center; color: var(--orange); font-weight: 700; white-space: nowrap; }
.job-link:hover { color: #f1aa7d; }
.empty-state { padding: 38px 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
.empty-state h3 { margin: 0 0 8px; }
.empty-state p { margin: 0; color: rgba(255,255,255,0.58); }
.data-status { margin: 24px 0 0; color: #f1aa7d; font-size: 0.77rem; }
.legal-note { max-width: 840px; margin: 9px 0 0; color: rgba(255,255,255,0.46); font-size: 0.73rem; }

.method {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(85px, 10vw, 145px) 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
}
.method ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.method li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.method li > span { color: var(--orange-dark); font-size: 0.75rem; }
.method h3 { margin: 0 0 5px; font: 600 1.15rem Manrope, sans-serif; color: var(--navy); }
.method li p { margin: 0; color: var(--muted); }

.contributions {
  background: var(--ivory);
  padding: clamp(75px, 9vw, 120px) max(24px, calc((100vw - var(--max-width)) / 2));
}
.contribution-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: end; margin-bottom: 48px; }
.contribution-intro > p:last-child { color: var(--muted); font-size: 1.08rem; max-width: 520px; }
.contribution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 4vw, 46px); }
.form-card h3 { margin: 0 0 10px; color: var(--navy); font: 600 1.65rem Manrope, sans-serif; }
.form-card > p:not(.card-number) { margin: 0 0 30px; color: var(--muted); }
.form-card form { display: grid; gap: 17px; }
.form-card label { display: grid; gap: 7px; color: #4c5a60; font-size: 0.78rem; font-weight: 600; }
.form-card input:not([type="checkbox"]), .form-card textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d7d0c7;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  font-weight: 400;
  font-size: 0.92rem;
}
.form-card input:not([type="checkbox"]) { min-height: 46px; }
.form-card textarea { resize: vertical; line-height: 1.5; }
.form-card input:focus, .form-card textarea:focus { outline: 2px solid rgba(217,121,61,0.25); border-color: var(--orange); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-card .button { justify-self: start; margin-top: 5px; cursor: pointer; }
.form-card .button:disabled { opacity: 0.55; cursor: wait; }
.consent { grid-template-columns: 18px 1fr; align-items: start; font-weight: 400 !important; }
.consent input { margin: 3px 0 0; }
.privacy-note, .form-status { margin: 0; color: var(--muted); font-size: 0.73rem; }
.privacy-note a { color: var(--orange-dark); }
.form-status:not(:empty) { padding-top: 4px; font-weight: 600; color: var(--orange-dark); }
footer {
  min-height: 130px;
  padding: 30px max(24px, calc((100vw - var(--max-width)) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 35px;
  align-items: center;
  background: var(--paper);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}
footer p { margin: 0; }
footer a:not(.footer-brand) { color: var(--orange-dark); }
.footer-brand { font-size: 1.15rem; }
.footer-brand .brand-symbol { width: 30px; height: 30px; font-size: 1.05rem; }

@media (max-width: 920px) {
  .menu-button {
    display: inline-flex;
    background: transparent;
    border: 1px solid var(--orange);
    color: var(--orange-dark);
    padding: 8px 12px;
  }
  nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    padding: 22px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-signature { min-height: 250px; border-radius: 46% 4px 4px 46%; }
  .section-heading, .method, .contribution-intro, .contribution-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .brand-zone { gap: 12px; }
  .csbc-return { padding-left: 12px; }
  .csbc-return span:last-child { max-width: 54px; line-height: 1.1; }
  .hero, .audiences, .method { width: min(100% - 36px, var(--max-width)); }
  .hero { min-height: auto; padding: 48px 0 65px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .audiences { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; gap: 18px; }
  .job-link { justify-self: start; }
  .results-bar { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
