:root {
  --bg: #0d0d0f;
  --surface: #17191f;
  --surface-2: #1e2028;
  --border: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.20);
  --white: #ffffff;
  --text: #ffffff;
  --text-secondary: #a7abb5;
  --text-muted: #6f7480;
  --accent: #f2600c;
  --accent-ink: #2a0f00;
  --field-bg: rgba(255,255,255,0.05);
  --font-head: "Manrope", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,15,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.logo-word.small { font-size: 16px; }
.logo-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 36px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }

.nav-cta { display: inline-flex; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary {
  background: var(--white);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); color: var(--accent-ink); }
.btn-small { padding: 9px 20px; font-size: 13px; }
.btn-full { width: 100%; }

.floating-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: inline-block;
  padding: 20px 44px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  background: var(--white);
  color: var(--bg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.floating-cta:hover { background: var(--accent); color: var(--accent-ink); transform: translateX(-50%) translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  padding: 200px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 820px; position: relative; z-index: 1; }
.hero-graphic {
  position: absolute;
  top: 20px;
  right: -10px;
  width: 190px;
  pointer-events: none;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: var(--text);
}
.hero-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  max-width: 640px;
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 10px;
}
.section-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 32px;
}

.value-item h4,
.service-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

/* About */
.about-lead {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 72px;
  max-width: 760px;
}
.about-lead strong { color: var(--text); }

.whatwedo-eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 24px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.value-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 24px 26px;
}
.value-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
}
.value-item h4 { margin: 0; }
.value-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}
.value-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.service-index {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: var(--accent-ink);
  background: var(--accent);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  white-space: nowrap;
}
.service-card h3 { margin: 0 0 8px; }
.service-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* Clients */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.client-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 28px 44px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.client-badge img {
  height: 28px;
  width: auto;
  filter: invert(1) brightness(1.15);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.contact-grid .contact-form { max-width: 560px; }
.contact-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}
.contact-info dl { margin: 0; }
.contact-info dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 14px;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.contact-info dd a:hover { text-decoration: underline; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.field-label { position: relative; display: inline-block; align-self: flex-start; }
.req {
  position: absolute;
  top: -2px;
  right: -9px;
  color: var(--accent);
  font-size: 11px;
  line-height: 1;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--field-bg);
  color: var(--text);
  resize: vertical;
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a7abb5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contact-form select option { background: var(--surface); color: var(--text); }
.contact-form select option:disabled { color: var(--text-muted); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--field-bg);
}
.form-note {
  margin: 0;
  font-size: 13px;
  color: var(--accent);
  min-height: 18px;
}

/* Placeholder pages */
.placeholder-section { padding: 220px 0 160px; min-height: 60vh; }
.placeholder-note {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}
.placeholder-note a { color: var(--accent); }
.placeholder-note a:hover { text-decoration: underline; }

/* Career / Working principles */
.career-hero { padding-bottom: 0; }
.principles-section { padding-top: 56px; }
.principles-diagram {
  max-width: 480px;
  margin: 0 auto 64px;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.career-note { margin-top: 48px; }

.career-body { padding-top: 56px; }
.career-block { margin-bottom: 80px; }
.career-block-last { margin-bottom: 0; }
.subheading {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 28px;
}

.candidate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.benefit-block { margin-bottom: 28px; }
.benefit-block:last-child { margin-bottom: 0; }
.benefit-block h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.benefit-block p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  max-width: 680px;
}
.perks-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.perk-chip {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  background: var(--surface);
}

.position-list { border-top: 1px solid var(--border); }
.position-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.position-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.position-exp {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}
.position-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.position-jd-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s;
}
.position-jd-btn:hover { background: #ff7a2e; }

.process-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apply-form { max-width: 560px; }

/* JD pages */
.jd-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.jd-back:hover { color: var(--text); }
.jd-exp-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.jd-section { margin-bottom: 48px; }
.jd-section:last-of-type { margin-bottom: 40px; }
.jd-section h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.jd-section p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  max-width: 680px;
}
.jd-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 680px;
}
.jd-section li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 10px;
  padding-left: 18px;
  position: relative;
}
.jd-section li:first-child { margin-top: 0; }
.jd-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.contact-form input[type="file"] {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-secondary);
}
.contact-form input[type="file"]::file-selector-button {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--bg);
  background: var(--white);
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  margin-right: 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form input[type="file"]::file-selector-button:hover { background: var(--accent); }

/* Who we are */
.body-copy {
  max-width: 680px;
  margin: 0 0 72px;
}
.body-copy p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 20px;
}
.body-copy p:last-child { margin-bottom: 0; }

.team-label { margin-bottom: 24px; }
.team-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}
.team-card-featured {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: 28px;
  align-items: center;
}
.team-card-main { min-width: 0; }
.team-quote {
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.team-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px dashed var(--border-strong);
  background: var(--field-bg);
  margin-bottom: 20px;
  object-fit: cover;
}
img.team-photo { border-style: solid; border-color: var(--border); }
.team-card h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}
.team-role-inline {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}
.team-history {
  list-style: none;
  margin: 0;
  padding: 0;
}
.team-history li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.team-history li:first-child { margin-top: 0; }

/* Footer */
.site-footer {
  background: var(--bg);
  color: var(--text-muted);
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-inner p { margin: 0; font-size: 13px; }
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}
.footer-contact a:hover { color: var(--text-secondary); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero-graphic { display: none; }
}

@media (max-width: 720px) {
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--bg);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }

  .hero { padding: 150px 0 56px; }
  .section { padding: 72px 0 88px; }
  .career-hero { padding-bottom: 0; }
  .principles-section { padding-top: 24px; }
  .career-body { padding-top: 24px; }
  .career-block { margin-bottom: 56px; }
  .candidate-grid { grid-template-columns: 1fr; gap: 12px; }
  .position-row { flex-wrap: wrap; gap: 4px; }
  .about-lead { margin-bottom: 44px; }
  .about-values { grid-template-columns: 1fr; gap: 12px; }
  .principles-grid { grid-template-columns: 1fr; gap: 12px; }
  .principles-diagram { margin-bottom: 40px; }
  .body-copy { margin-bottom: 44px; }
  .team-card-featured { grid-template-columns: 1fr; gap: 20px; }
  .team-quote { padding-left: 0; padding-top: 20px; border-left: none; border-top: 1px solid var(--border); }
  .site-footer { padding-bottom: 100px; }
  .footer-contact { text-align: left; }
}

@media (max-width: 480px) {
  .client-badge { padding: 18px 28px; font-size: 16px; }
}
