:root {
  --cream: #faf8f4;
  --navy: #172a3a;
  --button-navy: #183044;
  --charcoal: #4d5a63;
  --sage: #8fb99f;
  --sage-deep: #587963;
  --blush: #f5d7cb;
  --blue: #dceaf4;
  --beige: #efe7dc;
  --white: #fffdf9;
  --line: rgba(23, 42, 58, 0.13);
  --shadow: 0 18px 55px rgba(23, 42, 58, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Lora, Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
}

h1 {
  font-size: 4.4rem;
  max-width: 780px;
}

h2 {
  font-size: 2.6rem;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
  color: var(--charcoal);
}

button,
input,
select,
textarea {
  font: inherit;
}

section {
  padding: 92px 6vw;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  min-height: 82px;
  padding: 16px 6vw;
  background: rgba(250, 248, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  min-width: 248px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 48px;
  border-right: 1px solid rgba(23, 42, 58, 0.22);
  color: var(--navy);
  font-family: Lora, Georgia, serif;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.05;
}

.brand small {
  color: var(--charcoal);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--charcoal);
  font-size: 0.94rem;
}

.primary-nav a,
.footer a,
.text-link {
  text-decoration: none;
}

.primary-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.primary-nav a[aria-current="page"],
.primary-nav a:hover {
  color: var(--navy);
  border-color: var(--sage);
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--button-navy);
  border-radius: 999px;
  background: var(--button-navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(24, 48, 68, 0.16);
}

.button-small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.92rem;
}

.button-sage {
  border-color: var(--sage-deep);
  background: var(--sage-deep);
}

.button-quiet {
  background: transparent;
  color: var(--navy);
}

.text-link,
.text-button {
  border: 0;
  background: transparent;
  color: var(--sage-deep);
  font-weight: 700;
  cursor: pointer;
}

.text-button.danger {
  color: #a84646;
}

.eyebrow {
  color: var(--sage-deep);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lead {
  max-width: 620px;
  font-size: 1.25rem;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(460px, 1fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  max-width: 1320px;
  min-height: 560px;
  margin: 0 auto;
  overflow: hidden;
  padding-top: 58px;
  padding-bottom: 48px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 22px;
  left: 0;
  width: min(26vw, 310px);
  height: min(19vw, 235px);
  background: rgba(143, 185, 159, 0.16);
  transform: rotate(-18deg);
}

.hero-copy {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.hero .lead {
  max-width: 430px;
  font-size: 1.05rem;
}

.hero h1 span {
  color: var(--sage-deep);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1280 / 854;
  justify-self: end;
  width: min(100%, 680px);
  overflow: visible;
  border-radius: 0;
  background: var(--cream);
  box-shadow: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 18px;
}

.trust-row article,
.feature-grid article,
.job-card,
.founder-card,
.quote-grid blockquote,
.contact-strip,
.form-panel,
.job-summary,
.admin-panel,
.submission-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 14px 38px rgba(23, 42, 58, 0.06);
}

.trust-row article {
  display: grid;
  gap: 6px;
  padding: 24px;
}

.trust-row article > span:not(.icon-badge) {
  color: var(--charcoal);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(88, 121, 99, 0.22);
  border-radius: 50%;
  background: rgba(143, 185, 159, 0.16);
  color: var(--sage-deep);
  font-size: 1.2rem;
  font-weight: 800;
}

.band {
  background: var(--beige);
}

.section-intro {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  gap: 18px;
}

.feature-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.feature-grid.thirds,
.jobs-grid,
.quote-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
}

.feature-grid.five article:nth-child(1),
.feature-grid.thirds article:nth-child(2) {
  background: #fff9f6;
}

.feature-grid.five article:nth-child(2),
.feature-grid.thirds article:nth-child(3) {
  background: #f2f8f4;
}

.feature-grid.five article:nth-child(3),
.feature-grid.thirds article:nth-child(1) {
  background: #f4f9fc;
}

.feature-grid.five article:nth-child(4) {
  background: #fffdf9;
}

.feature-grid.five article:nth-child(5) {
  background: #f6f0e7;
}

.sector-pill {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.sector-pill.education {
  background: var(--blush);
}

.sector-pill.technology {
  background: var(--blue);
}

.sector-pill.finance {
  background: var(--sage);
}

.specialism-art {
  position: relative;
  display: block;
  width: 96px;
  height: 76px;
  margin-bottom: 4px;
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.82);
}

.specialism-art::before,
.specialism-art::after {
  content: "";
  position: absolute;
  display: block;
}

.education-art::before {
  left: 18px;
  bottom: 16px;
  width: 58px;
  height: 30px;
  border: 2px solid var(--sage-deep);
  border-radius: 4px;
  transform: skewY(-6deg);
}

.education-art::after {
  right: 22px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 45% 45%;
  background: var(--sage);
  box-shadow: -10px 26px 0 -7px var(--blush);
}

.technology-art::before {
  left: 16px;
  top: 14px;
  width: 62px;
  height: 40px;
  border: 3px solid var(--navy);
  border-radius: 5px;
  background: var(--blue);
}

.technology-art::after {
  left: 10px;
  bottom: 14px;
  width: 76px;
  height: 10px;
  border-radius: 4px;
  background: var(--navy);
}

.finance-art::before {
  left: 14px;
  top: 10px;
  width: 44px;
  height: 58px;
  border: 3px solid var(--navy);
  border-radius: 5px;
  background:
    linear-gradient(var(--blue), var(--blue)) 9px 10px / 25px 8px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(23, 42, 58, 0.16) 9px 12px) 9px 28px / 27px 26px no-repeat,
    var(--white);
}

.finance-art::after {
  right: 12px;
  bottom: 13px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(var(--blush) 0 32%, var(--sage) 32% 63%, var(--beige) 63% 100%);
}

.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 58px;
  align-items: start;
}

.rich-copy {
  display: grid;
  gap: 18px;
}

.founders {
  background: var(--cream);
}

.founder-list,
.jobs-grid,
.quote-grid,
.submission-grid {
  display: grid;
  gap: 18px;
}

.founder-grid {
  grid-template-columns: repeat(2, 1fr);
}

.founder-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 22px;
  padding: 22px;
}

.founder-photo {
  display: grid;
  place-items: center;
  width: 116px;
  height: 142px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--blue), var(--blush));
}

.founder-photo span {
  font-family: Lora, Georgia, serif;
  font-size: 3rem;
}

.jobs-grid {
  display: grid;
}

.job-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.job-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-card-top span,
.results-heading {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.job-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.job-meta div,
.job-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

dt {
  color: var(--charcoal);
  font-size: 0.85rem;
}

dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.card-actions,
.centered-action {
  display: flex;
  align-items: center;
  gap: 14px;
}

.centered-action {
  justify-content: center;
  margin-top: 28px;
}

.final-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: var(--navy);
  color: #fff;
}

.final-cta h2 {
  max-width: 720px;
  color: #fff;
}

.final-cta .button {
  border-color: #fff;
  background: #fff;
  color: var(--navy);
}

.page-hero {
  display: grid;
  gap: 18px;
  min-height: 430px;
  align-content: center;
  background: linear-gradient(90deg, rgba(245, 215, 203, 0.42), rgba(220, 234, 244, 0.52));
}

.page-hero-visual {
  grid-template-columns: minmax(0, 0.74fr) minmax(330px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.page-hero-copy {
  display: grid;
  gap: 18px;
}

.page-hero-image {
  justify-self: end;
  width: min(100%, 560px);
  aspect-ratio: 1280 / 854;
  background: transparent;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.candidate-page-hero {
  background: var(--cream);
}

.client-page-hero {
  background: var(--cream);
}

.client-page-hero-image {
  width: min(100%, 620px);
}

.client-page-hero-image img {
  mix-blend-mode: normal;
}

.page-hero.compact {
  min-height: 310px;
}

.page-hero p {
  max-width: 760px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-left: 4px solid var(--sage);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline span {
  color: var(--charcoal);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.highlight-grid span {
  display: grid;
  place-items: center;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 800;
}

.quote-grid {
  display: grid;
}

.quote-grid blockquote {
  margin: 0;
  padding: 28px;
  font-family: Lora, Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.35;
}

.jobs-board {
  display: grid;
  gap: 24px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(143, 185, 159, 0.28);
  border-color: var(--sage-deep);
}

.results-heading {
  justify-self: start;
}

.empty {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.job-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: start;
  background: var(--beige);
}

.job-detail-hero p {
  margin-top: 18px;
}

.job-summary {
  display: grid;
  gap: 20px;
  padding: 24px;
  background: var(--white);
}

.job-summary dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.job-content {
  display: grid;
  gap: 28px;
  max-width: 920px;
}

.job-content article {
  display: grid;
  gap: 12px;
}

.job-content ul {
  margin: 0;
  padding-left: 20px;
  color: var(--charcoal);
}

.form-panel {
  display: grid;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.full {
  grid-column: 1 / -1;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.check input {
  width: auto;
  margin-top: 7px;
}

.notice {
  padding: 16px 18px;
  border-radius: var(--radius);
  font-weight: 700;
}

.notice.success {
  border: 1px solid rgba(88, 121, 99, 0.28);
  background: #f1f7f2;
}

.notice.error {
  border: 1px solid rgba(168, 70, 70, 0.3);
  background: #fff3f1;
  color: #8f2d2d;
}

.contact-hero {
  grid-template-columns: minmax(0, 0.95fr) 360px;
}

.soft-visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.cup,
.notebook,
.plant {
  position: absolute;
  display: block;
}

.cup {
  right: 54px;
  bottom: 54px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff 0 30%, var(--blush) 31% 58%, transparent 59%);
  border: 10px solid var(--beige);
}

.notebook {
  left: 54px;
  bottom: 48px;
  width: 150px;
  height: 96px;
  border-radius: var(--radius);
  background: var(--blue);
  transform: rotate(-5deg);
}

.plant {
  left: 96px;
  top: 48px;
  width: 110px;
  height: 130px;
  border-bottom: 42px solid var(--sage);
}

.plant::before,
.plant::after {
  content: "";
  position: absolute;
  border-radius: 50% 50% 50% 0;
  background: var(--sage-deep);
}

.plant::before {
  left: 8px;
  top: 16px;
  width: 54px;
  height: 76px;
  transform: rotate(-26deg);
}

.plant::after {
  right: 6px;
  top: 22px;
  width: 50px;
  height: 72px;
  transform: rotate(34deg);
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 26px;
  padding: 18px;
}

.contact-strip a,
.contact-strip span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--beige);
  text-decoration: none;
  font-weight: 700;
}

.legal-copy {
  display: grid;
  gap: 22px;
  max-width: 900px;
}

.footer {
  padding: 54px 6vw 28px;
  background: #132636;
  color: #fff;
}

.footer p,
.footer small,
.footer span {
  color: rgba(255, 255, 255, 0.72);
}

.footer .brand {
  color: #fff;
}

.footer .brand-mark {
  border-color: rgba(255, 255, 255, 0.26);
  background: transparent;
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr;
  gap: 36px;
}

.footer-inner div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer h2 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.footer a {
  color: rgba(255, 255, 255, 0.84);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.admin-login {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.login-card {
  display: grid;
  gap: 18px;
  width: min(100%, 420px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-body {
  background: #f4f1eb;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 5vw;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.admin-app {
  display: grid;
  gap: 24px;
  padding: 32px 5vw 70px;
}

.admin-panel {
  padding: 24px;
}

.admin-panel-head,
.admin-form-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 20px;
}

.admin-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.admin-job {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-job.selected {
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(143, 185, 159, 0.18);
}

.admin-job span,
.submission-grid span {
  display: block;
  color: var(--charcoal);
  font-size: 0.9rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-form {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.submission-grid {
  grid-template-columns: repeat(3, 1fr);
}

.submission-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.submission-grid p {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  h1 {
    font-size: 3.55rem;
  }

  .feature-grid.five {
    grid-template-columns: repeat(2, 1fr);
  }

  .filters {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 940px) {
  section {
    padding: 70px 5vw;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .site-header > .button {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    padding: 8px 14px;
    color: var(--navy);
    font-weight: 800;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
    flex-wrap: wrap;
    padding-top: 12px;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .hero,
  .split-section,
  .page-hero-visual,
  .job-detail-hero,
  .contact-hero,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .page-hero-image {
    justify-self: start;
    width: min(100%, 520px);
  }

  .trust-row,
  .feature-grid.thirds,
  .jobs-grid,
  .quote-grid,
  .timeline,
  .footer-inner,
  .submission-grid {
    grid-template-columns: 1fr;
  }

  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .final-cta,
  .footer-base {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 660px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.62rem;
  }

  h2 {
    font-size: 2rem;
  }

  section {
    padding: 54px 20px;
  }

  .site-header {
    padding: 14px 20px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .actions,
  .card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .feature-grid.five,
  .founder-grid,
  .filters,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    width: 100%;
    height: 160px;
  }

  .hero-visual {
    margin-top: 8px;
  }

  .trust-row {
    padding-top: 0;
  }

  .job-detail-hero {
    gap: 24px;
  }

  .job-meta div,
  .job-summary dl div {
    display: grid;
  }

  dd {
    text-align: left;
  }
}
